PDA

View Full Version : Styling PDF links



b_darren
03-08-2009, 11:22 PM
Hi Zoom Searchers,

One nice useabilty feature I would like to use on our site is to style links that open pdfs (or other non html documents) on my results pages from a zoom search.

To hightlight PDFs + Docs via css I found this article on 45 Berea st (http://www.456bereastreet.com/archive/200812/reveal_new_window_links_and_links_to_non-html_files_with_a_user_stylesheet/).

As Zoom search results pages create links with query strings added e.g "?zoom_highlight=" the above method will not work.

Is there a way around this? Can I turn off the generated query string links somehow?

Many thanks in advance.

b_darren
03-08-2009, 11:31 PM
Wow just found how to Associate icon images with a file type.

Fantastic, Zoom search engine has it all!

Ray
03-09-2009, 12:34 AM
As Zoom search results pages create links with query strings added e.g "?zoom_highlight=" the above method will not work.

Is there a way around this? Can I turn off the generated query string links somehow?

The "zoom_highlight=" parameter is only added to result links if you have "Jump to match and highlight within document" enabled under "Configure"->"Results Layout". Unchecking this option (and re-indexing) will disable this behaviour.

PDF files have a similar option which adds "#search=" for Acrobat Reader to highlight words. This is under "Configure"->"Scan options", double click on ".pdf" and uncheck "Highlight and locate matched words within PDF document viewer".


Wow just found how to Associate icon images with a file type.

Fantastic, Zoom search engine has it all!

Glad to hear it. I hope that means you found what you're looking for.

For others looking to do something similar, here's the support page:
http://www.wrensoft.com/zoom/support/faq_plugins_image_layout.html