Merge pull request #1 from jaalfaro/jaalfaro-patch-1

Add support for custom elements to the feed
This commit is contained in:
John Alfaro 2017-02-20 15:39:38 -05:00 committed by GitHub
commit 562c943818

View File

@ -159,6 +159,7 @@ RssBraider.prototype.processFeed = function(feed_name, format, callback)
copyright : feed.meta.copyright || null,
categories : feed.meta.categories || null,
custom_namespaces : feed.custom_namespaces || [],
custom_elements : feed.meta.custom_elements || [],
no_cdata_fields : feed.no_cdata_fields
};
@ -294,4 +295,4 @@ RssBraider.prototype.date_sort = function(articles_arr) {
return sorted_articles;
};
module.exports = RssBraider;
module.exports = RssBraider;