Description of problem: It is not possible to me to use the new feature »imageDirectory may contain a URL« which was introduced with version 5.15 of xscreensaver. Version-Release number of selected component (if applicable): Version : 5.15 Release : 6.fc17 How reproducible: I tried these two URLs http://www.nasa.gov/rss/lg_image_of_the_day.rss https://toolserver.org/~daniel/potd/commons/potd-400x300.rss Steps to Reproduce: 1. Start xscreensaver-demo 2. go to the advanced tab 3. entered a rss-feed-URL in the »choose random image« field 4. I tried these two URLs http://www.nasa.gov/rss/lg_image_of_the_day.rss https://toolserver.org/~daniel/potd/commons/potd-400x300.rss Actual results: Error message window: »Directory does not exist: "http:/www.nasa.gov/rss/lg_image_of_the_day.rss"« Note: I entered http:// with TWO slashes, but xscreensaver-demo removes one of them immediately. I changed the variable imageDirectory in the ~/.xscreensaver file and all I got was the default image. I still see no pictures from the rss feed with, e.g. the carousel screensaver. Expected results: Accept the URL and download images (pictures) from the rss feed and display them in the screensavers that use images. Additional info: If I use the perl script /usr/bin/xscreensaver-getimage-file directly (this script is responsible for getting the images), then it doesn’t work either. [user@host ~]$ xscreensaver-getimage-file http://www.nasa.gov/rss/lg_image_of_the_day.rss xscreensaver-getimage-file: empty feed: http://www.nasa.gov/rss/lg_image_of_the_day.rss xscreensaver-getimage-file: empty feed: http://www.nasa.gov/rss/lg_image_of_the_day.rss [user@host ~]$ xscreensaver-getimage-file https://toolserver.org/~daniel/potd/commons/potd-400x300.rss xscreensaver-getimage-file: not an RSS or Atom feed: https://toolserver.org/~daniel/potd/commons/potd-400x300.rss
Well, one of the biggest problem here is that I am not familiar with RSS regulation and I have (almost) no idea how to judge which image link should (can) be extracted from the URLs you quoted above. If you would have some explanation about RSS regulation, especially for image specification, it is higuly appreciated, thank you.
So, at least please write what image file you expect that xscreensaver-getimage-file should extract from the above URLs. Again if you know some regulation of RSS for image files, it is highly appreciated.
(In reply to comment #2) > So, at least please write what image file you expect that > xscreensaver-getimage-file should extract from the above URLs. Again if you > know some regulation of RSS for image files, it is highly appreciated. I’ve found a working rss feed. This one: http://api.flickr.com/services/feeds/photos_public.gne But: It only works, if I edit the line imageDirectory: in the ~/.xscreensaver file. If I try to enter the URL in the »choose random image« field in the xscreensaver-demo program, it is rejected again. So there seem to be two problems: 1) /usr/bin/xscreensaver-getimage-file is only accepting some rss feeds, others not (why and which ones?). 2) /usr/bin/xscreensaver-demo is not accepting any URL but only directories in the file system. But the description says, that it should accept URLs.
Hello: (In reply to comment #3) > (In reply to comment #2) > > So, at least please write what image file you expect that > > xscreensaver-getimage-file should extract from the above URLs. Again if you > > know some regulation of RSS for image files, it is highly appreciated. > > I’ve found a working rss feed. This one: > http://api.flickr.com/services/feeds/photos_public.gne > > But: It only works, if I edit the line imageDirectory: in the > ~/.xscreensaver file. If I try to enter the URL in the »choose random image« > field in the xscreensaver-demo program, it is rejected again. > > So there seem to be two problems: > 1) /usr/bin/xscreensaver-getimage-file is only accepting some rss feeds, > others not (why and which ones?). To fix 1), again I need to know some regulation of RSS feeds. > 2) /usr/bin/xscreensaver-demo is not accepting any URL but only directories > in the file system. But the description says, that it should accept URLs. For 2), actually I have found a bug. At least xscreensaver should accept the URL which xscreensaver-getimage-file accepts. So first, I will submit a fix for 2) issue. After my local fix for 2), the URL http://api.flickr.com/services/feeds/photos_public.gne is now accepted.
xscreensaver-5.15-7.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/xscreensaver-5.15-7.fc17
(In reply to comment #5) > xscreensaver-5.15-7.fc17 has been submitted as an update for Fedora 17. > https://admin.fedoraproject.org/updates/xscreensaver-5.15-7.fc17 -7 is for 2). http://api.flickr.com/services/feeds/photos_public.gne should work with this. For 1), still I need to know some regulation of RSS feeds, and currently I don't think there is a "perfect" solution for this.
(In reply to comment #6) > (In reply to comment #5) > > xscreensaver-5.15-7.fc17 has been submitted as an update for Fedora 17. > > https://admin.fedoraproject.org/updates/xscreensaver-5.15-7.fc17 > > -7 is for 2). http://api.flickr.com/services/feeds/photos_public.gne should > work with this. -7 had a small bug. Please try -8 for 2) issue.
(In reply to comment #7) > -7 had a small bug. Please try -8 for 2) issue. Well, please try -9 ...
The upstream developer thankfully sent me new xscreensaver-getimage-file, so I will submit new -10. Note that this rss http://toolserver.org/~daniel/potd/commons/potd-400x300.rss contains only small thumbnails and xscreensaver-getimage-file will refuse such small images.
xscreensaver-5.15-10.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/xscreensaver-5.15-10.fc17
Package xscreensaver-5.15-10.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing xscreensaver-5.15-10.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-9650/xscreensaver-5.15-10.fc17 then log in and leave karma (feedback).
xscreensaver-5.16-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/xscreensaver-5.16-1.fc17
xscreensaver-5.17-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.