Shattered Kingdoms

Where Roleplay and Tactics Collide
VOTE NOW!
It is currently Sun Dec 22, 2024 3:01 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Help (website) bug.
PostPosted: Fri Sep 21, 2012 7:59 am 
Offline
Gold Donor

Joined: Sat May 24, 2008 11:20 pm
Posts: 2109
Location: Edmonton, Alberta
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;.


Top
 Profile  
Reply with quote  
 Post subject: Re: Help (website) bug.
PostPosted: Fri Sep 28, 2012 3:40 pm 
Offline
Gold Donor

Joined: Sat May 24, 2008 11:20 pm
Posts: 2109
Location: Edmonton, Alberta
http://www.shatteredkingdoms.org/help/726

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


Top
 Profile  
Reply with quote  
 Post subject: Re: Help (website) bug.
PostPosted: Sat Sep 29, 2012 9:14 am 
Offline
Implementor

Joined: Wed Feb 27, 2002 4:00 pm
Posts: 8220
Location: Redwood City, California
I reported this myself long ago.


Top
 Profile  
Reply with quote  
 Post subject: Re: Help (website) bug.
PostPosted: Thu Oct 04, 2012 9:33 am 
Offline
Webadmin

Joined: Thu Feb 28, 2002 4:00 pm
Posts: 2732
Location: Australia
SK Character: Viltrax
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.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 105 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group