Skip to content

Instantly share code, notes, and snippets.

@russellbeattie
Created May 14, 2013 22:32
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save russellbeattie/5580206 to your computer and use it in GitHub Desktop.
Save russellbeattie/5580206 to your computer and use it in GitHub Desktop.
package feeds
var Ns = map[string]string{
// via http://feed2.w3.org/docs/howto/declare_namespaces.html
"http://a9.com/-/spec/opensearch/1.1/": "opensearch",
"http://a9.com/-/spec/opensearchrss/1.0/": "opensearch10",
"http://backend.userland.com/blogChannelModule": "blogChannel",
"http://backend.userland.com/creativeCommonsRSSModule": "creativecommons",
"http://backend.userland.com/creativeCommonsRssModule": "creativeCommons",
"http://backend.userland.com/rss": "rss",
"http://backend.userland.com/rss2": "rss",
"http://base.google.com/ns/1.0": "g",
"http://blogs.law.harvard.edu/tech/rss": "rss",
"http://conversationsnetwork.org/rssNamespace-1.0/": "conversationsNetwork",
"http://creativecommons.org/ns#": "cc",
"http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html": "creativecommons",
"http://earth.google.com/kml/2.0": "kml20",
"http://earth.google.com/kml/2.1": "kml21",
"http://example.com/DTDs/PodCast-1.0.dtd": "itunes",
"http://feedsync.org/2007/feedsync": "sx",
"http://freshmeat.net/rss/fm/": "fm",
"http://geourl.org/rss/module/": "geourl",
"http://hacks.benhammersley.com/rss/streaming/": "str",
"http://madskills.com/public/xml/rss/module/pingback/": "pingback",
"http://madskills.com/public/xml/rss/module/trackback/": "trackback",
"http://media.tangent.org/rss/1.0/": "audio",
"http://my.netscape.com/rdf/simple/0.9/": "rdf",
"http://my.theinfo.org/changed/1.0/rss/": "cp",
"http://openid.net/xmlns/1.0": "openid",
"http://podlove.org/simple-chapters": "psc",
"http://postneo.com/icbm": "icbm",
"http://prismstandard.org/namespaces/1.2/basic/": "prism",
"http://purl.oclc.org/net/rss_2.0/enc#": "enc",
"http://purl.org/atom/ns#": "atom",
"http://purl.org/dc/elements/1.0/": "dc",
"http://purl.org/dc/elements/1.1/": "dc",
"http://purl.org/dc/terms/": "dcterms",
"http://purl.org/net/rss1.1#": "rss11",
"http://purl.org/rss/1.0/": "rdf",
"http://purl.org/rss/1.0/modules/aggregation/": "ag",
"http://purl.org/rss/1.0/modules/annotate/": "annotate",
"http://purl.org/rss/1.0/modules/company": "co",
"http://purl.org/rss/1.0/modules/content/": "content",
"http://purl.org/rss/1.0/modules/email/": "email",
"http://purl.org/rss/1.0/modules/event/": "ev",
"http://purl.org/rss/1.0/modules/image/": "image",
"http://purl.org/rss/1.0/modules/link/": "l",
"http://purl.org/rss/1.0/modules/reference/": "ref",
"http://purl.org/rss/1.0/modules/richequiv/": "reqv",
"http://purl.org/rss/1.0/modules/rss091#": "rss091",
"http://purl.org/rss/1.0/modules/search/": "search",
"http://purl.org/rss/1.0/modules/servicestatus/": "ss",
"http://purl.org/rss/1.0/modules/slash/": "slash",
"http://purl.org/rss/1.0/modules/subscription/": "sub",
"http://purl.org/rss/1.0/modules/syndication/": "sy",
"http://purl.org/rss/1.0/modules/taxonomy/": "taxo",
"http://purl.org/rss/1.0/modules/textinput/": "ti",
"http://purl.org/rss/1.0/modules/threading/": "thr",
"http://purl.org/rss/1.0/modules/wiki/": "wiki",
"http://purl.org/syndication/history/1.0": "fh",
"http://purl.org/syndication/thread/1.0": "thr",
"http://rssnamespace.org/feedburner/ext/1.0": "feedburner",
"http://schemas.pocketsoap.com/rss/myDescModule/": "szf",
"http://schemas.xmlsoap.org/soap/envelope/": "soap",
"http://search.yahoo.com/mrss": "media",
"http://search.yahoo.com/mrss/": "media",
"http://web.resource.org/cc/": "cc",
"http://webns.net/mvcb/": "admin",
"http://wellformedweb.org/CommentAPI/": "wfw",
"http://wellformedweb.org/commentAPI/": "wfw",
"http://www.bloglines.com/about/specs/fac-1.0": "access",
"http://www.georss.org/georss": "georss",
"http://www.itunes.com/dtds/podcast-1.0.dtd": "itunes",
"http://www.microsoft.com/schemas/rss/core/2005": "cf",
"http://www.opengis.net/gml": "gml",
"http://www.opengis.net/kml/2.2": "kml22",
"http://www.opml.org/spec2": "opml",
"http://www.pheedo.com/namespace/pheedo": "pheedo",
"http://www.w3.org/1998/Math/MathML": "mathml",
"http://www.w3.org/1999/02/22-rdf-syntax-ns#": "rdf",
"http://www.w3.org/1999/xhtml": "xhtml",
"http://www.w3.org/1999/xlink": "xlink",
"http://www.w3.org/2000/01/rdf-schema#": "rdfs",
"http://www.w3.org/2000/svg": "svg",
"http://www.w3.org/2003/01/geo/wgs84_pos#": "geo",
"http://www.w3.org/2005/Atom": "atom",
"http://www.w3.org/2007/app": "app",
"http://www.w3.org/XML/1998/namespace": "xml",
"http://xmlns.com/foaf/0.1": "foaf",
"http://xmlns.com/foaf/0.1/": "foaf",
"urn:atom-extension:indexing": "indexing",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment