Results 1 to 7 of 7
  1. #1
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Yet another PPT to HTML Conversion (2002-2003)

    While everyone seems to have a different preference for posting presentations on the web, one thing is certain: Microsoft's built-in converter is very IE-centric and creates a rather poor version for Firefox/Mozilla (and Netscape 6+) users.

    In designing an alternative, I considered an approach that would display the text as text, but this does not match up easily to the original so in the short run, I decided to stick with graphical slides. To reduce the size of the images, I separated the background from the slide content, with the background containing the complete goodies from the slide master (currently only 1 is supported at a time) and the individual slide overlays having a transparent background. This doesn't really work for gradient backgrounds, but it is effective for solid colors. I put the slide list in a pop-up and enabled the left and right arrow, page up and down, and home and end keys for navigation. There are some glitches, but I am ready to solicit feedback.

    If you're interested take a look at this sample presentation from the U.S. Centers for Disease Control; don't worry, no gory pictures.

    Original PowerPoint file:
    http://www.cdc.gov/nccdphp/dnpa/5ADa...ruitVegR2P.ppt (about 713KB)

    Converted to web:
    http://jscher2000.home.att.net/lounge/ppt/ (web page)
    http://jscher2000.home.att.net/loung...C_FruitBev.zip (complete 307KB archive)

  2. #2
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Yet another PPT to HTML Conversion (2002-2003)

    That's quite impressive. Does it handle slides with graphics as well as text? What does it do with animations?

    StuartR

  3. #3
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Yet another PPT to HTML Conversion (2002-2003)

    Stuart, thanks for looking. It handles clipart better than photos: since it saves to GIF format, there is some loss of color information in photos. It makes no effort to preserve animations, simply capturing the slide as it appears in the composition window.

    For anyone reading, here is a slightly updated set of links. There now is a little "Loading..." message that displays when a new image is requested (until it has completely loaded):

    http://jscher2000.home.att.net/lounge/ppt/index_A.html (web page)
    http://jscher2000.home.att.net/loung...C_FruitVeg.zip (complete 308KB archive)

  4. #4
    Star Lounger
    Join Date
    Jan 2004
    Posts
    65
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Yet another PPT to HTML Conversion (2002-2003)

    I think it's fantastic - only downloading the info for what is on the slide master is a brilliant idea.

    - Can it cope with the odd slide that has set "omit info from slide master" ?
    - Can it cope if the photo on the slide master moves about (so long as the text does not overlap it?)
    - I bet it would work a treat if the background had a tinted / colour washed in a single color image ?

    It gets my vote anyway!!!!

    Cheers
    TAJ Simmons
    microsoft powerpoint mvp

    awesome - powerpoint backgrounds

  5. #5
    Super Moderator WebGenii's Avatar
    Join Date
    Jan 2001
    Location
    Redcliff, Alberta, Canada
    Posts
    4,066
    Thanks
    2
    Thanked 5 Times in 5 Posts

    Re: Yet another PPT to HTML Conversion (2002-2003)

    Very nice - is this the result of the code you posted in a previous thread?
    [b]Catharine Richardson (WebGenii)
    WebGenii Home Page
    Moderator: Spreadsheets, Other MS Apps, Presentation Apps, Visual Basic for Apps, Windows Mobile

  6. #6
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Yet another PPT to HTML Conversion (2002-2003)

    Thanks, TAJ.

    > Can it cope with the odd slide that has set "omit info from slide master" ?

    Uh, no. <img src=/S/grin.gif border=0 alt=grin width=15 height=15> I'm not sure what such a slide looks like; would it have its own background coloration? If it uses a background of even a slightly different shade than the master, there would be no transparency for that slide image: it will look exactly as it does in the composition window, covering over the background image captured from the master.

    > Can it cope if the photo on the slide master moves about (so long as the text does not overlap it?)

    If a photo is animated, the background image will simply show the final position -- I create a blank slide from the master and save that as the background, as it appears in the composition window. If you mean that the user copied the master elements into a slide and manually moved something, then the background might "show through" in an inappropriate way... I'd need an example to test.

    > I bet it would work a treat if the background had a tinted / colour washed in a single color image ?

    For best results, the background color of the master should be a solid color with anything fancy inserted over it. Otherwise, the individual slides will duplicate a lot of the background, since GIF can only make one color transparent. (I can try to post an example.)

  7. #7
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Yet another PPT to HTML Conversion (2002-2003)

    <P ID="edit" class=small>(Edited by jscher2000 on 16-Nov-05 01:07. )</P>I haven't posted it yet, as it's still getting frequent revamps. (The template for the HTML is stored in a textbox on a userform. This enables the solution to be distributed as a single PPT file. However, it's a little messy for me to edit. <img src=/S/grin.gif border=0 alt=grin width=15 height=15> ) After dealing with the lists below, I will post a link to it.

    Note that another component currently is required, ImageMagick, an open source image editing program that I use to create the GIFs from the higher quality PNGs I save out of VBA. This program has a COM object "wrapper" to handle the transparency issue that is central to the whole concept.

    Questions I have yet to resolve in my mind:

    (1) if the presenter wants to make the Speaker Notes available, where should they go and how should this be signaled to the reader?
    (2) if I enable slide "builds," what is the most bandwidth efficient to do it?

    Features that have not yet been coded:

    (1) Embed all of the slide text into the navigator and let the reader toggle the "slide titles" and "detailed" views
    Update: This feature has been implemented, see http://jscher2000.home.att.net/lounge/ppt/index_E.html
    (2) Client-side image maps for hyperlinks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •