You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I would like to generate a RSS feed for iTunes Podcast. This service have a special xml tags. Some of them required, but other - just recommended.
Describe the solution that you would like.
Apple allow to extend some of existing well-known XML tags like channel and item. Itunes tags have a special namespace (prefix for each iTunes tag) like <irunes:....>. So in my opinion we can add some optional field to Channel and Item structs and allow to fill them by user.
Ability to add a user-defined data in each XML tag like this (it is like a raw access to the rss):
typeCustomIteminterface {
// THis methods will allow user to choose - when this custom field will be presentedMarshalAtom()([]byte,error)
MarshalRSS()([]byte,error)
MarshalJSON()([]byte,error)
}
feed:=&feeds.Feed{
Title: "jmoiron.net blog",
// ...
}
feed.Add(CustomItemImpl{...})
feed.Items[0].Add(CustomItemImpl{...})
Is there an existing feature request for this?
Is your feature request related to a problem? Please describe.
I would like to generate a RSS feed for iTunes Podcast. This service have a special xml tags. Some of them required, but other - just recommended.
Describe the solution that you would like.
Apple allow to extend some of existing well-known XML tags like
channel
anditem
. Itunes tags have a special namespace (prefix for each iTunes tag) like<irunes:....>
. So in my opinion we can add some optional field toChannel
andItem
structs and allow to fill them by user.It can be looks like this:
This design will allow us to add other RSS extensions from other providers like Spotify, which have their own XML tags.
Links:
Describe alternatives you have considered.
Ability to add a user-defined data in each XML tag like this (it is like a raw access to the rss):
Anything else?
The text was updated successfully, but these errors were encountered: