Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to convert a PowerPoint slide into HTML?

I am trying to insert PowerPoint slides into HTML preserving links in the PowerPoint slide. I was just wondering if any of you knew a good method to maybe exporting a PowerPoint slide to an HTML and then displaying it in a div on your page, with a link to say do a JavaScript function on that same page.

like image 395
Javed Ahamed Avatar asked Dec 30 '22 17:12

Javed Ahamed


2 Answers

I've never used it, but PPT2HTML might help. There's also this blog that describes how to save your presentation for the web then modify it.

This isn't exactly what you're after, but there are some html-based presentation tools like S5, DOMSlides you might want to consider as they wouldn't suffer from being translated.

like image 122
Rich Seller Avatar answered Jan 05 '23 09:01

Rich Seller


You can use the jQuery plugin called PPTXjs.

This plugin convert pptx to html using javascript only (no server side code needed).

It is based on PPTX2HTML but support a lot more shapes, media (audio, video) and more.

Using:

    $("#result").pptxToHtml({
        pptxFileUrl: "path/to/slide.pptx"
    });

For more details : https://github.com/meshesha/PPTXjs.

like image 30
tady meshesha Avatar answered Jan 05 '23 10:01

tady meshesha