Differences between revisions 21 and 22
Revision 21 as of 2009-07-03 00:51:47
Size: 5740
Comment:
Revision 22 as of 2009-07-17 16:58:37
Size: 5724
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
[[attachment:style_D_style]] a style sheet to go with the template, instantiated as an image [[attachment:style.css]] a style sheet to go with the template, instantiated as an image
Line 13: Line 13:
[[http://www.server-sky.com/slides/plug_general_2009_07_02/]] a very short presentation (about wydiwys) made with wydiwys. [[http://www.server-sky.com/slides/wydiwys_demo]] a very short presentation (about wydiwys) made with wydiwys.

WYDIWYS

downloads

wydiwys perl code

template.html an html template file, contains the javascript buttons

style.css a style sheet to go with the template, instantiated as an image

design example control file, piped as standard input into wydiwys

http://www.server-sky.com/slides/wydiwys_demo a very short presentation (about wydiwys) made with wydiwys.

usage - Navigating a WYDIWYS presentation

WYDIWYS output presentations are intended for use with any browser with javascript and flash animation capabilities. It has only been tested so far with Linux, and a brief test on a Mac. With Firefox under Linux, there are 5 buttons:

PAGE UP, UPARROW, BACKSPACE

Previous Slide

PAGE DOWN, DOWNARROW, SPACE, left_Mouseclick

Next Slide

HOME

First Slide

END

End Slide

ENTER

Navigate to/from menu

For most browsers, F11 toggles between regular and fullscreen display. In the menus, you can navigate to other menu items by clicking on them as hyperlinks.

The first slide of the presentation is aliased to 00000.html, aaaaa.html, index.html, and zzzzz.html .

description ... sorta

WYDIWYS ( What You Draw Is What You See) is a cheap hack for making image-based slide presentations that can be shown with any web browser on any platform. WYDIWYS does not create content, it just arranges a series of html slides, each with a pointer to a browser-compatible image, with navigation javascript to link them all in a hierarchical way. The images ( PNG and SWF preferred, but GIF, JPG, and any other format a browser can render is acceptable) can be made with any image composition process, including ad-hoc programs driving LibGD, GnuPlot, Mathematica, the Gimp, Photoshop, digital camera output, screenshots, and so forth. Powerpoint and OpenOffice Impress can output single slides as images; these can be used as source images, too, too. You can turn a series of images into a SWF ( ShockWaveFlash , pronounced "swiff" ) movie with the open source swftools.

WYDIWYS is written in Perl. It is uses an HTML template file, template.html, which may call a style sheet. There is more information about operation in the perlpod documentation inside WYDIWYS, which Linux users can see with "perldoc ./wydiwys".

The motivation for this is that all presentation programs suck, especially when they talk to each other. They are dependent on fonts, and what the presenter (and version) does with them. They use "slide sorters" for navigation, a metaphor made obsolete by hyperlinks. They present animation very badly. They scale badly to screen size. It is very difficult to evolve a presentation into multiple versions and maintain the versions as a group.

If slide images are rendered down to and stored as full-screen pixel-based images, they cannot be mis-rendered. Ditto for simple Flash movies. The same image can be used in multiple presentations, and with Linux hard links, updating an image will propagate to all the presentations.

This is not a real-time text rendering system like Eric Meyer's S5 or Eric Wilhelm's Text::Slidez, two great products of the Eric Conspiracy. Since many slide sets are all text, these tools and others like them can be great front-end composition tools. Some kind of macro or add-on for Firefox, to render a sequence of these slides to fixed names and locations, suitable for processing by WYDIWYS, would be very handy.

Slides are connected by hyperlinks, not just simple forward and back. WYDIWYS adds a third control, "enter", which is used to navigate up and down through hierarchy. With a few clicks on a wireless presenter control, or with keyboard buttons or mouse, the user can quickly navigate to any part of a presentation.

WYDIWYS builds from a simple text design control file, described in the perlpod documentation. The design file can be built by other programs, though a text editor is good enough for composing most shows. Multiple design files can use the same slide images to build different presentations. Since the composition is controlled with text files, the construction and maintenance of presentations can be controlled with "make", integrated design environments, and revision control systems.

WYDIWYS presentations are started by browsing one of 00000.html, aaaaa.html, zzzz.html, or index.html .

WYDIWYS builds a subdirectory called "design" which contains a copy of the original design file ("design_original"), template file, and a copy of wydiwys itself. The directory also contains a design file called "design_proto". If WYDIWYS is run from the design directory, with "./wydiwys < design_proto", it will make a duplicate of the presentation underneath it. This is useful as a starting place for making a modified presentation. By changing INDIR and OUTDIR in design_proto, the duplicate can be built someplace else.

This is most definitely alpha code, and needs the attentions of competent programmers (incompetent programmers, please contribute to other projects!). But it works OK for me. It was developed for Linux, it should be easy to port to Mac, and if you run Windows, then I must inform you that God hates your operating system.

Note: renamed WYDIWYS from Makeshow

wydiwys (last edited 2021-06-08 17:28:02 by KeithLofstrom)