[Welcome to Sensei's Library!]

StartingPoints
ReferenceSection
About


Referenced by
PocketPC
SLSnapshot
PalmPilot
SenseisLibraryOnTour
WikiNews

 

PocketSL
    Keywords: Software

Mostly for personal use, I made a version of the SLSnapshot scraped and converted for viewing on a Pocket PC.

http://www.feniello.com/go/pocketsl/screenshot.gif

  • The nav section has been moved to the bottom
  • Diagrams have been rebuilt to fit a 240-wide screen
  • Alias pages removed and links swapped
  • Snapshot size reduced to ~10MB (unzipped)

[ext] http://www.feniello.com/go/pocketsl/

For direct browsing from your Pocket PC, visit: [ext] http://www.feniello.com/go/pocketsl/content/pages/r/referencesection.xml

A complete offline copy is available at: [ext] http://www.feniello.com/go/pocketsl/pocketsnapshot.zip

There are many flaws in the conversion but it is still quite usable. I'm planning to take a wiki [ext] database dump (5MB) and make a much better version but won't have time for a while.

Please feel free to do whatever you like with it within the SLCopyright.


HansWiezorke: Nice work. The formatting looks very handheld-friendly. I especially like the idea of having the diagrams put together from small gif's. Very efficient, when storage is an issue. :-)

AshleyF: I've never tried it on a Palm (someone else posted saying, "viewable on most hand-helds"). I've only tested on Pocket PC and SmartPhone. I've also never used JPluckX but I'm guessing that it doesn't like the fact that p.xsl is using the working draft namespace (http://www.w3.org/TR/WD-xsl) rather than http://www.w3.org/1999/XSL/Transform. The older Pocket PCs require it.

Here is a version of p.xsl using the proper namespace: [ext] http://www.feniello.com/go/pocketsl/p.xsl

Also, here is a version of the snapshot pre-transformed to HTML and with links swapped to *.htm. It's almost four times the size though! [ext] http://www.feniello.com/go/pocketsl/pockethtmlsnapshot.zip. Still it uses JavaScript to write out the diagrams so I'm not sure it will work on Palm.

Have fun!


HansWiezorke: Since many handhelds do not support JavaScript, I have written SLoT, which produces pretty much the same thing in pure HTML. See Senseis Library On Tour for details. I have also moved the discussion of this subject there.

Maybe we can make this tool into a universal generator, that can generate several different targets: html with images, html with ascii diagrams, PocketSL style xml with JavaScript, ...


Problems:

  • The diagram numbers and symbols are missing from the .xml-s (e.g. BC BS B1)
    • Not sure what you mean. You can see numbered stones in the screenshot above and examples of other markup on stones in the below (e.g. FalseEye and HalfEye pages):

http://www.feniello.com/go/pocketsl/bc.pnghttp://www.feniello.com/go/pocketsl/bs.png
If you're trying to use the XMLs as raw data for some other purpose then yes, the diagrams are in a very strange format such as:

 <d c="Empty triangle">
 aaaaaaaa|akkaakana|akaaakaaa|aaaaaaaaa|aaaaaaraa|akkkbkpka|aaaaak24a|aaAkaaaaa|aakBaaaaa|aaaaaaaaa
 </d>

'a' is an empty point, 'k' is a black stone, etc. Take a look at the mapping() function in p.xsl to see which image each character corresponds to.

BTW, I haven't updated this in quite a while. I'll get around to it soonish...



This is a copy of the living page "PocketSL" at Sensei's Library.
(OC) 2004 the Authors, published under the OpenContent License V1.0.