mirror of
https://gitlab.silvrtree.co.uk/martind2000/rss-braider.git
synced 2025-02-10 20:19:16 +00:00
Cleaning up example code
This commit is contained in:
parent
b6a31e84cc
commit
e824c0e851
@ -14,14 +14,12 @@ var feed = {
|
||||
"ev" : "http://purl.org/rss/2.0/modules/event/",
|
||||
"sy" : "http://purl.org/rss/1.0/modules/syndication/",
|
||||
"wfw" : "http://wellformedweb.org/CommentAPI/",
|
||||
"kqed" : "http://www.kqed.org"
|
||||
},
|
||||
"sources" : [
|
||||
{
|
||||
"name" : "file",
|
||||
"count" : 1,
|
||||
"file_path" : __dirname + "/filefeed.xml",
|
||||
"categories" : ['something can go here']
|
||||
"file_path" : __dirname + "/feed_source.xml",
|
||||
},
|
||||
|
||||
]
|
@ -1,6 +1,6 @@
|
||||
var RssBraider = require('../index'),
|
||||
feeds = {};
|
||||
feeds.filefeed = require("./filefeed").feed;
|
||||
feeds.filefeed = require("./config/feed").feed;
|
||||
var braider_options = {
|
||||
feeds : feeds,
|
||||
indent : " "
|
Loading…
Reference in New Issue
Block a user