kohabug 2078 - fix feed validation errors
authorGalen Charlton <galen.charlton@liblime.com>
Mon, 2 Jun 2008 02:43:31 +0000 (21:43 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Mon, 2 Jun 2008 05:51:10 +0000 (00:51 -0500)
commitd177975239506044f8df19191f2e479b2ac2b7a2
tree84b792b82443fd95dc1a24cac85e7b91d6ffd961
parent5e5ce6b7f9aa188209b0d9f6fd3b4f6e14d490cb
kohabug 2078 - fix feed validation errors

Fix several validation errors in RSS and Atom feeds
generated from the OPAC:

- add missing guid to RSS elements
- add missing feed ID and element ID to Atom elements
- reflect OPACBaseURL changes
- fix atom:link self links
- add HTML escaping to fields comming from bib record
- set default timestamp for Atom updated elements

Issues identified but not solved in this patch:

- setting Atom updated element for each bib (presumably
  from biblio.timestamp)
- possible problems performing paging of Atom feed

Based on successful validation of feeds by feedvalidatory.org,
it is expected that feeds should now work in IE7 and IE6.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
koha-tmpl/opac-tmpl/prog/en/modules/opac-opensearch.tmpl
opac/opac-search.pl