Wikiquote talk:Quote of the day/Archive 2

User votes & comments in date articles
I hate to bring this up, so soon after our QotD restructuring and with so much else work to be done elsewhere on Wikiquote, but that minor irritation I've felt with having user-signed votes on our new month-date pages suddenly flared into complete discomfort when I was adding votes for September 11. My original votes were these:


 * Although September 11 was horrible, it didn't threaten the survival of the human race, like nuclear weapons do.
 * 3 ~ Jeff Q (talk) 14:35, 9 September 2006 (UTC). Wanna bet if we go for this one, we'll get complaints about inappropriateness and lack of patriotism?
 * … we will not allow this enemy to win the war by changing our way of life or restricting our freedoms. ~ George W. Bush
 * 1 ~ Jeff Q (talk) 14:35, 9 September 2006 (UTC). Stirring, but the enemy already has changed our way of life and restricted our freedoms, by empowering fear-motivated bypassing of constitutional process, human rights, and privacy. I'm an American, born and bred, yet I feel dangerously exposed even writing these words in such a public forum.

Then I thought, this is going to be displayed in a Wikiquote article until each quote is selected. I didn't think my personal opinions about the quotes' sentiments should be shown in an article, but I also feel strongly that we should be able to comment on why we vote as we do, to help inform the decision process and express our own thoughts (none of which goes into the final quoting, of course). Prudence made me delete my comments.

This conflict makes me feel even more strongly that we should (eventually) move the voting to these articles' talk pages. However, I'm not going to press the issue for a while, at least until I get more urgent things done. But I wanted to mention this while I was thinking of it. ~ Jeff Q (talk) 14:35, 9 September 2006 (UTC)

Suggestion: only sourced quotes?
I think Wikiquote has progressed to the point where we have enough sourced quotes to only use those as quotes of the day, and it would improve the perceived quality we put forth on the front page. I always find myself somewhat disappointed when I see an interesting quote and click through to the article, only to find that it's merely "attributed" with no source. Sourced attributions might also be okay, for example for ancient authors where there is no original quote, but there is some source as to who attributes it to them. But completely unsourced attributions are often apocryphal or urban legends (I've moved a few to "misattributed" myself), so putting them on the front page seems dicey. --Delirium 23:23, 28 November 2006 (UTC)

Confused on how exactly to nominate a quote
Do I just add it under the date I think it should appear (like on the Wookieepedia quote of the day), am I able to vote on my own nominations? Deuxhero 20:19, 13 February 2007 (UTC)

RSS for QOTD?
can't believe this hasn't become a wikimedia standard yet....any plans on implementing? http://en.wiktionary.org/wiki/Wiktionary_talk:Word_of_the_day#RSS.3F--69.110.138.58 02:44, 26 March 2007 (UTC)
 * I agree - get on this! 69.114.223.239 17:07, 18 May 2007 (UTC)

whats the status on this? --69.111.8.109 20:33, 21 June 2007 (UTC)

Guys, I made a shoddy quote of the day RSS feed here - http://pipes.yahoo.com/pipes/pipe.info?_id=6h6J2j0_3RGUoYItnkartA - Hopefully it's helpful. 38.98.105.130 03:38, 21 June 2008 (UTC)

An RSS feed of QOTD is now here: http://toolserver.org/~skagedal/feeds/qotd.xml – see wikipedia:User:Skagedal/Fafafa for more info. /Skagedal 12:02, 11 December 2008 (UTC)

This feed stopped working last year, any chance someone can make another up? Edit: I didn't see user Skagedal's post below, I moved it up here so everyone can see it and so the page is not redundant. Let me know if this is not in good taste!Jdotpitts 14:28, 9 December 2009 (UTC)

Line breaks, spaces, and daily-article-l.
Would it be possible to add spaces before line breaks to prevent what happened to the Merchant quote? -- Jeandré, 2007-10-26t07:46z


 * I've just converted the old HTML breaks with no space into XHTML-compatible breaks with one space on each side, as I frequently do in articles, for easier editing and standards compliance. I don't know how the Wikiquote Quote of the Day is getting into this Wikimedia maillist (oh, the gaps in my wiki-knowledge!), but if you do, can you try something that would test to see if this fixes the undesirable word-squishing you pointed out? Thanks. ~ Jeff Q (talk) 10:38, 26 October 2007 (UTC)

I will put spaces to each side of the breaks in the future. ~ Kalki 11:33, 26 October 2007 (UTC)

I have added a feed here http://feeds.feedburner.com/techchorus/DXuJ

A PHP script to get Quote of the Day
Hello, I made a php script to get the quote of the day and I want to share it with the community. You must copy this text and create files "wikiquote.php" and "quote.php", upload both of them to your web server and you will be able to see it. You can use "wikiquote.php" to extract the content, "quote.php" is only an example code to show it.

wikiquote.php
<?php

// wikiquote.php // // Autor: Javier Matos Odut // Date: 2008.08.17 // email: niseteocurra AT gmail DOT com // // This script return three variables to show Quote of the Day in your webpage. You will find // quote in $quote variable, author in $author variable and a link to wikipedia in $author_link. // You can include this file in other php code and use these three variables. // It only works with english quote version. // // Este pequeño script devuelve a través de tres variables principales la frase célebre del // día ($quote), el autor ($author) y el enlace hacia la wikipedia del autor ($author_link). // Está creado unicamente para la versión inglesa de la wikipedia. // Crea la ruta de acceso de wikiquote $base = 'http://en.wikiquote.org/wiki/Special:Export/Wikiquote:Quote_of_the_day/'; $date = date('F_j,_Y');

// Crea una sesión curl $ch = curl_init;

// Parámetros, URL y "ocultación" de lo captado curl_setopt($ch, CURLOPT_URL, $base.$date); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

// Se ejecuta la consulta y se decodifica //$source = utf8_decode(curl_exec($ch)); $source = curl_exec($ch);

// Se termina cerrando sesión curl_close($ch);

// Se aisla la cita así como el autor //$pattern = '/ (.*) ~ \[\[(.*)\]\]<\/comment>/'; $pattern = '/\| ([^|]*) ~ \[\[([^\]]*)\]\]/'; preg_match($pattern, $source, $match);

$quote = $match[1]; $author = $match[2];

// Compone el enlace hacia el autor de la cita $wikipedia_link = 'http://en.wikipedia.org/wiki/'; $author_link = $wikipedia_link.preg_replace('/\ /', '_', $author); ?>

quote.php
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">   Quote of the day 

 ">

Share an experience:
Hi, I'm from ka:wikiquote and I'd like us to share some experience to each other about marking featured quotes in articles. So, how do you mark them? --Rastrelli F 08:43, 28 July 2009 (UTC)

RSS feed for QOTD?
I was collecting a group of "___ of the day" RSS feeds from various MW projects (Wikipedia, Wikimedia Commons, Wiktionary), and I noticed that there isn't an RSS feed listed for the QOTD. Is there one in existence right now?

Does not work
Sample code doesn't work. There is data in $source but something is wrong with the pattern matching. Result is empty string. Thanks.