3 ms·
No need to use the past tense here, I work on a project based on RSS feeds right now :) I'm not sure what I look at with the feedparser code. Looks like a bunc
by onli 9y ago
No need to use the past tense here, I work on a project based on RSS feeds right now :)
I'm not sure what I look at with the feedparser code. Looks like a bunch of format support libraries? https://cyber.harvard.edu/rss/rss.html https://cyber.harvard.edu/rss/rss.html says to use rfc822, and in practice for me that means just giving the date string to my chosen languages date object.
You have a point with item updates, RSS was not really made for that. The blog engine I use has different options to handle that, I for one think just pushing a new entry with a new guid is the right solution; but then of course rss readers can't mark updates.
- lifthrasiir 9y agoMy point about date string is that, if people really honored the "specification" from the first place, why the `datetimes` directory has eight different files :-) I have personally seen lots of websites with Korean date & time format ("YYYY년 mm월 dd일 hh시 mm분 ss초", see `korean.py` there) and I'm not sure if they are now gone. (And yes I did have my own aggregation engine back then---it was at least born after feedparser though.)
- onli 9y agoAh, possible. I also use a normalization library (for both atom, jsonfeed and RSS), it might mask the worst of these occurrences.
- pmoriarty 9y agoThis "Korean date & time format" appears similar to ISO 8601, an international standard for dates and times: https://en.wikipedia.org/wiki/ISO_8601 https://en.wikipedia.org/wiki/ISO_8601