Opened 15 years ago

Closed 15 years ago

Last modified 6 years ago

#4399 closed defect (fixed)

WEB: Unable to post more than single news item per day

Reported by: sev- Owned by: SF/fredrik_w
Priority: normal Component: Web
Version: Keywords:
Cc: Game:

Description

With new code it is not possible to post more than a single news item per day. I tried to do it, but there are too many places which assume that format of the date is YYYYMMDD.

We need to have (optional) YYYYMMDDHH, so more than one news item per day is possible to post. Currently 20090711.xml contains news item from 10th of July, i.e. date name is misleading, and it is not possible to browse it.

With this implemented going to particular day of news post will display all news items for that day.

Ticket imported from: #2820377. Ticket imported from: bugs/4399.

Change History (5)

comment:1 by sev-, 15 years ago

Alternative scheme of naming such news item is how we had it before the face lift, that is, attach letter at the end, thus first item on 10th of July will be 20090710.xml, and second one 20090710a.xml, etc.

comment:2 by SF/fredrik_w, 15 years ago

Note to self not to forget the feeds.

<salty-horse> the atom/id feeds reports them with the same guid <salty-horse> and the exact same date <salty-horse> in rss two guid's are not allowed <salty-horse> in atom, two id's mean that there was an update, and then you need to look at the date. but in this case, both are the same <salty-horse> http://beta.feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.scummvm.org%2Ffeeds%2Fatom%2F <salty-horse> http://beta.feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.scummvm.org%2Ffeeds%2Frss%2F

comment:3 by SF/fredrik_w, 15 years ago

Resolution: fixed
Status: newclosed

comment:4 by SF/fredrik_w, 15 years ago

I went with the name scheme from the old code base (\d{8}[a-z]?).

comment:5 by digitall, 6 years ago

Component: Web
Note: See TracTickets for help on using tickets.