]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Add global support for local added content files.
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 8 Dec 2009 20:35:06 +0000 (20:35 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 8 Dec 2009 20:35:06 +0000 (20:35 +0000)
commita3f7a9058ed51097d12dd526167aba156826eb40
treed0673309b1ad141e82745d58fb867e04eb0a7c2c
parent25b1cd2567fcba00fe99a2046815793c3880f0d8
Add global support for local added content files.

If files exist under (by default) /openils/var/web/opac/extras/ac/{type}/{format}/{key}
on the content server (the main server, unless a separate content server is configured),
these will be served in preference to remote added content.  The files here should contain
the same type of data that would be expected from a remote added-content engine, such as
images or html pages.

  * "type" is one of jacket, reviews, toc, excerpt or anotes
  * "format" is type dependent:
    - for jacket, one of small, medium or large
    - others, one of html, xml or json ... html is the default for non-image added content
  * "key" is the sanitized ISBN (any leading spaces are removed, then anything after the
    first space is removed)

git-svn-id: svn://svn.open-ils.org/ILS/trunk@15105 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/perlmods/OpenILS/WWW/AddedContent.pm