JSONFeed icon indicating copy to clipboard operation
JSONFeed copied to clipboard

What should readers do with items where `date_modified` is present but `date_published` is not?

Open dmbaturin opened this issue 5 years ago • 3 comments

Blog posts are rarely modified after publishing, but for other applications the opposite is true. Consider a feed for a wiki, or a project documentation site. The date when a wiki page was created is mostly irrelevant, while its modifications is what people may want to keep up with.

Example feeds always have date_published, and no guideline is given. Atom RFC doesn't have a guideline for handling a situation with <published> missing but <updated> though in practice many feeds omit <published> and <updated> is what readers consider important.

It would be nice to codify the recommended behaviour for JSONFeed.

dmbaturin avatar Jan 28 '20 16:01 dmbaturin

Good question. I would think showing the updated date would be the thing to do — it seems clear that the intent of the feed creator is that the published date isn’t important, while the updated date is.

brentsimmons avatar Jan 28 '20 19:01 brentsimmons

@brentsimmons Shall I make a PR?

dmbaturin avatar Jan 28 '20 20:01 dmbaturin

Yes — please do.

brentsimmons avatar Jan 28 '20 20:01 brentsimmons