mirror of
https://gitlab.silvrtree.co.uk/martind2000/rss-braider.git
synced 2025-02-11 07:39:15 +00:00
Add support for custom elements to the feed
This commit is contained in:
parent
7559702000
commit
4ed5924c8c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user