debugging braider
This commit is contained in:
parent
a56e1310a0
commit
c5f50223c3
8
node_modules/rss-braider/lib/RssBraider.js
generated
vendored
8
node_modules/rss-braider/lib/RssBraider.js
generated
vendored
@ -146,9 +146,9 @@ RssBraider.prototype.processFeed = function(feed_name, format, callback)
|
||||
|
||||
// console.log('** Go for dedupe');
|
||||
console.log(source.feed_url);
|
||||
/*source_articles = self.dedupe(source_articles, self.dedupe_fields);*/
|
||||
source_articles = self.dedupe(source_articles, self.dedupe_fields);
|
||||
|
||||
source_articles = self.mdDedupe(source_articles, self.dedupe_fields);
|
||||
// source_articles = self.mdDedupe(source_articles, self.dedupe_fields);
|
||||
source_articles = self.date_sort(source_articles);
|
||||
source_articles = source_articles.slice(0, count);
|
||||
feed_articles = feed_articles.concat(source_articles);
|
||||
@ -172,9 +172,9 @@ RssBraider.prototype.processFeed = function(feed_name, format, callback)
|
||||
// Final Dedupe step and resort
|
||||
console.log('** ERR Go for dedupe');
|
||||
|
||||
// feed_articles = self.dedupe(feed_articles, self.dedupe_fields);
|
||||
feed_articles = self.dedupe(feed_articles, self.dedupe_fields);
|
||||
|
||||
feed_articles = self.mdDedupe(feed_articles, self.dedupe_fields);
|
||||
// feed_articles = self.mdDedupe(feed_articles, self.dedupe_fields);
|
||||
|
||||
feed_articles = self.date_sort(feed_articles);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user