cloudhead / cloudhead/toto

Atom Feed ID should not be the article.url

Open
#12 7 comments 0 reactions 0 assignees View on GitHub
discussion
Dominant language
Ruby
Stars
1.5k
Forks
240
PR merge metrics
No merged PRs in 30d

Description

Atom Feed ID should not be the article.url

Using the post url as the atom id is not really the best practice. If the permalink changes (e.g. due to a typo) then the atom id will also change resulting in this post showing up again in feed readers (and other issues).

Once set, the ID should never, ever change no matter what.

Perhaps when your rake task generates the post, you can generate an appropriate (e.g. uuid) atom id in stuff it into the metadata of the post (and teach the user to never change this id).

See :

http://diveintomark.org/archives/2004/05/28/howto-atom-id
http://www.hesido.com/web.php?page=atomidtimestamp

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the rake task that generates posts and the Atom feed code, then inspect how article.url and post metadata are used for the feed ID. The work is done when a generated Atom ID remains unchanged if the post permalink changes, with the ID stored in post metadata.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.