User talk:Duesentrieb/POTD

This page is for discussion about POTD [1], a tool written by User:Duesentrieb. If I do not respond, please leave a quick note on my talk page at the german wikipedia.


27-02-2007 edit

Commons image doesn't work, for the second time... 128.250.80.15 04:39, 27 February 2007 (UTC)Reply

This happens when the full scale image can't be loaded correctly. There seems to be a bug in the squid caches causing them to cache zero-sized versions of some files sometimes. You can resolve this by purging the image's description page an waiting a few minutes for the POTD tool to notice. -- Duesentrieb 13:47, 27 February 2007 (UTC)Reply

The following link for putting POTD on my website doesn't work since a few days <img src="http://tools.wikimedia.de/~daniel/potd/potd.php/commons/200x150"/>--Vkbd 07:48, 19 August 2008 (UTC)vkbdReply

RSS feed edit

Is it possible to make it a RSS feed so people can add it (commons POTD) to their feed readers?

someone has mocked up one for English Wikipedia here - then it can be used in Livejournal for example, here. --128.250.80.15 06:42, 20 March 2007 (UTC)Reply

done -- Duesentrieb 11:41, 22 March 2007 (UTC)Reply
On livejournal: http://syndicated.livejournal.com/commons_potd/
Duesentrieb - regarding the RSS feed, some people may find it annoying because it is quite long and they probably only want the image and the link. Is it possible to trim it?
If not in general, it should be possible for Livejournal by inserting a line after the image that says <lj-cut> . Since it's a (fake) HTML tag it shouldn't affect other RSS feed users... I think...
Is it possible? It would be greatly appreciated.
thanks! --pfctdayelise 12:59, 24 March 2007 (UTC)Reply
An image-only version would be possible... hm, the clenest way would be to just hide the rest with CSS :)
Anyway - I wanted to accompany the image with all the relevant license and authorship info. Maybe i'll just make a prominent link. -- Duesentrieb 14:49, 24 March 2007 (UTC)Reply
Yeah. The thing is I guess if someone is interested in finding out more about an image, they will follow the link. But 99% of the time they will just look at the image and go, "aw, pretty" :). pfctdayelise 02:22, 25 March 2007 (UTC)Reply

Ok, the feed now onlyshows the image. Probably nicer for embedding. Also fixed a bug with fullscale version of images. Enjoy :) -- Duesentrieb 14:19, 25 March 2007 (UTC)Reply

Fantastic, thankyou :D --pfctdayelise 00:45, 26 March 2007 (UTC)Reply

Incorrectly crediting me edit

I noticed that your tool seems to be incorrectly crediting me for some of the English Wikipedia POTDs. I regularly upload images from Commons to Wikipedia so they can be temporarily protected locally (see w:Template:c-uploaded), so my username would appear as the uploader, but I am not the creator of these images. It should say on the image page (as well as at the Commons image page) who the actual creator is.--Pharos 03:43, 6 June 2007 (UTC)Reply

Hi Pharos, the tool just reports the uploader, which can be determined automatically. Determining the true author would probably require human intervention or else some pretty fancy coding... which is why the feed says "provided by" not "authored by" or "copyrighted by". --pfctdayelise 15:12, 6 June 2007 (UTC)Reply
pfctdayelise is right, it's pretty much impossible to find out the creator of the image automatically. However, where the format permits (RSS is pretty limited), i tried to credit the uploader as the "provider" or "publisher", not the "creator" or "author". Links back the the full description page are provided, of course.
The problem is probably worst with the "condensed daily feed" - it is deliberately kept short and simple, the other feeds have much more detailed info.
Anyway, don't expect a good solution for this issue until mediawiki properly stores license and authorship of mediafiles in database fields, instead of just article text... -- 217.234.205.26 13:16, 8 June 2007 (UTC)Reply

Feed broken edit

Feed can't be read in my newsreader because it doesn't validate. Problem lines:

<author>WikiPOTD</author>

author must include an email address: WikiPOTD [help]

<rdf:Description rdf:about='http://commons.wikimedia.org/wiki/Media:Stargazer_Lillies_Lillium_orientale_'Stargazer'_Flower_2000px.jpg'>

Single quotes in filename. 82.139.85.236 18:08, 21 September 2007 (UTC)Reply

The problem recurs, this time with another image. Again the malformed author and the quote in the filename seem to cause the problem. A fix would be much appreciated. 82.139.85.101 21:41, 26 September 2007 (UTC)Reply

The requirement that the author be an email address is stupid IMHO, and it's widely ignored. Putting a valid mail address there is an ivitation to spam, and i'm reluctant to use a fake one.
The single quote thing is a serious error though. I'll look into it when i have time. I'm studying for an exam right now, so please prod me again should i forget. -- Duesentrieb 10:26, 28 September 2007 (UTC)Reply

@The requirement that the author be an email address is stupid IMHO: In that case don't use the author tag, it's not like it's compulsory, or like there's no email-addressless alternative. The specification explicitly says that author is the "Email address of the author of the item." Why do it like this when you know it violates the spec? That can only cause problems. As for this part of the spec being widely ignored, where I come from we have a saying: "If someone else jumps in the ditch, would you follow?" And thanks for looking into the quote problem, your effort is greatly appreciated. Good luck with your exam; let's hope you'll pass with flying colours. 82.139.85.159 20:13, 28 September 2007 (UTC)Reply

All issues should be fixed now, I hope. Escaping of single quotes should work, and I have replaces <author> by <dc:publisher> (some tools will not recognize this and see now author. too damn bad).
I must say that i regret that i ever used RSS for this - Atom would be much nicer. RSS is too strict on one hand (complains about embedded FOAF and rdf:description info, author must be email address, etc) and under-specified on the other hand (e.g. date format is unspecified). Even dublin core doesn't quite resolve this: the validator complains about multiple dc:source elements - but for three images, I need three sources! So, there's no source info now. sucks.
Also, the feeds suffer from the typical identity crisis: I need to provide information about a) the rss feed b) the image page and c) the image file and d) the original work of art. I don't see a clean way to do this in RSS at all, even using DC. I'd need to invent my own RDF vocabulary (which would be non-standard and thus useless).
So, state of the semantic web: broken. -- Duesentrieb 09:20, 29 September 2007 (UTC)Reply

As usual. ;-) Anyway, there might still be a remaining quote problem, because today's RSS contains the following line:

<dc:source>http://commons.wikimedia.org/wiki/Image:Foucault_pendulum_animated.gif'</dc:source>

The final quote is not part of the actual file name; I had to remove it to get to the image description page. 82.139.85.31 08:07, 7 November 2007 (UTC)Reply

Ugh, thanks for telling me. Should be fixed now. This was not really a quoting issue but rather a quote hardcoded where it didn't belong. And not only in today's feed, but all feeds, for who knows how long :/ -- Duesentrieb 11:54, 7 November 2007 (UTC)Reply

Feed not displaying pictures in Open Wiki Blog Planet? edit

As of a few days ago, the RSS feed for Pictures of the Day (<http://tools.wikimedia.de/~daniel/potd/potd.php>?) which is part of the Open Wiki Blog Planet is no longer displaying the images themselves -- just links to the Commons page, and metadata. I miss this beautiful part of reading all my feeds in Google Reader -- could you please look into whether others are having this issue? 76.175.32.147 08:03, 7 October 2008 (UTC)Reply

POTD doesn't respect the height edit

As you can see here the height (600) is not correct. Just as reminder :). --DaB. 22:51, 8 October 2008 (UTC)Reply

RSS Feed Does Not Display Images edit

"As of a few days ago, the RSS feed for Pictures of the Day (<http://tools.wikimedia.de/~daniel/potd/potd.php>?) which is part of the Open Wiki Blog Planet is no longer displaying the images themselves -- just links to the Commons page, and metadata. I miss this beautiful part of reading all my feeds in Google Reader -- could you please look into whether others are having this issue? 76.175.32.147 08:03, 7 October 2008 (UTC)"

Another user submitted the comment quoted above.

I am having exactly the same problem. Is it something that I am doing wrong?

Thanks for any help with this.

zen 14:15, 6 November 2008 (UTC)zenReply

I can see the images find, directly in the POTD feed and also in the Open Planet... can you see the image here? http://upload.wikimedia.org/wikipedia/commons/thumb/7/74/Harri_Stojka_30.08.2008c.jpg/400px-Harri_Stojka_30.08.2008c.jpg -- Duesentrieb 08:21, 7 November 2008 (UTC)Reply

Refresh later? edit

Hi Duesentrieb, as you might have noticed, your great feeds are currently posted to Twitter via WM_POTD. The problem ist, that TwitterFeed posts all pictures at the same time. Might there be an easy way to create a feed where one of the three images (de.wp, en.wp, commons) is posted every 8 hours? Thanks, --Flominator 13:14, 26 May 2009 (UTC)Reply

Feed not updating edit

It looks like the RSS feed for the POTD hasn't been updated since 2nd January 2011. Any ideas why? -- 130.209.6.40 10:30, 6 January 2011 (UTC)Reply

The POTD as homepage has not updated since 2nd January 2011 either.

No updates since February 17th. Any ideas why? --Flominator (talk) 14:47, 6 April 2012 (UTC)Reply

POTD from Commons: broken link edit

Today's POTD from Commons returns the following error:

Error generating thumbnail

The given path of the specified thumbnail is incorrect; expected 'b/b9/Tschanüff_gegen_Piz_Spadla.jpg/1600px-Tschanüff_gegen_Piz_Spadla.jpg' but got 'a/a3/Tschanüff_gegen_Piz_Spadla.jpg/1600px-Tschanüff_gegen_Piz_Spadla.jpg'.

--Iketsi (talk) 12:43, 25 March 2013 (UTC)Reply

Return to the user page of "Duesentrieb/POTD".