Ticket Information - ID: #507
ID: | Category: | Severity | Reproducibility | Date Submitted | Updated By: |
---|---|---|---|---|---|
0000507 | Bug Reporting | normal | N/A | 04/26/11 01:26AM |
|
|
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! |