Read the statement by Michael Teeuw here.
News Feed - NPR
-
Has anyone found a news feed for NPR?
-
@earnestrichards maybe a Google search?
-
I had found this one - http://www.npr.org/rss/rss.php?id=1001 - but it crashes the config file.
Any feed that ends in .php does the same.
It may be that I just don’t understand how these things work and need to learn and read more.
-
@earnestrichards said in News Feed - NPR:
put that into a browser, it returns the feed in xml
as for config{ module: "newsfeed", position: "bottom_bar", config: { feeds: [ { title: "NPR feed", url: "http://www.npr.org/rss/rss.php?id=1001" } ], showSourceTitle: true, showPublishDate: true, broadcastNewsFeeds: true, broadcastNewsUpdates: true } }, -
Grrrr… still no luck…
Here’s the snippet from my config.js:
module: "newsfeed", position: "bottom_bar", config: { feeds: [ { title: "New York Times", url: "https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml" }, { title: "CNN", url: "http://rss.cnn.com/rss/cnn_topstories.rss" }, // { // title: "NPR" // url: "https://feeds.npr.org/1001/rss.xml" // }, // { // title: "Houston Chronicle" // url: "https://www.chron.com/rss/feed/Houston-and-Texas-272.php" // }, ], showSourceTitle: true, showPublishDate: true, broadcastNewsFeeds: true, broadcastNewsUpdates: true } }, -
@earnestrichards u have it commented out? // is comment , rest of line ignored
// { // title: "NPR" // url: "https://feeds.npr.org/1001/rss.xml" // }, -
yes… I had it uncommented and then the crash…
-
in the commented out section, u are missing a continuation
// { // title: "NPR" < ----- missing comma , // url: "https://feeds.npr.org/1001/rss.xml" // }, -
@sdetweil You’re a freaking genius. Thanks. It’s always something ‘silly’ like that… earlier I had a misplaced “{”
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login