Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hay/node-rsslib
RSS parser for node
https://github.com/hay/node-rsslib
Last synced: 28 days ago
JSON representation
RSS parser for node
- Host: GitHub
- URL: https://github.com/hay/node-rsslib
- Owner: hay
- License: mit
- Created: 2013-01-02T15:30:18.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2013-01-02T15:31:10.000Z (about 12 years ago)
- Last Synced: 2024-10-16T16:30:31.882Z (3 months ago)
- Language: JavaScript
- Size: 96.7 KB
- Stars: 0
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RSSLib - RSS Library Parser using NodeJS
This module parse content of RSS Feed and it can also obtain the html content.
## How to Install RSSLib
npm install rsslib
## How to Use RSSLib
There are two functions such as `getListRSS` and `getRSSContent`.
getListRSS(url, callback)
getRSSContent(url, content_key, removeContext, callback)
## Example
```javascript
var lib = require('rsslib');// Retrieve list of RSS
// the return result will in array which contain: title, link, description, pubDate, guid, authorvar url = 'http://rss.cnn.com/rss/edition_us.rss';
lib.getListRSS(url, function(result){
for(i=0;i