BuzzerZen wrote:Someday, everyone in the quiz bowl community will use Linux or OS X, and all questions will be written in an XML format with XSLT stylesheets for print and web output, and we will be living in a perfect world. Seriously, it'd be awesome. Someone needs to come up with QBML.
<tossup category="science">Tossup text <tuanswer>Answer</tuanswer></tossup>
<bonus category = "literature">leadin
<part value="10">part 1<banswer>Answer 1</banswer></part>
<part value="5">part 2<banswer>Answer 2</banswer></part>
<part value="15">part 3<banswer>Answer 3</banswer></part>
</bonus>
grapesmoker wrote:This will happen as soon as everyone realizes that everything looks better in LaTeX.
leapfrog314 wrote:Unfortunately, NAQT already beat you to creating an XML format for quizbowl questions. If you're interested enough to see for yourself, download the zip file on this page...
BUT I bet they don't use LaTeX.
grapesmoker wrote:leapfrog314 wrote:Unfortunately, NAQT already beat you to creating an XML format for quizbowl questions. If you're interested enough to see for yourself, download the zip file on this page...
BUT I bet they don't use LaTeX.
I've seen NAQT's XML, and it's suited for different things. They have a large database of questions that need to be managed, which most peopel don't. Also, I think their layout looks a little messy.
grapesmoker wrote:BuzzerZen wrote:Someday, everyone in the quiz bowl community will use Linux or OS X, and all questions will be written in an XML format with XSLT stylesheets for print and web output, and we will be living in a perfect world. Seriously, it'd be awesome. Someone needs to come up with QBML.
QBML would be trivial. It would look like this:
<tossup category="science">Tossup text <tuanswer>Answer</tuanswer></tossup>
<bonus category = "literature">leadin
<part value="10">part 1<banswer>Answer 1</banswer></part>
<part value="5">part 2<banswer>Answer 2</banswer></part>
<part value="15">part 3<banswer>Answer 3</banswer></part>
</bonus>
From there it's an easy XML to LaTeX parse. This will happen as soon as everyone realizes that everything looks better in LaTeX.
ASimPerson wrote:Someone needs to just do this. I started on something similar once like 3 years ago but then I got busy with a project or some crap and I never finished it.
ASimPerson wrote:grapesmoker wrote:BuzzerZen wrote:Someday, everyone in the quiz bowl community will use Linux or OS X, and all questions will be written in an XML format with XSLT stylesheets for print and web output, and we will be living in a perfect world. Seriously, it'd be awesome. Someone needs to come up with QBML.
QBML would be trivial. It would look like this:
<tossup category="science">Tossup text <tuanswer>Answer</tuanswer></tossup>
<bonus category = "literature">leadin
<part value="10">part 1<banswer>Answer 1</banswer></part>
<part value="5">part 2<banswer>Answer 2</banswer></part>
<part value="15">part 3<banswer>Answer 3</banswer></part>
</bonus>
From there it's an easy XML to LaTeX parse. This will happen as soon as everyone realizes that everything looks better in LaTeX.
Someone needs to just do this. I started on something similar once like 3 years ago but then I got busy with a project or some crap and I never finished it.
Steroid McBlooddoper wrote:But converting from richly formatted text to being able to parse out questions and answers isn't *that* difficult. I've done it on a minor scale for some editing tools I use, but it would have to be a lot more flexible for those people who love to avoid formatting conventions in their questions.
grapesmoker wrote:In the past, people would send things in with all sorts of crazy crap formatting
BuzzerZen wrote:If there's a big enough push, and the markup is simple enough, it could happen.
ImmaculateDeception wrote:Dude, no. Take this from someone who currently does scientific programming for a living: in the real world, you're lucky if you can get small a team of actual computer programmers to all use a standard markup language. Trying to place the onus on users is a principle of design doomed to fail.
On the other hand, if someone could write an interface to allow Word (say) to output files in this markup so that writers can just keep doing things transparently, you'd be in business. I don't work with interfaces much myself, but would that be very difficult?
ArloLyle wrote:I agree that it would be hard to get people to switch over to writing questions in some standardized QBML, but in a way it would actually make things easier on the writer. The questions could be any format (no standard font, tabbing, underlining, etc) as long as the tags are correct. It also wouldn't be that hard to make a QBML editor where the user could pick what type of question they were writing and the empty tags would just show up for them to fill in with options for power marks, alternate answers, unacceptable answers, etc.
BuzzerZen wrote:Well, if people can be made to format things correctly in Word, you could probably get them to do something similar in Notepad, with underscores instead of underlining, etc. It makes for a much easier parse. In fact, we did this for the 2007 JIAT, with no XML intermediary; just went from text files to LaTeX.
Kit Cloudkicker wrote:I'm sorry, y'all, but this is kind of ridiculous. ACF Fall threatened to charge people if they didn't obey formatting guidelines last year and still most teams did not obey the formatting guidelines. And it's not like that's anything but par for the course. Having packets in a uniform format would be nice, but it would basically have to be done after the fact, since not even tournament editors (for one reason or another) can be totally relied on to standardize the formatting within their tournaments.
Kit Cloudkicker wrote:I'm sorry, y'all, but this is kind of ridiculous. ACF Fall threatened to charge people if they didn't obey formatting guidelines last year and still most teams did not obey the formatting guidelines. And it's not like that's anything but par for the course. Having packets in a uniform format would be nice, but it would basically have to be done after the fact, since not even tournament editors (for one reason or another) can be totally relied on to standardize the formatting within their tournaments.
Steroid McBlooddoper wrote:BuzzerZen wrote:Well, if people can be made to format things correctly in Word, you could probably get them to do something similar in Notepad, with underscores instead of underlining, etc. It makes for a much easier parse. In fact, we did this for the 2007 JIAT, with no XML intermediary; just went from text files to LaTeX.
Sorry, this isn't going to happen. Notepad lacks spell checking and the ability to both underline and place italics. It also makes things look really ugly when you have underscores and some other marks to represent bolding and italics all over the place, and you run into the problem of having no real standard on knowing how long your questions are. Yes, you could maybe get people to use, say, Notepad++, but this would require downloading a separate program and by then you might as well just get people to download your own editor that can do this for them.
I still think that it wouldn't be unreasonably hard to create a very flexible editor that would convert all but the most egregiously formatted documents into a quizbowl XML format. It would obviously take some work, especially on bonus parts, but it would be a much better solution than making the users do it.
Ryan Westbrook wrote:In other news, it would be nice to have a fully searchable database of packets. But, surely there are simpler ways of going about that, no?
ImmaculateDeception wrote:If someone wants to make the editor, it might be easier; if not, it's really not easier to have to additionally type a bunch of XML tags, even assuming you get them all right on the first try. Sorry, dude.
grapesmoker wrote:It's much easier to make people format their packets consistently in Word and then have a script that converts to your favorite markup.
ArloLyle wrote:I don't know, maybe I'm thinking about this from my point of view instead of that of other people who would be resistent to this type of thing. At this point, when I'm creating some document that needs to be formatted a certain way I'd rather use latex. I'm sure I'm in a very small minority.
One stumbling block I forgot to mention is people's use of special characters, mainly those generated by Word when it completes "smart quotes" or some such thing. I heartily encourage all Word users to turn these features off.
kactigger wrote:How do you (turn off smart quotes)
ASimPerson wrote:Someone needs to just do this. I started on something similar once like 3 years ago but then I got busy with a project or some crap and I never finished it.
TU: Released in 2003, in this game you play a nameless New Jersey-ite who receives help from store owner Stacy Peralta, pro Chad Muska, and childhood friend Eric Sparrow. A jealous Eric cheats, framing you for crashing a tank in Moscow. It is the first game in the series to make use of extensive cut-scenes, including one in which you jump off of a building and perform a McTwist over a helicopter. For ten points, name this title in which you progress from a local amateur to a sponsored professional skateboarder.
ANS: _Tony Hawk Underground_ (prompt on "THUG")
==Oh, yeah, you do comments like this
=:
Multi-line comments work like this.
Handy for commenting out whole questions at a time.
:=
TU: Books published with his name following his death include four titles
in the Covert One series, "co-written" by both Gayle Lynds and Patrick
Larkin. Born in 1927, his first calling was in theater, where he operated
the Playhouse on the Mall in Paramus, New Jersey. His first book, *The Scarlatti Inheritance*, was released in 1971, while *The Osterman Weekend* was released one year later. Several of his books have been made into films, including *Osterman*, *The Apocalypse Watch* and a pair of movies starring Matt Damon as a secret agent with amnesia. FTP name this author responsible for *The Bourne Identity* and its sequels.
ANS: Robert _Ludlum_
B: Nothing on earth is more important than a clean toilet. Identify the
following toilet cleaners FTPE.
PART: This cleaner with a bird-like application nozzle comes in several varieties including Liquid Rimblock and Ultra Gel and is manufactured by SC Johnson, A Family Company.
ANS: _Toilet Duck_
PART: Advertisements for this line of bathroom cleaners have featured animated versions of the product attacking toilet filth to the accompaniment of Ride of the Valkyries.
ANS: _Scrubbing Bubbles_
PART: Chappelle's Show aired a spoof commercial for Potty Fresh, a toilet cleaner featuring this rapper famed for such songs as "Rockafella" and "Smash Sumthin" riding a jet ski in a woman's toilet.
ANS: _Redman_ (also accept Reggie _Noble_)
B: When you think of country, you think of New Jersey. Name these
musicians on a 15-5 basis.
PART: [15] Born while his father was temporarily working in New Jersey, he had a country #1 with his debut single in 1989.
PART: [5] In addition to 1989's "A Better Man", other #1's include 1999's
"When I Said I Do", a duet with his wife Lisa Hartman.
ANS: Clint _Black_
PART: [15] Born in Princeton, New Jersey, she traveled the Washington
D.C. coffeehouse circuit before releasing her first album, *Hometown Girl*.
PART: [5] This "Down at the Twist and Shout" and "Shut Up and Kiss Me" singer attended not Princeton, but Brown University.
ANS: Mary Chapin _Carpenter_
<round number="">
<tournament year="2005">
<year>2005</year>
<name>TRASH Regionals</name>
<qtype></qtype>
</tournament>
<questions>
<tossup>
<part>Released in 2003,...a sponsored professional skateboarder.</part>
<answer>_Tony Hawk Underground_ (prompt on "THUG")</answer>
</tossup>
<bonus type="STANDARD">
<leadin>Nothing on earth is more important than a clean toilet. Identify the
following toilet cleaners for ten points each.</leadin>
<cycle>
<part>This cleaner...A Family Company.</part>
<answer>_Toilet Duck_</answer>
</cycle>
<cycle>
<part>Advertisements...the Valkyries.</part>
<answer>_Scrubbing Bubbles_</answer>
</cycle>
<cycle>
<part>Chappelle's Show...riding a jet ski in a woman's toilet.</part>
<answer>_Redman_ (also accept Reggie _Noble_)</answer>
</cycle>
</bonus>
</questions>
</round>
leapfrog314 wrote:kactigger wrote:How do you (turn off smart quotes)
In Word 97-2003, it's under Tools > AutoCorrect Options. In Word 2007 it's under Options > Proofing > AutoCorrect Options. Either place, you can turn off unhelpful features like "smart quotes" and "capitalize things that you think are the beginnings of sentences even when they're not" and "make numbered lists when I don't want them" and so forth. Good stuff.
Return to College area archives
Users browsing this forum: No registered users and 0 guests