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
Should work. Instead they give an error because they try to parse the HTML as XML.
Feed discovery is a well understood process but the basics is that if you get an HTML response back you should check for links such as <link rel="alternate" type="application/rss+xml" href="{feed-url}"> in the HTML and HTTP headers. One complication is that if there are multiple feeds available the user should probably be asked which one to select.
A simple UX for selecting feed is just displaying the title and printing !rss subscribe {url} lines for the user to copy-paste. However better UX would be something like listing them with numbers and allowing the user to click a reaction to pick which feed they want to subscribe to.
The text was updated successfully, but these errors were encountered:
For example
Should work. Instead they give an error because they try to parse the HTML as XML.
Feed discovery is a well understood process but the basics is that if you get an HTML response back you should check for links such as
<link rel="alternate" type="application/rss+xml" href="{feed-url}">
in the HTML and HTTP headers. One complication is that if there are multiple feeds available the user should probably be asked which one to select.A simple UX for selecting feed is just displaying the title and printing
!rss subscribe {url}
lines for the user to copy-paste. However better UX would be something like listing them with numbers and allowing the user to click a reaction to pick which feed they want to subscribe to.The text was updated successfully, but these errors were encountered: