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
Some feed readers (like Reeder, which is what I use) support a special "reader mode". In this mode, in-page hash links may not work properly unless the xml:base attribute is set and matches the URL of the current entry (either link or id, not sure which).
Solution
This can be solved by assigning xml:base to each entry in the feed, with the URL matching the entry's URL. Unfortunately this is not currently supported in gorilla/feeds, which caused me to make a private fork.
Attribute definition:
XmlBase string `xml:"xml:base,attr,omitempty"`
This needs to be supported in Feed, Item, RssFeedXml, RssItem, AtomFeedXml, AtomItem.
The text was updated successfully, but these errors were encountered:
Problem
Some feed readers (like
Reeder
, which is what I use) support a special "reader mode". In this mode, in-page hash links may not work properly unless thexml:base
attribute is set and matches the URL of the current entry (eitherlink
orid
, not sure which).Solution
This can be solved by assigning
xml:base
to each entry in the feed, with the URL matching the entry's URL. Unfortunately this is not currently supported ingorilla/feeds
, which caused me to make a private fork.Attribute definition:
This needs to be supported in
Feed
,Item
,RssFeedXml
,RssItem
,AtomFeedXml
,AtomItem
.The text was updated successfully, but these errors were encountered: