Topic: Search for an event / person
Topic type:
I know we can refine searches by event / person / date etc. Is there a way I can create the html that replicates such a search so that I create links that list all event entires or person entries etc?
Walter McGinnis
said Re: Search for an event / person
For every search result page there is a URL. For example, here's the URL for a search of your contributions with the word "removing":
http://old.kete.net.nz/en/site/search/topics/contributed_by/user/282-clayjars/for/removing?search_terms=removing
For every result page, there are two RSS version of the results that are "machine readable", meaning they give only the result entries in a data format, without the wrapping HTML:
http://old.kete.net.nz/en/site/search/combined/contributed_by/user/282-clayjars/for/removing/rss.xml?search_terms=removing
The two versions are limited by type, say only "Topics", or all types combined (Topics, Images, Audio, etc. combined in one feed) as above.
There tools to embed these results derived from RSS in HTML pages, both in Kete (basket preferences > Homepage Options > RSS or Atom Feeds) and out of Kete. The require varying degrees of sophistication.
If you use a third party tool, say something that uses Yahoo Pipes, you embed that in any item's description (or basket preferencs > Appearance > Additional Footer Content or basket preferences > Homepage Options > Sidebar content after search) using the HTML button in the rich text editor>, but you likely need to check the box for "Allow forms and other insecure elements...". Otherwise it will interpretted as a security threat and be stripped out.
Note: that I have seen bugginess with basket preferences > Homepage Options > RSS or Atom Feeds when linking RSS feeds on the same Kete site, but it may be better now.
Tags: search, RSS, embed, search results