0.0.3 • Published 7 years ago
amphora-atom v0.0.3
Amphora-Atom
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.jsSetup process
Install
npm install --save amphora-atomThen pass the module into the Amphora as an item for the renderers object property:
amphora({
...
renderers: {
...
require('amphora-atom'),
...
},
...
})Use Case
The primary use case for this renderer is when you want to use component instances to generate ATOM feeds.
How To
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.
Run Tests
npm test