Skip to content

Commit

Permalink
Update rss feed
Browse files Browse the repository at this point in the history
  • Loading branch information
phocks committed Jul 23, 2020
1 parent 5872b14 commit bebd978
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 22 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"deno.enable": false
}
34 changes: 13 additions & 21 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ let options = {count: "true", newTab: "false"};

const getLatest = () => {
// Fetches latest story and sets it in global
fetch("https://newsy.glitch.me/api/rss")
// fetch("https://newsy.glitch.me/api/rss") // Glitch has started charging
fetch("http://feeds.feedburner.com/net/IzWm")
.then(res => res.text())
.then(text => {
const jsonObj = parser.parse(text);
Expand Down

0 comments on commit bebd978

Please sign in to comment.