Adding a second news feed.



  • Hi folks:

    Complete newbie here.

    I am really weak on coding, but the other day I did manage to add a second feed on my bottom bar. It was nice, because they alternated every few seconds.

    I’ve used npm run config:check but am getting nowhere. I am currently running OK with the single news feed.
    Thanks in advance.

    Chris


  • Module Developer

    @ChrisEW

    {
    	disabled: false,
    		module: "newsfeed",
    		position: "bottom_bar",
    		config: {
    			updateInterval: 28 * 1000,
    			feeds: [
    				{
    					title: "New York Times",
    					url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
    				},
    				{
    					title: "ANOTHER NEWSFEED HERE - CHANGE THE URL BELOW",
    					url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
    				},
    				{
    					title: "ANOTHER NEWSFEED HERE - and so on and so forth",
    					url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
    				},
    				],
    				showSourceTitle: true,
    				showPublishDate: true
    			}
    		},
    


  • Thanks so much. A simple comma was missing, who knew?.


  • Module Developer

    @ChrisEW said in Adding a second news feed.:

    Thanks so much. A simple comma was missing, who knew?.

    You’re welcome.

    Those damned comma’s! :^)


 

328
Online

6.0k
Users

4.5k
Topics

37.1k
Posts