Hack Fest 2010

From Jon's Wiki
Revision as of 05:10, 23 July 2010 by Johnno (talk | contribs) (New page: == PHP Hackfest Cheat Sheet == === Mahara === * [http://gitorious.org/mahara/mahara Downloading Mahara] * [http://wiki.mahara.org/System_Administrator%27s_Guide/Installing_Mahara Install...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

PHP Hackfest Cheat Sheet

Mahara

Moodle

Koha Search

  1. Here's a Koha already set up we can use - http://opac.koha.workbuffer.org
  2. Koha uses an open standard from the US Library of Congress called SRU - Search/Retrieval by URL.
  3. Using the Z39.50 Explain protocol, we can "self-discover" the Koha catalog search interface.

http://opac.koha.workbuffer.org:9998/?version=1.1&operation=explain

This tells you that the db you want to query is biblios. So you can do something like this http://opac.koha.workbuffer.org:9998/biblios?version=1.1&operation=searchRetrieve&query=fish

Which will give you back the number of results: <zs:numberOfRecords>178</zs:numberOfRecords>

Then you can grab records 5 and 6, in Dublin Core, like this: http://opac.koha.workbuffer.org:9998/biblios?version=1.1&operation=searchRetrieve&query=fish&startRecord=5&maximumRecords=2&recordSchema=dc

Useful Links