mirror of
https://github.com/nkanaev/yarr.git
synced 2026-01-29 01:29:26 +00:00
declare default namespace explicitly
This commit is contained in:
@@ -20,12 +20,12 @@ type rssFeed struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type rssItem struct {
|
type rssItem struct {
|
||||||
GUID rssGuid `xml:"guid"`
|
GUID rssGuid `xml:"rss guid"`
|
||||||
Title string `xml:"title"`
|
Title string `xml:"rss title"`
|
||||||
Link string `xml:"rss link"`
|
Link string `xml:"rss link"`
|
||||||
Description string `xml:"rss description"`
|
Description string `xml:"rss description"`
|
||||||
PubDate string `xml:"pubDate"`
|
PubDate string `xml:"rss pubDate"`
|
||||||
Enclosures []rssEnclosure `xml:"enclosure"`
|
Enclosures []rssEnclosure `xml:"rss enclosure"`
|
||||||
|
|
||||||
DublinCoreDate string `xml:"http://purl.org/dc/elements/1.1/ date"`
|
DublinCoreDate string `xml:"http://purl.org/dc/elements/1.1/ date"`
|
||||||
ContentEncoded string `xml:"http://purl.org/rss/1.0/modules/content/ encoded"`
|
ContentEncoded string `xml:"http://purl.org/rss/1.0/modules/content/ encoded"`
|
||||||
|
|||||||
Reference in New Issue
Block a user