awocallaghan / node-rss-combiner Goto Github PK
View Code? Open in Web Editor NEWCombine RSS feeds
Combine RSS feeds
Could this:
const feedConfig = { title: 'Tech news from Guardian and BBC', size: 20, feeds: [ 'http://feeds.bbci.co.uk/news/technology/rss.xml', 'https://www.theguardian.com/uk/technology/rss', ],
be changed to this:
const feedConfig = { size: 20, feeds: [ title: 'This news','http://feeds.bbci.co.uk/news/technology/rss.xml', title: 'That news','https://www.theguardian.com/uk/technology/rss', ],
I only ask because I'm more interested in using this in a news ticker so that the title could be the 'source' of the item :)
If not possible that's ok too!!
Thank you!
All of the feeds you used in your examples work fine, but on line 73 of index.js, you set description to be thisEntry.title instead of thisEntry.description. Simply changing that one line fixes the merging of various feeds, try for example merging the feeds ['https://myanimelist.net/rss.php?type=rw&u=PanDoes','https://www.theguardian.com/uk/technology/rss'] The ones from the first feed will have the title set as the description in the newly create feed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.