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

Make RSS files statically indexable. #559

Closed
StaticallyTypedRice opened this issue Feb 27, 2020 · 7 comments
Closed

Make RSS files statically indexable. #559

StaticallyTypedRice opened this issue Feb 27, 2020 · 7 comments

Comments

@StaticallyTypedRice
Copy link
Contributor

Based on this Mastodon post: https://mastodon.social/web/statuses/103733299615213861

Currently, RSS feeds on Lemmy can only be accessed through the single page webclient, which we already know is not very compatible with web crawlers. This will kill our discovery rates on RSS finders like Fraidycat. It would be a good idea to somehow link to the RSS files in a way that does not need the single-page web app so they can be indexed.

@dessalines
Copy link
Member

@StaticallyTypedRice
Copy link
Contributor Author

No, lemmy has static rss feeds: https://dev.lemmy.ml/docs/contributing_websocket_http_api.html#rss--atom-feeds

Static yes, but not discoverable unless the web app renders properly, which web crawlers struggle with.

@Nutomic Nutomic reopened this Feb 27, 2020
@dessalines
Copy link
Member

Crawling / archiving / SPA stuff is a separate issue, that's #347

@Nutomic
Copy link
Member

Nutomic commented Feb 28, 2020

Do we even need a full isomorphic app for this? For the RSS feed discovery you only need an HTML header (afaik), so it should be enough to insert that into the base HTML template, without implementing SPA completely.

@dessalines
Copy link
Member

Unfortunately yes, because depending on the page, you might be looking at a community rss, an all rss, a subscribed rss, or a user rss.

@Nutomic
Copy link
Member

Nutomic commented Feb 28, 2020

I know, so if we serve the index.html through Rust, we can just insert the RSS link in there, without modifying anything else. Of course this will break if someone tries to extract the RSS link from an actual browser.

@dessalines
Copy link
Member

Getting RSS feeds to me is much less important than the other crawlable things. Even page title doesn't come till after the bundle load for example... all of these need a proper isomorphic app.

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

No branches or pull requests

3 participants