
Security News
Django Joins curl in Pushing Back on AI Slop Security Reports
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
node-opml-parser
Advanced tools
Parses an OPML feed into flat list of items.
Each item in the OPML feed is added to an array
[
{
"title": "<Feed title>",
"url": "<Feed url>",
"feedUrl": "<Feed feed url>",
"feedType": "<Feed type, rss or similar>"
}
]
npm install --save node-opml-parser
const parseOpml = require('node-opml-parser');
parsePodcast('<opml xml>', (err, items) => {
if (err) {
console.error(err);
return;
}
// items is a flat array of all items in opml
console.log(items);
});
npm run test
npm run cover
In case duplicates are found they are removed. The matching is done based on feed url so anything else can differ.
OPML can contain a directory structure but it is ignored here; a flat structure is always returned back.
In case multiple inconsistent titles are found only one is picked.
Precedence:
The parser just tries to find items quite aggressively so it doesn't care too much about structure. This means an incorrectly formatted OPML feed might still contain items, make sure the input is not too broken.
This should not be used to validate OPML feeds!
OPML doesn't distinguish between feeds for blogs or podcasts so there's not really a way to know without downloading the feed url and looking for enclosures. This module doesn't make any effort trying to separate what's what.
FAQs
Parse OPML lists of podcasts
The npm package node-opml-parser receives a total of 49 weekly downloads. As such, node-opml-parser popularity was classified as not popular.
We found that node-opml-parser demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.