apply changes from PR #15
This commit is contained in:
@@ -6,14 +6,6 @@ const constants = require ('../config/constants');
|
||||
|
||||
let parser = new Parser ();
|
||||
|
||||
getDataFromRSSFeed = function (url) {
|
||||
//let feed = await parser.parseURL(url);
|
||||
//console.log(feed.title);
|
||||
//feed.items.forEach(item => {
|
||||
// console.log(item.title + ':' + item.link)
|
||||
//});
|
||||
};
|
||||
|
||||
getDataFromWPJSON = function (sourceUrl, page = 1, maxPosts = 10) {
|
||||
return new Promise ((resolve, reject) => {
|
||||
var options = {
|
||||
|
||||
Reference in New Issue
Block a user