A XML+ATOM renderer for feeds components.
.
├── README.md <-- This instructions file
├── lib
| ├── log.js <-- Initialize logger
|
├── test
| ├── index.js <-- Setup test
|
├── index.js <-- File that manage the data into XML+ATOM format
├── index.test.js <-- Test file for index.js
npm install --save amphora-atom
Then pass the module into the Amphora as an item for the renderers
object property:
amphora({
...
renderers: {
...
require('amphora-atom'),
...
},
...
})
The primary use case for this renderer is when you want to use component instances to generate ATOM feeds.
This renderer is highly dependent on the component API provided by Amphora and therefore relies on a component that can generate a feed of documents to be passed off to the renderer.
npm test