Skip to content

Commit

Permalink
mmcdole#151: Add atom namespaces to known namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Necoro committed Aug 5, 2020
1 parent 193d002 commit 2bfd1fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/shared/extparser.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ func prefixForNamespace(space string, p *xpp.XMLPullParser) string {
// These canonical prefixes override any prefixes used in the feed itself.
var canonicalNamespaces = map[string]string{
"http://webns.net/mvcb/": "admin",
"http://www.w3.org/2005/Atom": "atom",
"http://purl.org/atom/ns#": "atom03",
"http://purl.org/rss/1.0/modules/aggregation/": "ag",
"http://purl.org/rss/1.0/modules/annotate/": "annotate",
"http://media.tangent.org/rss/1.0/": "audio",
Expand Down

0 comments on commit 2bfd1fb

Please sign in to comment.