| 1 |
$Id: $
|
| 2 |
|
| 3 |
Views Datasource README
|
| 4 |
---------------------------------------
|
| 5 |
|
| 6 |
Current Version
|
| 7 |
---------------
|
| 8 |
6.x-0.1-dev
|
| 9 |
|
| 10 |
Release Notes
|
| 11 |
-------------
|
| 12 |
CVS module created and intial code uploaded to repository. This is a
|
| 13 |
proof-of-concept release with a working views_json plugin for Drupal 6. In the
|
| 14 |
Views interface simply select the view style as JSON data document (Exhibit
|
| 15 |
format only) and the row style as Unformatted (separator must be |). Because the
|
| 16 |
template changes the page Content-type to text/javascript and immediately exits
|
| 17 |
Drupal, the live preview will throw an error. This can be ignored; just save
|
| 18 |
your view as a page and view it normally at the URL to get the JSON output.
|
| 19 |
|
| 20 |
About
|
| 21 |
-----
|
| 22 |
Views Datasource is a set of plugins for Views for rendering node content in a
|
| 23 |
set of shareable, reusable data formats based on XML, JSON, and XHTML. These
|
| 24 |
formats allow content in a Drupal site to be easily used as data sources for
|
| 25 |
Semantic Web clients and web mash-ups. Views Datasource plugins output content
|
| 26 |
from node lists created in Drupal Views as:
|
| 27 |
1)XML data documents using schemas like OPML and Atom;
|
| 28 |
2)RDF/XML and RDF/N3 data documents using a vocabulary like FOAF;
|
| 29 |
3)JSON data documents in a format like MIT Simile/Exhibit JSON;
|
| 30 |
4)XHTML data documents using a microformat like hCard
|
| 31 |
|
| 32 |
The project consists of 4 Views style plugins (and related row plugins):
|
| 33 |
1)views_xml - Output as raw XML, OPML, and Atom;
|
| 34 |
2)views_json - Output as Simile/Exhibit JSON, canonical JSON, JSONP;
|
| 35 |
3)views_rdf - Output as FOAF, SIOC and DOAP;
|
| 36 |
4)views_xhtml - Output as hCard, hCalendar, and Geo.
|