Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pointers to ActivityStreams and RSS feeds missing #2337

Open
kidehen opened this issue Dec 30, 2022 · 4 comments
Open

Pointers to ActivityStreams and RSS feeds missing #2337

kidehen opened this issue Dec 30, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@kidehen
Copy link

kidehen commented Dec 30, 2022

Typically, especially across the Fediverse, a reader includes references to ActivityStreams and RSS feeds along the following lines, via entries in the section of its HTML doc. This common practice is currently missing from pinafore.

Fix:
Given a profile page denoted by the URL https://mastodon.social/users/kidehen, the following would be added to the section:

<link href='https://mastodon.social/users/kidehen' rel='alternate' type='application/rss+xml'>
<link href='https://mastodon.social/users/kidehen' rel='alternate' type='application/activity+json'>

@nolanlawson
Copy link
Owner

Thanks, this seems like a pretty simple addition. But what purpose does it serve? E.g. is there some browser extension or protocol handler that can hook into these <link>s?

@nolanlawson nolanlawson added the enhancement New feature or request label Dec 31, 2022
@kidehen
Copy link
Author

kidehen commented Jan 4, 2023

What I described is a standard auto-discovery pattern for RSS and Atom feeds used by a variety of compliant clients. Take a look your Mastodon profile page, and you will see the pattern in use there too.

There are tools that process RSS discovered by this easy-to-implement use of Plain Old Semantic HTML (POSH) :)

@kidehen
Copy link
Author

kidehen commented Jan 5, 2023

Thanks, this seems like a pretty simple addition. But what purpose does it serve? E.g. is there some browser extension or protocol handler that can hook into these <link>s?

Regarding browser extensions, see our Structured Data Sniffer which is available for:

  1. Chromium Browsers
  2. Firefox
  3. Safari
  4. Github Repo

@nolanlawson
Copy link
Owner

I see, so this would allow the extension to allow a user who is on a profile page in Pinafore to quickly subscribe to the RSS feed. Thanks for the clarification!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants