[projectaon] Re: Freeway Warrior XML and FWAC investigation.

  • From: Iain Smith <iainsmith@xxxxxxxxx>
  • To: projectaon@xxxxxxxxxxxxx
  • Date: Thu, 29 Jun 2006 04:41:58 -0700 (PDT)

Blimey, that's an old mail you're responding to Jon ;)  I doubt I'll have the 
time to put
much effort into the interactive FWAC any time soon due to family commitments 
(blah,
blah).  If I spend any time on FWAC in the near future it will probably be to 
create a
streamlined standalone version which I'll try to get completed and tested for 
the release
of FW1, that would probably be better use of my time and easier to support.  
This could
then be expanded if necessary for the remaining three books as they are 
released.

The integrated browsing is still something that's probably worth looking into, 
but I
think it would probably be wiser to await a decent, free HTML renderer for Java 
rather
than hacking around with the HTML code on the fly (which would effectively 
require
recompilation of FWAC every time the HTML extensively changed). 

Flying Saucer ( https://xhtmlrenderer.dev.java.net/index.html ) seems to have 
been
updated since the last time I looked at it.  I'll try to take a look at it 
soon; if it
ever gets to a usable state it would be a better approach, though using it 
would require
FWAC to be released under the LGPL; I'm not sure if this would concern people.  
Of
course, Sun may actually get around to supplying an HTML 4/CSS compliant 
renderer with
java at some point (yeah, right!).


Iain.

--- Jonathan Blake <blake.jon@xxxxxxxxx> wrote:

> On 12/20/05, Iain Smith <iainsmith@xxxxxxxxx> wrote:
> > I've spent a few hours playing with the FW XML and FWAC java source, 
> > investigating
> the
> > ideas I have regarding item handling.  I did manage to get something 
> > running, albeit
> in a
> > rudimentary manner.  I've cover these briefly.
> >
> > XML file:
> > =========
> > I updated my local copy of the 01HH XML file, modifying the item class 
> > entries to add
> > extra information fields, for example:
> >
> > Picking up a mirror:
> > <typ class="item">Mirror</typ>
> > <typ class="item" type="backpack" event="pickup">Mirror</typ>
> 
> This is a step in a good direction, although we do have an "item" tag,
> so this could be:
> 
> <item type="backpack" event="pickup">Mirror</item>
> 
> > Are you carrying a Mirror:
> > <typ class="item">Mirror</typ>
> > <typ class="item" type="backpack" event="check">Mirror</typ>
> 
> This would require a new element (or possibly just use an old one).
> 
> 
> > HTML File:
> > ==========
> > Once generated, the HTML resembles this (taken from 01HH, sect303)
> > <li><span event="pickup" type="backpack" class="item">Telescope</span></li>
> 
> I'm not excited about the non-standard HTML attributes. :) I'm still
> trying to figure out the best way to store this kind of info while
> sticking to the standard.
> 
> --
> Jon
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Other related posts: