Slideshow Test

Wiki-Independent Slideshow

(see also: Slideshow)

The KwikiSlideshow is a great idea, but I don't see why any well-formed page can't perform the slideshow just using the DOM. I don't know enough JavaScript to save my own life, but given enough Copious Spare Time (ha!) I can't see why I couldn't pick up on the section <div>s and get it up and running...

... okay, that's done. Now, how do I pop it up in another window? :)

Platform

  • Wiki is based on PyDS, a Python-based competitor to Radio UserLand.
  • PyDS WikiTool acts somewhat like a private Wiki
    • completely lacks all of the cultural and collaborative aspects of a Wiki, but enjoys the same ease of carving out a document space.

Format

  • PyDS lets you maintain items in reStructuredText (reST)
    • well-defined, text based format
    • hyperlinking syntax easily grokked by anyone who has used a Wiki
    • easy-to-use heading syntax
      • result: sections

SlideShow Script

  • scan the document for sections

    • Requires easy way to identify sections

    • Scanning document for <hr> nodes would have worked

    • reST output made it easier to use getElementsByTagName:

      <div class="section">
      
  • hide them:

    style.display = "none"
    
  • reveal them in order

  • hide/reveal buttons accordingly

Summary

  • Any Wiki can host client-side slideshows, even without back-end support

End of Show

Any questions?

Letterimage

last change 2003-05-23 18:58:40

Garth is testing PyDS rather more extensively than at first he thought he would.

XML-Image Letterimage

© 2004, Garth T Kidd