Improve and put forward the atom feed
An atom feed is available for each user at podurl/public/username.atom (for example, mine is https://diaspora-fr.org/public/fla.atom). At the moment, the feed is not really putted forward because it's not polished. We could improve it by rendering the markdown and define the title the same way than https://github.com/diaspora/diaspora/pull/4256. After that, we could add a rss logo to link to the feed on the user profile page, next to the dropdown aspect for example.
So if I remember correctly the feed is there for oStatus compatibility. Before considering this we need to
- [x] Check that my memory is right
- [x] Check that the feed is (still) oStatus compatible
- [ ] Check if Diaspora in general is oStatus compatible
- [ ] Decide if we want to stay/get (again) oStatus compatible
Anyone who knows oStatus and could check the second and third point? The last one could be decided on loomio afterwards.
can I also add, that adding uploaded images to rss would be nice? There there will be no need to go to user's profile to see images, if we can see them right in the feed reader.
With #4835 merged, I'd say this issue can basically be closed. We should just replace (and reenable) https://github.com/diaspora/diaspora/blob/develop/app/helpers/layout_helper.rb#L40 with a nicer construct (like a content_for :head in people#show). Adding a prominent link to the feed on people#show has a UX issue for me: I'd expect the feed to contain the same messages that I can see right next to the link the stream, which, given that the person shares with me, is not true. A simple link talk will only be discovered by more experienced users who will not be as confused by that fact.
For further polishing of the feed beyond that, let's discuss that in specific issues. This general talk about a broad topic is hard to follow, which the quasi duplicate of this issue, #4678 demonstrates.
In addition of the things to do in Jonne comment, I would add ;
- Correctly render images (markdown and uploaded)
- Correctly render mention links
- Don't truncate title that much.
About that last point, currently it calls title without argument so the title is either defined correctly with markdown or the first 20 characters of the post (see the code).
20 is way too short (it looks too short even in the SPV title or the notification panel). We could either simply upgrade that to maybe 30 characters for everywhere, either set a specific size when calling from the atom feed builder, to 50 or 60 characters, what do you think?
Concerning cyrillic characters, it is probably not enough to just enlarge the limit, but we need to apply it to visible character count, not to byte length of the string.
@cmrd-senya I don't get how that is related to Cyrillic specifically. The limit is 20 characters for every languages. You can display the whole title if you manually define it with markdown btw.
This is an old issue I'm bumping. I think Diaspora* can be presented as a social network, but can also be marketed as a blogging platform with social features. It makes adverse network effects less visible. In this perspective, a polished feed is important! Currently, html/markdown images are correctly rendered in the Atom feed, but uploaded images are not. Seconding @ghost request, I think it would be great if uploaded images were included in the feed. Thanks for the good work
I again had some users asking for images to be added in the feed. I may look at this issue at some point.