Grav plugin that adds support for json xml and yaml response formats
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CHANGELOG.md Support working for json xml and yaml return formats May 5, 2016
LICENSE
README.md
blueprints.yaml
page-as-data.php Support working for json xml and yaml return formats May 5, 2016
page-as-data.yaml initial commit after fork from grav-plugin-pages-json project May 5, 2016

README.md

Grav Pages as Data

The Grav Pages as Data for Grav provides a very basic way for APIs to return data from grav as json xml or yml.

Installation

Download and unpack a zip (or clone this repository) into the user/plugins directory of your project

Usage

Try to load any page in Grav then add one of the following: ?return-as=json ?return-as=xml ?return-as=yml