forked from danmactough/node-feedparser
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnamespaces.js
More file actions
37 lines (37 loc) · 2.49 KB
/
namespaces.js
File metadata and controls
37 lines (37 loc) · 2.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
* Default namespaces
*
* Lookup by URI
*/
module.exports = {
'http://www.w3.org/2005/Atom' :'atom', // v1.0
'http://purl.org/atom/ns#' :'atom', // v0.3
'http://www.w3.org/1999/02/22-rdf-syntax-ns#' :'rdf',
'http://purl.org/rss/1.0/' :'rdf', // rss v1.0
'http://my.netscape.com/rdf/simple/0.9/' :'rdf', // rss v0.90
'http://webns.net/mvcb/' :'admin',
'http://creativecommons.org/ns#' :'cc',
'http://web.resource.org/cc/' :'cc',
'http://purl.org/rss/1.0/modules/content/' :'content',
'http://backend.userland.com/creativeCommonsRSSModule' :'creativecommons',
'http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html' :'creativecommons',
'http://purl.org/dc/elements/1.1/' :'dc',
'http://purl.org/dc/elements/1.0/' :'dc',
'http://purl.oclc.org/net/rss_2.0/enc#' :'enc',
'http://rssnamespace.org/feedburner/ext/1.0' :'feedburner',
'http://www.bradsoft.com/feeddemon/xmlns/1.0/' :'fd', // FeedDemon
'http://www.itunes.com/dtds/podcast-1.0.dtd' :'itunes',
'http://www.w3.org/2003/01/geo/wgs84_pos#' :'geo',
'http://www.georss.org/georss' :'georss',
'http://search.yahoo.com/mrss/' :'media',
'http://search.yahoo.com/mrss' :'media', // commonly-used but wrong
'http://newsgator.com/schema/extensions' :'ng', // NewsGator
'http://opml.org/spec2' :'opml', // OPML 2.0
'http://www.pheedo.com/namespace/pheedo' :'pheedo',
'http://purl.org/rss/1.0/modules/syndication/' :'syn',
'http://feedsync.org/2007/feedsync' :'sx', // feedsync (Simple Sharing Extensions) http://feedsyncsamples.codeplex.com/
'http://purl.org/rss/1.0/modules/taxonomy/' :'taxo',
'http://purl.org/syndication/thread/1.0' :'thr',
'http://www.w3.org/1999/xhtml' :'xhtml',
'http://www.w3.org/XML/1998/namespace' :'xml'
};