Views Datasource

allisterbeharry - May 21, 2008 - 02:15

Views Datasource is a set of plugins for Drupal Views for rendering node content in a number of shareable, reusable formats based on XML, JSON and XHTML. These formats allow content in a Drupal site to be easily used as data sources for Semantic Web clients and web mash-ups. Views Datasource plugins output content from node lists created in the Drupal Views interface in a variety of formats - XML data documents using schemas like OPML and Atom, RDF data documents using a vocabulary like FOAF, JSON data documents in a format like Exhibit JSON, and XHTML data documents using a microformat like hCard.

Views Datasource can be thought of as a userland complement to the work going on in the Services and RDF APIs as a site operator only needs to know Views to be able to create datasources in the different formats.

The project consists of 4 Views style plugins (and related row plugins):

  1. views_xml - Output as raw XML, OPML, and Atom;
  2. views_json - Output as Simile/Exhibit JSON, Canonical JSON, JSONP/JSON in script;
  3. views_rdf- Output as FOAF, SIOC, and DOAP;
  4. views_xhtml - Output as hCard, hCalendar, and Geo.

Plugins will be provided for both Views 2 (Drupal 6.x) and Views 1.x (Drupal 5.x).

The Views Datasource project is part of Drupal's participation in Google's Summer of Code 2008. The mentors are Gordon Heydon and Jonathan DeLaigle.

Releases

Official releasesDateSizeLinksStatus
6.x-1.0-alpha22008-Jul-0914.57 KBRecommended for 6.xThis is currently the recommended release for 6.x.
5.x-1.0-alpha22008-Jul-0952.9 KBRecommended for 5.xThis is currently the recommended release for 5.x.


 
 

Drupal is a registered trademark of Dries Buytaert.