0.1.0 • Published 9 years ago

erdblock-rss v0.1.0

Weekly downloads
3
License
-
Repository
-
Last release
9 years ago

erdblock-rss

Description

Show the x newest RSS articles.

Config

NameDescriptionValues
urlURL to the RSS Feedhttp://www.faz.net/rss/aktuell/
titleTitle Of the Feed (Frontend use)FAZ
articlesNumber of articles to show3
linkLink to the Web Frontend'http://www.faz.net

Example

var rss = require("erdblock-rss")()
rss.locals.config.title.setValue("Alpha")
rss.locals.config.url.setValue("http://blog.janniklorenz.de/rss/")
rss.locals.config.link.setValue("http://www.example.com/a")
rss.locals.config.articles.setValue("3")
erdblock.addPlugin(rss)