rss-braider/examples/config/feed_with_plugins.js

27 lines
951 B
JavaScript
Raw Normal View History

2014-12-26 22:47:48 +00:00
var feed = {
"feed_name" : "test file feed",
"default_count" : 1,
"no_cdata_fields" : ['description'],
"plugins" : ['kqed', 'content_encoded', 'wfw_slash_comments', 'add_media_thumbnail'],
2014-12-26 22:47:48 +00:00
"meta" : {
"title": "Test File Feed",
"description": "This feed comes from a file",
// "url": "http://example.com/feed/",
},
'custom_namespaces' : {
"slash" : "http://purl.org/rss/1.0/modules/slash/",
"media" : "http://search.yahoo.com/mrss/",
"ev" : "http://purl.org/rss/2.0/modules/event/",
"sy" : "http://purl.org/rss/1.0/modules/syndication/",
"wfw" : "http://wellformedweb.org/CommentAPI/",
},
"sources" : [
{
"name" : "file",
"count" : 1,
2015-01-31 00:23:51 +00:00
"file_path" : __dirname + "/feed_source.xml",
2014-12-26 22:47:48 +00:00
},
]
};
exports.feed = feed;