views:

113

answers:

3

I want to show .ppt (PowerPoint) files uploaded by my user on my website. I could do this by converting them into Flash files, then showing the Flash files on the web page. But I don't want to use Flash to do this. I want to show it, like google docs shows, without using Flash.

I've already solved the problem for .pdf files by converting them into images using ImageMagick, but now I have trouble with .ppt files.

+1  A: 

I would maybe try using google docs API to first upload a ppt presentation and then download it back in a different format. I think it should be possible though I have not tested it.

jondro
@jondro:thanks i will try it
Peeyush
@jondro:if you found any other solution in any language the please tell me :)
Peeyush
Well i did a quick google search for a PHP powerpoint library before posting this answer and I have not found any, and if it's not on google it doesn't exist, right? I still think using some kind of API is the easiest way to go here, whether it will be slideshare or google doesn't matter.
jondro
+1  A: 

You can embed Google docs presentations in your site.

Emil
@Email:thank you very much
Peeyush
A: 

Now i found a solution to showing .ppt file on my website without using the flash

the solution is:

just convert the .ppt file to .pdf files using any language or using software(e.g. open office) and then use Imagemagick to convert that .pdf into image and show to your web page

once again thanks to you all for answering my question.

Peeyush