Shattered Kingdoms
https://shatteredkingdoms.org/forums/

Help (website) bug.
https://shatteredkingdoms.org/forums/viewtopic.php?f=26&t=23044
Page 1 of 1

Author:  the_me [ Fri Sep 21, 2012 7:59 am ]
Post subject:  Help (website) bug.

Noticed making my ridiculous skill/spell post that the website help is flawed. Seems the parts under syntax enclosed in "< >" do not appear. Likely interpreted as HTML tags. Should be as simple as parsing them as &lt; and &gt;.

Author:  the_me [ Fri Sep 28, 2012 3:40 pm ]
Post subject:  Re: Help (website) bug.

http://www.shatteredkingdoms.org/help/726

Can I take silence as acknowledgement? Does the syntax section not raise an eyebrow for anyone?

Author:  Dulrik [ Sat Sep 29, 2012 9:14 am ]
Post subject:  Re: Help (website) bug.

I reported this myself long ago.

Author:  Viltrax [ Thu Oct 04, 2012 9:33 am ]
Post subject:  Re: Help (website) bug.

There is an automatic parser in use (in python, actually) that was contributed and very cleverly converts in-game help to HTML. It's also scripted to check if the help file changes and update the website accordingly.

Unfortunately however we didn't catch a few items that we found since it went live:
1. angle brackets aren't converted to the proper HTML entities (&gt; and &lt; etc.)
2. some old help entries should not be listed (e.g. the *delear entry at the top of the help list)
3. management versions of the help files aren't coming out as planned, making it a bit harder than usual to edit some of the existing help entries

There's also some fancy features we'd like to add (hot linking the "see also" footer in help entries; enabling keyword search across all help text; and others). Unfortunately I haven't had time to re-establish contact with the contributor to develop to parser further.

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/