How can i view the metatags using the default google UI

6 views
Skip to first unread message

prince thomas

unread,
Feb 8, 2012, 11:42:22 AM2/8/12
to Google Search Appliance/Google Mini - Google Search Appliance/Google Mini, princu...@gmail.com
Hi,

Is it possible to view the MetaTags directly from the google UI?

Right now i am using a customised UI and passing the required
parameters to get the results. In an instance where i know the direct
path to the document, is it possible to pass it into a GSA specific
query string parameter and view the Metatags?

I know about "getfields=* " to be passed in the URL to get the Meta
tags. This i am doing in my customised UI. But what i need is a way
to view XML result and the metatags direcly from the default GSA UI.

Thanks in advance for the help. Please let me know if any further
details required.

Terry Chambers

unread,
Feb 8, 2012, 3:40:53 PM2/8/12
to google-search-...@googlegroups.com
To view the meta tags you must include the &getfields=* value, as you note, but then you need to change &output=xml_no_dtd to simply &output=xml and then you need to remove the value &proxystylesheet=default_frontend (or whatever your value is here).  This will display your results in XML and you will be able to see the meta tag values.


Terry Chambers
Senior Systems Engineer
Onix Networking Corp.
http://www.onixnet.com






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


Michael Cizmar

unread,
Feb 8, 2012, 10:59:34 PM2/8/12
to Google-Search-...@googlegroups.com, google-search-...@googlegroups.com
There is also a show meta tags parameter in the stylesheet that will output the MT tags by default.

Michael

prince thomas

unread,
Feb 8, 2012, 11:51:32 PM2/8/12
to Google Search Appliance/Google Mini - Google Search Appliance/Google Mini
Hi Terry,

Thanks for your response !!


My search criteria here is the full path to the document.

For Eg. http://store.test.ca/Sites/Payable related/test.msg

Though the path is valid and document is Indexed in GSA, its not
returning any result. I tried passing the same with "q" parameter. "/
search?q=http://store.mac.ca/Sites/Payable_ related/10_oct/
test.msg&getfields=*&output=xml&site=test.

do i need to double URL encode special characters (/,.,:) it before
passing it with q parameter?


Prince

Dave Watts

unread,
Feb 9, 2012, 10:30:30 AM2/9/12
to google-search-...@googlegroups.com
> My search criteria here is the full path to the document.
>
> For Eg.  http://store.test.ca/Sites/Payable related/test.msg

Is that a single URL? If so, why is there a space in it? URLs aren't
supposed to have spaces.

> Though the path is valid and document is Indexed in GSA, its not
> returning any result.  I tried passing the same with "q" parameter. "/
> search?q=http://store.mac.ca/Sites/Payable_ related/10_oct/
> test.msg&getfields=*&output=xml&site=test.

If you specifically want to search for a URL or part of a URL, you
should use the inurl query operator:

inurl:http://store.mac.ca/...

> do i need to double URL encode special characters (/,.,:) it before
> passing it with q parameter?

If you're filling out the form on the search appliance, you generally
don't have to encode anything, just type in your search. In this case,
though, you might have a problem with the inurl operator, which will
assume that the space is the end of the URL. Honestly, I've never
tried to work around that, because URLs aren't supposed to have spaces
in the first place. So, I don't know if this will work, but you might
try single-encoding this in your search form:

inurl:http://store.mac.ca/Sites/Payable%20related/10_oct/test.msg

If you're sending the query directly to the appliance using the
location bar of your browser, or some other HTTP client, you will need
to double-encode everything.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

prince thomas

unread,
Feb 23, 2012, 6:03:40 AM2/23/12
to Google Search Appliance/Google Mini - Google Search Appliance/Google Mini
Thank you Dave !!
> Dave Watts, CTO, Fig Leaf Softwarehttp://www.figleaf.com/http://training.figleaf.com/

Dave Watts

unread,
Feb 23, 2012, 6:15:20 AM2/23/12
to google-search-...@googlegroups.com
> Thank you Dave !!

You're welcome!

Reply all
Reply to author
Forward
0 new messages