peertube-listener-rss/README.md

28 lines
1.1 KiB
Markdown
Raw Normal View History

2021-03-23 18:22:15 +01:00
# peertube-listener-rss
2021-03-28 22:50:13 +02:00
An easy way to configure and manage a listener with the peertube rss service.
## Doc
### constructor(adrInstance, idChaine ,timeloop? ,lastEntriesLinks?)
#### adrInstance : string
This is the url pointing to the desired instance. For exemple if your rss feed as a link like : `https://skeptikon.fr/feeds/videos.xml?videoChannelId=3704` the adrInstance should be `skeptikon.fr` .
#### idChaine : string
This is the channel ID of the target peertube channel.
#### timeloop : number [optional]
This is the time in seconds who's wait beetween each updates. (default 300).
#### lastEntriesLinks : string[] [optional]
This is an easy way to set the historical and manage the newEntries event.
### More infos
This is an specification of the [listener-rss package](https://zeteo.me/gitea/Outils-PeerTube/listener-rss). So we'are provide a custom constructor to create a listener with just the channel ID and the adress instance. To have some others infos and features let's check this repository : https://zeteo.me/gitea/Outils-PeerTube/listener-rss .