List Info

Thread: Re: Newbie Basic OneBox issues




Re: Newbie Basic OneBox issues
country flaguser name
United States
2007-07-19 11:35:22
Thor - thanks much, that's what it needed - I
appreciate the help!

Best,
Nick

--- Thor <thor.mitchellgmail.com> wrote:

> 
> That suggests that your XSLT stylesheet does not
> have the necessary
> code to support OneBox, possibly because it predates
> the OneBox
> feature and was not modified when the software was
> updated. The
> modifications you need are detailed in this
> document:
> 
>
https://support.google.co
m/enterprise/doc/gsa/update_inst/update_stylesheet_464G44.ht
ml
> 
> Thor.
> 
> On Jul 19, 4:13 pm, Nick Kraska
> <nick92...yahoo.com> wrote:
> > Yes I do - that seems promising. What does that
> tell
> > us?
> >
> > Thanks for the response!
> >
> >
> >
> > --- Thor <thor.mitch...gmail.com> wrote:
> >
> > > If you perform a search which appears to
trigger
> the
> > > OneBox according
> > > to the log, and you then repeat the same
search
> but
> > > remove the
> > > proxystylesheet parameter from the search
URL,
> do
> > > you see the
> > > ENTOBRESULTS element in the XML output?
> >
> > > Thor.
> >
> > > On Jul 18, 10:35 pm, Nick <nick92...yahoo.com>
> > > wrote:
> > > > Hi all-
> >
> > > > I've created my first OneBox and it
doesn't
> appear
> > > to be working
> > > > properly - even though as far as I can
tell,
> I've
> > > followed the
> > > > documentation
> >
> >
>
here:http://code.google.com/apis/searchapplia
nce/documentation/46/oneboxgu...
> >
> >
> >
> >
> >
> > > > What I'm looking to do is mimic the
Google
> books
> > > results on our GSA,
> > > > finding internal publications and
grouping at
> the
> > > top with an icon.
> > > > Here's what I have so far:
> >
> > > > The OneBox is using an internal provider
and
> runs
> > > off the collection
> > > > already set up and running. All the
> customization
> > > I've done has been
> > > > in the Enterprise Controller.  When I
view the
> > > log, it appears to be
> > > > showing results in the subcollection, as
shown
> > > here:
> >
> > > > [18/Jul/2007:16:16:13] 1184793373.34
> > > Query [vibration]
> > > > [Books] Num results [3]
> > > > [18/Jul/2007:16:16:23] 1184793383.40
> > > Query [staff]
> > > > [Books] Num results [3]
> > > > [18/Jul/2007:16:23:05] 1184793785.04
> > > Query [steel fiber]
> > > > [Books] Num results [3]
> >
> > > > But when I try and view the results live
with
> the
> > > rest of my GSA
> > > > results I get nothing special in the
onebox
> area.
> >
> > > > Any advice or insight would be much
> appreciated.
> >
> > > > Thanks!
> > > > Nick
> >
> > > > Here is the export of the Module:
> >
> > > >   <?xml version="1.0"
encoding="UTF-8" ?>
> > > > - <onebox
> > > xmlnssl=&q
uot;http://www
.w3.org/1999/XSL/Transform"
> > > id="Books"
> > > > suppressDateTime="false"
> suppressIPAddr="false"
> > > suppressKeyword="true"
> > > > type="internal">
> > > >   <name>Books</name>
> > > >   <security userAuth="none"
/>
> > > >   <description>Should show results
from the
> > > bookstore with icon.</
> > > > description>
> > > >   <trigger
triggerType="null" />
> > > >  
<collection>Books</collection>
> > > > - <resultsTemplate>
> > > > - <xsl:template
name="onebox-default">
> > > > - <a>
> > > > - <xsl:attribute
name="href">
> > > >   <xsl:value-of
select="title/urlLink" />
> > > >   </xsl:attribute>
> > > > - <b>
> > > >   <xsl:value-of
select="title/urlText" />
> > > >   </b>
> > > >   </a>
> > > > - <tr>
> > > > - <!--
> > > >  is a linefeed. It's just for
readability of
> the
> > > HTML
> > > > output
> > > >         (otherwise, everything is on
one
> line!)
> >
> > > >   -->
> > > > - <td colspan="2">
> > > > - <!--  output the image for this
onebox, if
> any
> > > >   -->
> > > > - <!--  NOTE: test for existence,
don't output
> if
> > > none
> > > >   -->
> > > > - <xsl:if
test="IMAGE_SOURCE">
> > > > - <img>
> > > > - <xsl:attribute
name="src">
> > > >   <xsl:value-of
select="IMAGE_SOURCE" />
> > > >   </xsl:attribute>
> > > >   </img>
> > > >   </xsl:if>
> > > >   </td>
> > > >   </tr>
> > > > - <xsl:for-each
> > >
select="MODULE_RESULT[position()<=3]">
> > > > - <tr>
> > > > - <font size="-1">
> > > > - <xsl:if test="U">
> > > > - <td>
> > > > - <a>
> > > > - <xsl:attribute
name="href">
> > > >   <xsl:value-of select="U"
/>
> > > >   </xsl:attribute>
> > > > - <xsl:choose>
> > > > - <xsl:when
test="Title">
> > > >   <xsl:value-of
select="Title" />
> > > >   </xsl:when>
> > > > - <xsl:otherwise>
> > > >   <xsl:value-of select="U"
/>
> > > >   </xsl:otherwise>
> > > >   </xsl:choose>
> > > >   </a>
> > > >   </td>
> > > >   </xsl:if>
> > > > - <xsl:for-each
select="Field">
> > > > - <td>
> > > > - <xsl:if test="name">
> > > > - <b>
> > > >   <xsl:value-of select="name" />
> > > >   :
> > > >   </b>
> > > >   </xsl:if>
> > > >   <xsl:value-of select="."
/>
> > > >   </td>
> > > >   </xsl:for-each>
> > > >   </font>
> > > >   </tr>
> > > >   </xsl:for-each>
> > > >   </xsl:template>
> > > >   </resultsTemplate>
> > > >   </onebox>
> >
> >
>
____________________________________________________________
________________________
> > Expecting? Get great news right away with email
> Auto-Check.
> > Try the Yahoo! Mail
>
Beta.http://advision.webevents.yahoo.com/mailbeta/newm
ail_tools.html
> 
> 
>
--~--~---------~--~----~------------~-------~--~----~
> 
=== message truncated ===



     
____________________________________________________________
________________________
Park yourself in front of a world of choices in alternative
vehicles. Visit the Yahoo! Auto Green Center.
http://autos.yah
oo.com/green_center/ 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Google Search Appliance" group.
To post to this group, send email to
Google-Search-Appliancegooglegroups.com
To unsubscribe from this group, send email to
Google-Search-Appliance-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/Google-Search-Applian
ce?hl=en
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )