We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
extract feeds from opml files
opml
import xml2js from "xml2js"; fetch("https://daverupert.com/rss-club/feeds.xml") .then((res) => { return res.text(); }) .then((data) => { // console.log(data); xml2js.parseString(data, (err, result) => { if (err) { console.error(err); return; } console.log( JSON.stringify(result.opml.body[0].outline[0].outline.length, null, 2), ); for (let feed of result.opml.body[0].outline[0].outline) { console.log(feed.$.xmlUrl); } }); });
reference
opml feed
The text was updated successfully, but these errors were encountered:
murtuzaalisurti
No branches or pull requests
extract feeds from
opml
filesreference
opml feed
The text was updated successfully, but these errors were encountered: