Derive feed from page HTML #10

Closed
opened 2024-04-16 00:28:54 +00:00 by danieljsummers · 1 comment

Web sites list their feeds as a <link> tag in the page heading. If the URL the user enters does not parse as a valid RSS feed, try instead to parse it as HTML. Then, under the <head> tag, look for a <link> tag with rel=alternate and type=application/rss+xml or type=application/atom+xml attributes. If this is found, load the href attribute and use that as the feed address.

Web sites list their feeds as a `<link>` tag in the page heading. If the URL the user enters does not parse as a valid RSS feed, try instead to parse it as HTML. Then, under the `<head>` tag, look for a `<link>` tag with `rel=alternate` and `type=application/rss+xml` or `type=application/atom+xml` attributes. If this is found, load the `href` attribute and use that as the feed address.
danieljsummers self-assigned this 2024-04-28 00:29:18 +00:00
danieljsummers added this to the alpha5 milestone 2024-04-28 00:29:24 +00:00
Author
Owner

This has been completed.

This has been completed.
Sign in to join this conversation.
No description provided.