feedsmith
Version:
Robust and fast parser and generator for RSS, Atom, JSON Feed, and RDF feeds, with support for Podcast, iTunes, Dublin Core, and OPML files.
23 lines • 630 B
JavaScript
import { XMLParser } from 'fast-xml-parser';
import { parserConfig } from '../../common/config.js';
export const stopNodes = [
'opml.head.title',
'opml.head.dateCreated',
'opml.head.dateModified',
'opml.head.ownerName',
'opml.head.ownerEmail',
'opml.head.ownerId',
'opml.head.docs',
'opml.head.expansionState',
'opml.head.vertScrollState',
'opml.head.windowTop',
'opml.head.windowLeft',
'opml.head.windowBottom',
'opml.head.windowRight',
'*.outline.outline',
];
export const parser = new XMLParser({
...parserConfig,
stopNodes,
});
//# sourceMappingURL=config.js.map