Skip to content

Commit

Permalink
Tweak feeds to add their original url for favicon finding
Browse files Browse the repository at this point in the history
  • Loading branch information
Enrico B committed Aug 6, 2017
1 parent edcc73d commit c41e613
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/data/sources/beta-list.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const Feed = require('./feed');
const types = require('../types');

const BetaList = new Feed('http://feeds.feedburner.com/BetaList', types.BetaList);
const BetaList = new Feed('http://feeds.feedburner.com/BetaList', types.BetaList, 'https://betalist.com/');

module.exports = BetaList;
2 changes: 1 addition & 1 deletion src/data/sources/mac-rumors.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const Feed = require('./feed');
const types = require('../types');

const MacRumors = new Feed('http://feeds.macrumors.com/MacRumors-All', 'mac-rumors', types.MacRumors);
const MacRumors = new Feed('http://feeds.macrumors.com/MacRumors-All', types.MacRumors, 'http://macrumors.com');

module.exports = MacRumors;
10 changes: 6 additions & 4 deletions src/data/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,20 @@
based on these strings.
*/
module.exports = {
/* Feeds */
FiveThirtyEight: 'five-thirty-eight',
AVClub: 'av-club',
BetaList: 'beta-list',
// CoinMarketCap: 'coin-market-cap',
DesignerNews: 'designer-news',
HackerNews: 'hacker-news',
IndieHackers: 'indie-hackers',
MacRumors: 'mac-rumors',
ProductHunt: 'product-hunt',
Reddit: 'reddit',
Sidebar: 'sidebar',
TheOutline: 'the-outline',
// NewsAPI: 'news-api',
HackerNoon: 'hacker-noon',
/* APIs */
HackerNews: 'hacker-news',
// Reddit: 'reddit',
Sidebar: 'sidebar',
// NewsAPI: 'news-api',
};

0 comments on commit c41e613

Please sign in to comment.