]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Add support to BibTemplate for arbitrary XML chunks (DOM node) via the "xml" construc...
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 19 Aug 2010 15:51:06 +0000 (15:51 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 19 Aug 2010 15:51:06 +0000 (15:51 +0000)
commit6303028e490e7e8c2d5624bc9d99684615af3a1b
treeb049999e75d5eabd3db52bce4a904f4d70ffcb09
parent3e8d5afee90edf69df8da2faa7280dacdf97e41f
Add support to BibTemplate for arbitrary XML chunks (DOM node) via the "xml" constructure param, which disables automatic format-specific fetching.

Add a new module, openils.FeedTemplate which, given:

 * an xml feed (URI or pre-collected DOM node)
 * a dojo.query to pull out items from the feed
 * the DOM node of a template to clone for each item
 * the target DOM node into which it should shove the item-filled template instances

will render a feed of arbitrary xml for you.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17266 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/web/js/dojo/openils/BibTemplate.js