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/",
"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",
},
]

View File

@ -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 : " "