Gelbooru

Notice: We are now selling NEW Gelbooru Merch~! Domestic shipping is free on all orders! Do you have an artist tag on Gelbooru? Let us know so we can properly credit you!

Ticket Information - ID: #507


ID:Category:SeverityReproducibilityDate SubmittedUpdated By:
0000507Bug ReportingnormalN/A04/26/11 01:26AM
Reporterraki
Assigned to:geltas
Resolution:Open
View StatusPublic
Version:0.2.5
Target Version:N/A
Summary:Atom Feed needs HEADER
Description:I think your RSS Atom Feed module must be fix in some lines!
The module is not work well on Opera Mini 5 Feed Subscription Module (on my WM6 Phone)
When browsing with some apps, the module is not recognized as a XML RSS ctype!
By the way, the meantime is not correct! Please use gmdate() instead of date()! I'm now in Japan (and using Mac OS X) the tz is GMT +09:00!
When I'm fetching your feeds, It echo out the time that have time more than 9 hours than it shown in the post view page!
I think there is some problems in this module!
Link: http://gelbooru.com/index.php?page=atom
Additional Info:This problem is very easy to fix, It's my code:
$now = gmdate('Y-m-d\TH:i:s\Z'); //This will set up a time() with GMT meantime!
header("Content-Type: application/rss+xml"); //Use this before print the output to clients!

If you use GMT meantime in feeds, the clients will read the feeds easily without problems in timezone!
I will help you if you have problems in fixing this thing! :)
Have a nice time!