Difference between revisions of "Hack Fest 2010"

From Jon's Wiki
Line 1: Line 1:
 
== PHP Hackfest Cheat Sheet ==
 
== PHP Hackfest Cheat Sheet ==
  
=== Mahara ===
+
== 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.
  
 +
=== 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]
 
* [http://wiki.mahara.org/Developer_Area/Coding_guidelines Mahara Coding Guidelines]
 
* [http://wiki.mahara.org/Developer_Area/Coding_guidelines Mahara Coding Guidelines]
  
=== Moodle ===
+
* [http://dev.twitter.com/doc Twitter API]
* [http://git.moodle.org/gw?p=moodle.git;a=summary Downloading Moodle]
+
 
* [http://docs.moodle.org/en/Administrator_documentation Installing Moodle]
+
== Moodle Project ==
* [http://docs.moodle.org/en/Development:Coding_style Moodle Coding Guidelines]
+
;PLAN: To get Moodle working with Koha.
 +
;First Step: Let's start with a simple Moodle search block which can query a Koha library system and display records of Koha books.
  
== Koha Search ==
+
=== Koha Search ===
 
# Here's a Koha already set up we can use - http://opac.koha.workbuffer.org:9998/
 
# 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.
Line 25: Line 28:
  
 
=== Useful Links ===
 
=== Useful Links ===
* [http://dev.twitter.com/doc Twitter API]
+
* [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/Development:Coding_style Moodle Coding Guidelines]
 +
 
 
* [http://cvs.moodle.org/contrib/plugins/blocks/extsearch/ Moodle External Search block]
 
* [http://cvs.moodle.org/contrib/plugins/blocks/extsearch/ Moodle External Search block]
 
* [http://koha-community.org/ Koha Integrated Library System]
 
* [http://koha-community.org/ Koha Integrated Library System]

Revision as of 05:20, 23 July 2010

PHP Hackfest Cheat Sheet

Mahara Project

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

Useful Links

Moodle Project

PLAN
To get Moodle working with Koha.
First Step
Let's start with a simple Moodle search block which can query a Koha library system and display records of Koha books.

Koha Search

  1. Here's a Koha already set up we can use - http://opac.koha.workbuffer.org:9998/
  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, by parsing the XML returned from
  4. using the <database> element, we can 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