Difference between revisions of "Hack Fest 2010"

From Jon's Wiki
Line 2: Line 2:
  
 
== Mahara Project ==
 
== Mahara Project ==
;PLAN: To integrate [http://identi.ca/ Identi.ca], the open-source "host-your-own" Twitter, into [http://mahara.org Mahara], an open source e-portfolio system.
+
 
 +
=== Plan ===
 +
 
 +
To integate [http://identi.ca/ Identi.ca], the open-source "host-your-own" Twitter, into [http://mahara.org Mahara], an open source e-portfolio system.
 +
 
 +
;First Step: A block to follow a twitter tag.
  
 
=== Useful Links ===
 
=== Useful Links ===
 +
 
* [http://gitorious.org/mahara/mahara Downloading Mahara]
 
* [http://gitorious.org/mahara/mahara Downloading Mahara]
 
* [http://wiki.mahara.org/System_Administrator%27s_Guide/Installing_Mahara Installing Mahara]
 
* [http://wiki.mahara.org/System_Administrator%27s_Guide/Installing_Mahara Installing Mahara]
Line 12: Line 18:
  
 
== Moodle Project ==
 
== Moodle Project ==
;PLAN: To get Moodle working with Koha.
+
 
 +
=== Plan ===
 +
 
 +
To get Moodle working with Koha.
 +
 
 
;First Step: Let's start by extending the Moodle [http://cvs.moodle.org/contrib/plugins/blocks/extsearch/ External Search block] to query a Koha library system and display the returned records of Koha books.
 
;First Step: Let's start by extending the Moodle [http://cvs.moodle.org/contrib/plugins/blocks/extsearch/ External Search block] to query a Koha library system and display the returned records of Koha books.
  
 
=== Koha Search ===
 
=== Koha Search ===
 +
 
# Here's a Koha already set up we can use - no Koha set up required (phew!):
 
# Here's a Koha already set up we can use - no Koha set up required (phew!):
 
#* http://opac.koha.workbuffer.org:9998/
 
#* http://opac.koha.workbuffer.org:9998/
Line 29: Line 40:
  
 
=== Useful Links ===
 
=== Useful Links ===
 +
 
* [http://git.moodle.org/gw?p=moodle.git;a=summary Downloading Moodle]
 
* [http://git.moodle.org/gw?p=moodle.git;a=summary Downloading Moodle]
 
* [http://docs.moodle.org/en/Administrator_documentation Installing Moodle]
 
* [http://docs.moodle.org/en/Administrator_documentation Installing Moodle]

Revision as of 05:32, 23 July 2010

PHP Hackfest Cheat Sheet

Mahara Project

Plan

To integate Identi.ca, the open-source "host-your-own" Twitter, into Mahara, an open source e-portfolio system.

First Step
A block to follow a twitter tag.

Useful Links

Moodle Project

Plan

To get Moodle working with Koha.

First Step
Let's start by extending the Moodle External Search block to query a Koha library system and display the returned records of Koha books.

Koha Search

  1. Here's a Koha already set up we can use - no Koha set up required (phew!):
  2. Koha uses an open standard from the 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:
  4. by parsing the XML response, we can use the <database> element (in this case, "biblios") to construct a search URL:
  5. which will return the number of results:
    • <zs:numberOfRecords>178</zs:numberOfRecords>
  6. Then we can grab (e.g.) records 5 and 6, in Dublin Core, like this:

Useful Links