feed icon indicating copy to clipboard operation
feed copied to clipboard

RSS2 Google PubSubHubbub problem

Open juanforlizzi opened this issue 2 years ago • 1 comments
trafficstars

Describe the bug Only one atom:link in RSS2 is posible at the moment. If you have atomLink and hub option at the same time, only the last one is added to the feed.

To Reproduce Create a feed using this options :

feed: 'https://example.com/feed/rss.xml',
hub: 'https://pubsubhubbub.appspot.com/',

Expected behavior

<atom:link href="https://example.com/feed/rss.xml" rel="self" type="application/rss+xml"/>
<atom:link href="https://pubsubhubbub.appspot.com/" rel="hub"/>

Actual behavior

<atom:link href="https://pubsubhubbub.appspot.com/" rel="hub"/>

juanforlizzi avatar Jan 05 '23 22:01 juanforlizzi

@jpmonette I've opened https://github.com/jpmonette/feed/pull/184 to fix the issue. Please take a look.

juanforlizzi avatar Jan 09 '23 22:01 juanforlizzi