![]() |
|
problem with RSS Feed for new pictures ? - 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: problem with RSS Feed for new pictures ? (/thread-6969.html) |
problem with RSS Feed for new pictures ? - vincent3569 - 28-04-2010 hello i've three RSS links on my website : Gallery, News, News and Gallery. why there is this two different results ? problem with RSS Feed for new pictures ? - acrylian - 28-04-2010 The gallery and news rss sorts items by date as articles have only a date. You images might have an older internal date than the date they have been uploaded (this is a kind of date vs mtime). Thus the difference. Update: Just looking at the code I might have an idea how to fix this behaviour for the next release. problem with RSS Feed for new pictures ? - vincent3569 - 28-04-2010 there is the code of my footer.php ( ` problem with RSS Feed for new pictures ? - acrylian - 28-04-2010 That code has nothing to do with the "issue" which is internal. Tonight's nightly build wll contain an improvement for Zenpage if you use "mtime" as a sortorder. Note that RSS might use latestimages by id (id = order when ZP discovers an images, date = date the file has internally set via EXIF for example, mtime= filedate). If using a combined display with news articles they are also sorted by date and never by id (sorting news articles by id is pretty useless). A little confusing I know, so use sortorder date or mtime instead. problem with RSS Feed for new pictures ? - vincent3569 - 28-04-2010 Thank you for the nightbuild improvement "A little confusing I know..." maybe, you could make an entry in troubleshooting... problem with RSS Feed for new pictures ? - acrylian - 28-04-2010 Look at the options and set the rss feed sort order either to date or mtime. As said getting imagesg by id does only work for image/album only feeds. Articles have of course a id but that is never their sort order. articles and gallery items are a little different. problem with RSS Feed for new pictures ? - vincent3569 - 28-04-2010 as you suggest, i set sort order to date on image rss and album rss. problem with RSS Feed for new pictures ? - Blue Dragonfly - 28-04-2010 Any chance you're seeing the cached RSS feed? Make sure you clear the RSS cache before comparing the result. |