Difference between revisions of "Hack Fest 2010"
From Jon's Wiki
(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...) |
|||
Line 13: | Line 13: | ||
== Koha Search == | == Koha Search == | ||
− | # Here's a Koha already set up we can use - http://opac.koha.workbuffer.org | + | # Here's a Koha already set up we can use - http://opac.koha.workbuffer.org:9998/ |
# Koha uses an open standard from the US [http://loc.gov Library of Congress] called [http://www.loc.gov/standards/sru/ SRU] - Search/Retrieval by URL. | # Koha uses an open standard from the US [http://loc.gov Library of Congress] called [http://www.loc.gov/standards/sru/ SRU] - Search/Retrieval by URL. | ||
− | # Using the [http://www.loc.gov/z3950/agency/ Z39.50] [http://explain.z3950.org/ Explain] protocol, we can "self-discover" the Koha catalog search interface | + | # Using the [http://www.loc.gov/z3950/agency/ Z39.50] [http://explain.z3950.org/ Explain] protocol, we can "self-discover" the Koha catalog search interface, by parsing the XML returned from |
− | + | #* http://opac.koha.workbuffer.org:9998/?version=1.1&operation=explain | |
− | http://opac.koha.workbuffer.org:9998/?version=1.1&operation=explain | + | # using the <database> element, we can construct a search URL: |
− | + | #* http://opac.koha.workbuffer.org:9998/biblios?version=1.1&operation=searchRetrieve&query=fish | |
− | + | #which will return the number of results: | |
− | http://opac.koha.workbuffer.org:9998/biblios?version=1.1&operation=searchRetrieve&query=fish | + | #* <zs:numberOfRecords>178</zs:numberOfRecords> |
− | + | # Then we can grab (e.g.) 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 | |
− | |||
− | Then | ||
− | http://opac.koha.workbuffer.org:9998/biblios?version=1.1&operation=searchRetrieve&query=fish&startRecord=5&maximumRecords=2&recordSchema=dc | ||
=== Useful Links === | === Useful Links === |
Revision as of 05:14, 23 July 2010
PHP Hackfest Cheat Sheet
Mahara
Moodle
Koha Search
- Here's a Koha already set up we can use - http://opac.koha.workbuffer.org:9998/
- Koha uses an open standard from the US Library of Congress called SRU - Search/Retrieval by URL.
- Using the Z39.50 Explain protocol, we can "self-discover" the Koha catalog search interface, by parsing the XML returned from
- using the <database> element, we can construct a search URL:
- which will return the number of results:
- <zs:numberOfRecords>178</zs:numberOfRecords>
- Then we can grab (e.g.) records 5 and 6, in Dublin Core, like this: