Module Monday: Views Datasource

Module Monday: Views Datasource



By admin
Building web services and exposing APIs to access your site’s content is the new hotness of site building. The work of actually building the custom information feeds that drive those cool features can be daunting, however. Enter the Views Datasource module: it allows you to output content lists built with the Views module in a wide variety of standard web formats.
Screenshot of administration screen
Setting up Views Datasource is straightforward; create a normal field-based view, then set up a Page display for it and choose one of the Views Datasource output styles. It can create feeds in RDF, XML, and JSON formats and supports a number of common variants of those types like FOAF, OPML, SIOC, hCard, hCalendar, and more. Once you’ve chosen an output style, you can tweak a variety of settings exclusive to the format: escaping policies for rich text, header and footer data, and so on.

Leave a Reply

Your email address will not be published.