Content feeds

0 views
Skip to first unread message

Dan_A

unread,
Nov 23, 2009, 3:52:25 PM11/23/09
to Google Search Appliance/Google Mini - Google Search Appliance/Google Mini
No matter what I put for my meta tag "Title", the results returned
from the GSA always puts whatever I have in the "Description" tag for
both the <S> and <T> elements (the value in the <T> is a truncated
copy of the full value).

Ideally, I'd like to have the <T> tag set to whatever I have in the
"Title" meta tag. The GSA does return the "Title" tag but I'd rather
not have to make an exception in my code to force it to use that
instead of the default <T> tag contents. Is that possible?

Thanks,

Dan

<?xml version="1.0" encoding="UTF-16"?>
<!DOCTYPE gsafeed PUBLIC "-//Google//DTD GSA Feeds//EN" ""[]>
<gsafeed>
<header>
<datasource>Catalog</datasource>
<feedtype>full</feedtype>
</header>
<group>
<record url="http://www.mysite.com/filetoindex.htm" mimetype="text/
plain">
<metadata>
<meta name="Description" content="This is a test file" />
<meta name="Title" content="My Test File" />
</metadata>
<content>Test file to include in the GSA.</content>
</record>
</group>
</gsafeed>

brianb

unread,
Nov 26, 2009, 8:46:57 PM11/26/09
to Google Search Appliance/Google Mini - Google Search Appliance/Google Mini
The metatags you are using are kind of GSA specific metatags and not
necessarily recognized as the actual title but rather just a metatag
called "title". So what you would need to do is to put the html
<title> tag in the contents itself. For example:

<content><![CDATA[
<html>
<title>namaste</title>
<body>
Test file to include in the GSA.
</body>
</html>
]]></content>


The only way to use the metadata would be to make changes to your
frontend stylesheet to pick up the metatag rather than using the T
node for the Title. Some others have found how to do this in this
group if you are interested. Here is one example of how this would
work:

http://groups.google.com/group/Google-Search-Appliance-Help/browse_thread/thread/4c3191ec07934ad3/d68e46646645a79f?lnk=gst&q=title+xslt+meta+tag#d68e46646645a79f

Hope this helps.

Brian

Dan_A

unread,
Dec 1, 2009, 3:25:36 PM12/1/09
to Google Search Appliance/Google Mini - Google Search Appliance/Google Mini
Thanks, Brian!

On Nov 26, 7:46 pm, brianb <brianj...@gmail.com> wrote:
> The metatags you are using are kind of GSA specific metatags and not
> necessarily recognized as the actual title but rather just a metatag
> called "title". So what you would need to do is to put the html
> <title> tag in the contents itself. For example:
>
>     <content><![CDATA[
>       <html>
>         <title>namaste</title>
>         <body>
>           Test file to include in the GSA.
>         </body>
>       </html>
>     ]]></content>
>
> The only way to use the metadata would be to make changes to your
> frontend stylesheet to pick up the metatag rather than using the T
> node for the Title. Some others have found how to do this in this
> group if you are interested. Here is one example of how this would
> work:
>
> http://groups.google.com/group/Google-Search-Appliance-Help/browse_th...
> > </gsafeed>- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages