arquillian/arquillian.github.com — pull request #10 by aslakknutsen (2011-10-14 11:24:06+00:00)
Title: Add Lanyrd extension with session Search support

Takes a search term as the initializer argument

extension Awestruct::Extensions::Lanyrd::Search.new('arquillian')

The extension does the following:

* Search for the specified term
* Parse result for Pagination and fetch paged results
* Parse all pages for Sessions and fetch Session details

Exposes a Array of OpenStruct objects under site.sessions, each object containing the following properties:

* title -> String

* description -> HTML String
* * Abstract from session detail page

* detail_url -> Full URL String
* * Sessions detail page at Lanyrd

* start_time -> Time
* * Sessions start date and time as Time Object

* end_time -> Time
* * Sessions end date and time as Time Object

* raw_time -> String
* * Unparsed date string

* event -> String
* * Conference name

* event_url -> full URL String
* * Events detail page at Lanyrd

* speakers -> Array of Strings
* * Speakers full name