(Saved back to the last good version, wiping out spam revisions)
Revision as of 00:40, 31 October 2008
You also need to put a URL-formatted (KEV) OpenURL context object in a global js variable called umlaut_openurl_kev_co.
You then specify mappings from Umlaut html sections to HTML divs on your page in global js variable called umlaut_section_map containing a hash. Umlaut html sections are configured in Umlaut in the "partial_html_map" configuration param, which by default is set to the "bg_update_map" config params :divs key. To see the sections in a default Umlaut installation, see: environment.rb in svn, look for bg_update_map. The :divs key of the hash there is an array of hashes, each individual hash has a :div_id key that corresponds to the html_sections id in this api response. For Umlaut developers, the :partial key tells you what Rails partial is used to generate this section.
The html loaded will sometimes include a "spinner" with a message "loading more", if the content is not yet loaded.
An example is best: