Quote Quizzer

Create online quote quizzer web site.

Meant to be like Freerice.com.

How to get quotes?

  • crawl wikiquote
  • go to en.wikiquote.org/w/index.php?title=[TITLE]&action=edit
  • get text between <textarea … </textarea>
  • within that text regexp match ”[star] [non-star character including whitespace] [any chars] [newline]”
  • probably need to grab the multi-star lines too (these often explain the quote)
  • the title in the URL is the author.

Combine this with a ranking system of some sort.


id author quote more rank
0 Aaron Burr On that subject I am coy. Last words; Burr was an atheist. 13
integer string string string integer
ideas/quotes.txt · Last modified: 2008/03/18 02:52 by grant