Folo icon indicating copy to clipboard operation
Folo copied to clipboard

Support discovering multiple RSS feeds from HTML autodiscovery tags

Open nxxxsooo opened this issue 8 months ago β€’ 0 comments

Problem

When searching a domain (e.g., mjshao.fun) in Folo's Discover, only the first <link rel="alternate" type="application/rss+xml"> tag is discovered, even when the page declares multiple feeds.

My site has two RSS feeds β€” English and Chinese:

<link rel="alternate" type="application/rss+xml" title="Mingjian Shao's Writing (English)" href="/rss.xml"/>
<link rel="alternate" type="application/rss+xml" title="Mingjian Shao's Writing (δΈ­ζ–‡)" href="/rss-cn.xml"/>
  • βœ… /rss.xml is discovered via domain search
  • ❌ /rss-cn.xml is not discovered (works when added manually via direct URL)

Expected Behavior

Folo should discover all <link rel="alternate"> feeds declared in the HTML <head> and present them to the user for selection β€” similar to how Feedly, Inoreader, and Firefox handle multiple autodiscovery links.

RSS Autodiscovery Spec

The RSS Advisory Board spec explicitly supports multiple feeds:

"A head may include more than one autodiscovery link, but each must identify a different feed."

"If you decide to include more than one autodiscovery link, the first link should be the site's main feed."

"When a page contains more than one autodiscovery link, the title enables users to differentiate between the feeds."

Use Cases

  • Multilingual sites (EN + CN feeds, like mine)
  • Content type variants (full articles vs. headlines)
  • Category feeds (tech, design, etc.)

Prior Art

A nearly identical issue was reported and fixed in bridgy-fed#2255 β€” their backend also only read the first <link rel="alternate"> tag.

Environment

  • Site: https://mjshao.fun
  • EN feed: https://mjshao.fun/rss.xml
  • CN feed: https://mjshao.fun/rss-cn.xml
  • Folo version: latest (web + desktop)

nxxxsooo avatar Mar 05 '26 15:03 nxxxsooo