feedsmith
Version:
Fast, all‑in‑one feed parser and generator for RSS, Atom, RDF, and JSON Feed, with support for Podcast, iTunes, Dublin Core, and OPML files.
76 lines (75 loc) • 2.08 kB
JavaScript
//#region src/namespaces/dcterms/common/config.ts
const uris = [
"http://purl.org/dc/terms/",
"https://purl.org/dc/terms/",
"http://purl.org/dc/terms",
"https://purl.org/dc/terms",
"http://dublincore.org/documents/dcmi-terms/",
"https://dublincore.org/documents/dcmi-terms/",
"http://dublincore.org/documents/dcmi-terms",
"https://dublincore.org/documents/dcmi-terms",
"http://dublincore.org/specifications/dublin-core/dcmi-terms/",
"https://dublincore.org/specifications/dublin-core/dcmi-terms/",
"http://dublincore.org/specifications/dublin-core/dcmi-terms",
"https://dublincore.org/specifications/dublin-core/dcmi-terms"
];
const stopNodes = [
"*.dcterms:abstract",
"*.dcterms:accrualmethod",
"*.dcterms:accrualperiodicity",
"*.dcterms:accrualpolicy",
"*.dcterms:alternative",
"*.dcterms:audience",
"*.dcterms:bibliographiccitation",
"*.dcterms:contributor",
"*.dcterms:coverage",
"*.dcterms:creator",
"*.dcterms:date",
"*.dcterms:description",
"*.dcterms:educationlevel",
"*.dcterms:extent",
"*.dcterms:format",
"*.dcterms:hasformat",
"*.dcterms:haspart",
"*.dcterms:hasversion",
"*.dcterms:identifier",
"*.dcterms:instructionalmethod",
"*.dcterms:language",
"*.dcterms:license",
"*.dcterms:mediator",
"*.dcterms:medium",
"*.dcterms:provenance",
"*.dcterms:publisher",
"*.dcterms:relation",
"*.dcterms:rightsholder",
"*.dcterms:source",
"*.dcterms:spatial",
"*.dcterms:subject",
"*.dcterms:temporal",
"*.dcterms:title",
"*.dcterms:type",
"*.dcterms:accessrights",
"*.dcterms:available",
"*.dcterms:conformsto",
"*.dcterms:created",
"*.dcterms:dateaccepted",
"*.dcterms:datecopyrighted",
"*.dcterms:datesubmitted",
"*.dcterms:isformatof",
"*.dcterms:ispartof",
"*.dcterms:isreferencedby",
"*.dcterms:isreplacedby",
"*.dcterms:isrequiredby",
"*.dcterms:issued",
"*.dcterms:isversionof",
"*.dcterms:modified",
"*.dcterms:references",
"*.dcterms:replaces",
"*.dcterms:requires",
"*.dcterms:rights",
"*.dcterms:tableofcontents",
"*.dcterms:valid"
];
//#endregion
exports.stopNodes = stopNodes;
exports.uris = uris;