![]() |
|
RSS feed uses Exif date instead of * Upload date - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: RSS feed uses Exif date instead of * Upload date (/thread-3783.html) |
RSS feed uses Exif date instead of * Upload date - motaheri - 2008-09-17 Thanks for all your work, This is how flickr implies "date taken" and "date uploaded" in their rss feed; Mon, 15 Sep 2008 15:42:53 -0800 2008-08-29T17:03:08-08:00 (and this feed was called today Sept 17) Thanks again for your hard work! RSS feed uses Exif date instead of * Upload date - acrylian - 2008-09-17 Actually the rss feed uses mtime to sort the image entries. But I just saw that the part indeed uses 'date' instead of 'mtime'. Not sure this was a mistake or on purpurse. I guess we could use , too. I will take a look. RSS feed uses Exif date instead of * Upload date - motaheri - 2008-09-17 I understand from this post @ on purpose RSS feed uses Exif date instead of * Upload date - acrylian - 2008-09-17 Correct. mtime is the file modification date that we used for sorting within the feed so that older taken but newly uploaded images don't fall behind. I am not a photographer so I don't really use exif info. But the date field in the db is either filled with the mtime value or if exists with the exif date value. If I recall that correctly. We could change the 'date' in line 135 of the feed's to 'mtime' if that solves that. As I said we might just have forgotten to change that. Also you can alway customize it to your liking. You could also change the sortorder in line 108 if you like to use the ID. RSS feed uses Exif date instead of * Upload date - motaheri - 2008-09-17 {edit / reading your comments update} Great explanation! I could also presume this logic for a recent uploads page. RSS feed uses Exif date instead of * Upload date - motaheri - 2008-09-17 i'll experiment with your new suggestions and get back to you with the results RSS feed uses Exif date instead of * Upload date - acrylian - 2008-09-17 We had originally the id for sorting but several users "complained" that it does not match the order of photos taken, so we changed it. Maybe we should consider to make the feed order an option.. RSS feed uses Exif date instead of * Upload date - motaheri - 2008-09-17 Thank you, Well about the sorting; @ to anyone who is opposed to this Implementing this with mdate could also provide almost similar results but it is not exactly what is needed, since it could duplicate posts in the readers RSS feed, if by chance a small thing like crop was fixed and re-uploaded by the same file name. @ "order of photos taken" can never be a RSS feed sort since, news aggregation (online or desktop) is sorted by date "posted" and is compared to Today and thus your feed will be almost useless - unless you always upload VERY promptly. Yet i still don't understand why anyone would want this function. Anyways! @ change the 'date' in line 135 of the feed's to 'mtime'
So i'm guessing that the "fixRSSDate" function doesn't work with mtime format (?) I also tried @sortorder in line 108 if you like to use the ID. Yet then realized that, that would only be efficient if the was also reflecting the corresponding "id" date. I confirm that this line of code 108 I wish i could hack this myself, but it seems its not just a quick hack.. Ideally i would think sorting and publishing (pubDate) by id and using the id's corresponding date value would be most systematically correct for a news feed. If not that, mtime at least. Thank you for your consideration and time! RSS feed uses Exif date instead of * Upload date - acrylian - 2008-09-17 duplicated entries: Not really because Zenphoto is file system based, what is not there is not taken. That's why we started using mtime. There is no corresponding date to the id yet. But maybe it would be possible to implement that. [i]gave me "Thu, 01 Jan 1970 00:00:00 +0000" for the in all image entries RSS feed uses Exif date instead of * Upload date - motaheri - 2008-09-17 yes yes, duplicate rss entries will not be produced, in short, Two weeks later, you think it looks better flipped so you mirror it but decide to upload it as the "same" file and not an individual new update. (i presume by what i have understood - do correct me if i am wrong!) mtime will be changed, consequently so will pubDate, thus a new feed item will be picked up / or an old feed item will reappear at the top of the reader's news feed that day. I think this is unproductive, since if an artist wants to publish a separate new version of an image, they would not overwrite the previous. [i]"If you upload an image via ftp and you don't visit that yourself"[/i] YES! [i]There is no corresponding date to the id yet. But maybe it would be possible to implement that.[/i] That would be beautiful! Thanks for your hard work and time! RSS feed uses Exif date instead of * Upload date - motaheri - 2008-09-18 any plans to address any of these problems / proposals? thank you for your consideration! RSS feed uses Exif date instead of * Upload date - acrylian - 2008-09-18 We are considering everything...:-) No, seriously, 1.2.1 is due end of the months and it will not make it into that because we have a feature freeze next week so that our translator have some time to match up. To your questions from above: For the automatic visiting of albums by Zenphoto: This is just not the way it works, Zenphoto uses the principle of lazy evaluation, which means data is only fetched if requested. The workaround for that is precaching or visiting the albums yourself (also uploading via admin does basically the same). For the date on upload matching the id please open a ticket. We will talk about that. RSS feed uses Exif date instead of * Upload date - motaheri - 2008-09-18 honestly i disagree! for the above reasons and because it goes against what the web user is accustomed to. No application I know of, republishes items when they are edited/modified. So "new image" i think actually refers to a "new file" in a file based system. But that's only my opinion, i'm currently trying to fix the feed pubDate myself. RSS feed uses Exif date instead of * Upload date - trisweb - 2008-09-18 I think a 'date_added' field would be a good one to have, for both albums and images. We should not use the mtime for the published time, as you say that's not what's expected, modified files should not be 'republished'. Thanks. RSS feed uses Exif date instead of * Upload date - motaheri - 2008-09-19 Thank you trisweb and acrylian! by replacing line 135 ` |