Rules
Terms of Use

Topic Options
#557355 - Wed Oct 13 2010 02:58 PM Problem with quiz
GuruOfTrivia Offline
Enthusiast

Registered: Mon Jul 05 2010
Posts: 219
Loc: New York USA
Hi, I've just finished authoring a quiz on HTML but have encountered a problem. Upon trying to submit it, I was presented with the following line of text:
Quote:
Error: Please no HTML in your intro!


I believe I received this message because in my intro I noted that the "'<' and '>' symbols have been dropped to make the tags visible." So the site thinks that I am trying to use HTML in my quiz and won't let me submit. I would just refer to the symbols by their names (greater than and less than symbols), but that takes up quite a few of the precious 250 allotted characters.

I do see, however, that in this quiz, the author made almost the exact same note.

I appreciate any and all help!


Edited by GuruOfTrivia (Wed Oct 13 2010 02:58 PM)
_________________________
Just call me Guru.

Top
#557356 - Wed Oct 13 2010 03:00 PM Re: Problem with quiz
GuruOfTrivia Offline
Enthusiast

Registered: Mon Jul 05 2010
Posts: 219
Loc: New York USA
Just to be clear the "this quiz" text in my post is a link.
_________________________
Just call me Guru.

Top
#557375 - Wed Oct 13 2010 04:13 PM Re: Problem with quiz
WesleyCrusher Offline

Administrator

Registered: Thu Sep 04 2008
Posts: 7583
Loc: Germany
Guru, the quiz you are referring to is quite old - the HTML filter was likely very different then.

Have you tried switching the symbols around, listing the ">" first?
_________________________
FunTrivia Editor (Hobbies and Sci/Tech) and Administrator
Guardian of the Tower

Top
#557376 - Wed Oct 13 2010 04:14 PM Re: Problem with quiz
CellarDoor Offline
Multiloquent

Registered: Sat Feb 12 2000
Posts: 4894
Loc: Seattle
Washington USA
The quiz that you refer to -- which uses < and > in its introduction -- is a very old quiz, with a last-modified date of 2002. The banning of HTML in quizzes is much newer; if memory serves, the ban started as tournaments and timed games started taking off, since HTML code made questions much less flexible for different display modes. (I don't think the ability to play a quiz in Flash mode was even available yet at that time!)

The older quizzes -- which include a few Brain Teasers that use color text for some words -- are sort of grandfathered in. If the author came in now and tried to save the quiz (presuming it weren't archived), it would be yanked offline automatically with exactly the same message you receive. The algorithm for identifying html code is, as you say, pretty simple and does yield some false positives. I have two suggestions for finishing up your intro:

1. I'm not sure exactly how the html code-checker works. If it looks for a matched pair of brackets -- a < occurring before a > -- then reversing the order (> before <) might help.

2. There is a shorter name for these symbols which will probably be more familiar to HTML programmers anyway: calling them "angle brackets" will take up fewer characters than "greater than and less than symbols".
_________________________
Just because there's twilight doesn't mean we can't tell the difference between night and day

Top
#557377 - Wed Oct 13 2010 04:15 PM Re: Problem with quiz
ozzz2002 Offline
Moderator

Registered: Mon Dec 03 2001
Posts: 20912
Loc: Sydney
NSW Australia
Guru, the quiz you linked to was written in 2002. In those days, HTML was allowed. If that quiz was to be edited today, it would not be accepted with the "<" ">" coding in it.

I have a few quizzes with HTML, mainly carriage returns ( <br > ), that I have had to replace over time.
_________________________
The key to everything is patience. You get the chicken by hatching the egg, not smashing it.

Ex-Editor, Hobbies and Sports, and Forum Moderator

Top
#557381 - Wed Oct 13 2010 04:35 PM Re: Problem with quiz
GuruOfTrivia Offline
Enthusiast

Registered: Mon Jul 05 2010
Posts: 219
Loc: New York USA
OK, I figured that's why the symbols were in the old quiz, but back to mine...

I tried WesleyCrusher's and CellarDoor's suggestion, and I'm still getting the same message. Here's an idea: would it work if I used HTML symbol codes? Those work in other areas of the site (see my funtrivia profile comments) where greater than and less than signs are not allowed to stop people from using HTML.


Edited by GuruOfTrivia (Wed Oct 13 2010 04:36 PM)
_________________________
Just call me Guru.

Top
#557409 - Wed Oct 13 2010 07:42 PM Re: Problem with quiz
gtho4 Offline
Administrator

Registered: Sun Dec 26 1999
Posts: 54484
Loc: Sydney
oz downunder
Have a look at the alterations to Q1 .. does that help?

Top
#557569 - Thu Oct 14 2010 03:06 PM Re: Problem with quiz
GuruOfTrivia Offline
Enthusiast

Registered: Mon Jul 05 2010
Posts: 219
Loc: New York USA
Thanks! It doesn't appear to have a problem with that. Now I can drop the problematic part from the intro, and do the same to all the other questions.
_________________________
Just call me Guru.

Top
#557570 - Thu Oct 14 2010 03:13 PM Re: Problem with quiz
GuruOfTrivia Offline
Enthusiast

Registered: Mon Jul 05 2010
Posts: 219
Loc: New York USA
AH! I did it with the rest of the quiz, and although it works in the questions, it does not work in the interesting info sections.
_________________________
Just call me Guru.

Top
#557617 - Thu Oct 14 2010 11:40 PM Re: Problem with quiz
Snowman Offline
Prolific

Registered: Wed Oct 31 2007
Posts: 1615
Loc: London, England
I don't think you need them in the info. It should be clear to players that are you referring to the tags without the symbols.

Top
#557968 - Sat Oct 16 2010 03:39 PM Re: Problem with quiz
GuruOfTrivia Offline
Enthusiast

Registered: Mon Jul 05 2010
Posts: 219
Loc: New York USA
In that case problem solved! Thanks!
_________________________
Just call me Guru.

Top

Moderator:  agony