mirror of
https://gitlab.silvrtree.co.uk/martind2000/rss-braider.git
synced 2025-03-12 23:00:00 +00:00
Update README.md
This commit is contained in:
parent
ec0b1e8ad5
commit
16c5161b97
@ -67,7 +67,7 @@ rss_braider.processFeed('simple_test_feed', 'rss', function(err, data){
|
||||
## Plugins
|
||||
Plugins provide custom manipulation and filtering of RSS items/articles. See `examples/plugins` for examples.
|
||||
|
||||
A plugin operates by modifying the itemOptions object or by returning `null` which will exclude the `item` (article) from the resulting feed (See `examples/plugins/filter_out_all_articles.js`).
|
||||
A plugin operates by modifying the `itemOptions` object or by returning `null` which will exclude the `item` (article) from the resulting feed (See `examples/plugins/filter_out_all_articles.js`). The `itemsOptions` object passed to `node-rss` to generate the RSS feeds, so read the documentation on that module and its use of custom namespaces. (https://github.com/dylang/node-rss)
|
||||
|
||||
### Plugin Example
|
||||
This plugin will capitalize the article title for all articles
|
||||
@ -92,4 +92,4 @@ var feed = {
|
||||
"default_count" : 1,
|
||||
"plugins" : ['capitalize_title', 'plugin_template'],
|
||||
...
|
||||
```
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user