Cleaning up example code

This commit is contained in:
Kip Gebhardt 2015-01-30 16:23:51 -08:00
parent b6a31e84cc
commit e824c0e851
3 changed files with 2 additions and 4 deletions

View File

@ -14,14 +14,12 @@ var feed = {
"ev" : "http://purl.org/rss/2.0/modules/event/", "ev" : "http://purl.org/rss/2.0/modules/event/",
"sy" : "http://purl.org/rss/1.0/modules/syndication/", "sy" : "http://purl.org/rss/1.0/modules/syndication/",
"wfw" : "http://wellformedweb.org/CommentAPI/", "wfw" : "http://wellformedweb.org/CommentAPI/",
"kqed" : "http://www.kqed.org"
}, },
"sources" : [ "sources" : [
{ {
"name" : "file", "name" : "file",
"count" : 1, "count" : 1,
"file_path" : __dirname + "/filefeed.xml", "file_path" : __dirname + "/feed_source.xml",
"categories" : ['something can go here']
}, },
] ]

View File

@ -1,6 +1,6 @@
var RssBraider = require('../index'), var RssBraider = require('../index'),
feeds = {}; feeds = {};
feeds.filefeed = require("./filefeed").feed; feeds.filefeed = require("./config/feed").feed;
var braider_options = { var braider_options = {
feeds : feeds, feeds : feeds,
indent : " " indent : " "