Open ryankert01 opened 2 years ago
const rs = await parse("https://blog.ryankert.cc/atom.xml"); fs.writeFile("./assests/test.json", JSON.stringify(rs), err => { if(err) { console.log(err); } })
It returns 3 items (post), but the Date of the three objects is the same, which is definitely wrong in its rss feed.
"items": [ { "published": 1661450424213, "created": 1661362853489, ... }, { "published": 1661450424213, "created": 1661362853489, ... }, { "published": 1661450424213, "created": 1661362853489, ... } ]
It returns 3 items (post), but the Date of the three objects is the same, which is definitely wrong in its rss feed.