rob_d — 2008-10-01T06:45:04-04:00 — #1
We need CMS admins to be able to upload PPT presentations to a web site that will be converted to a suitable format for visitors to view on a web page.
I'm probably looking for server software that will convert a PPT to Flash while maintaining all the transition elements of the PPT.
If not, then a server PPT to JPEG converter will suffice.
Does anyone have anything on this?
codermaya — 2008-10-01T07:21:19-04:00 — #2
This doesn't belong in the Application Design forum.
rob_d — 2008-10-01T07:32:21-04:00 — #3
Well, we are designing a web application using PHP, but if admin care to move this elsewhere more appropriate I won't complain!
kyberfabrikken — 2008-10-01T09:06:56-04:00 — #4
You might be able to do something with open-office.
fattyjules — 2008-10-12T06:04:11-04:00 — #5
Check out S5. It doesn't answer your question, but might throw a new perspective on your problem.
rob_d — 2008-10-30T20:41:50-04:00 — #6
Thanks, guys, for your answers - doesn't seem to be a server side solution for what I need. At the moment it looks like exporting PPT slides to JPEG and uploading those to the server where a PHP script generates a Flash slide show via XML... Bit of a nuisance for users.
crabby80 — 2008-10-31T05:15:15-04:00 — #7
Some handy server side tools here http://www.swftools.org/
Why not use PHP COM to convert PPT to jpgs or is that what you meant?
rob_d — 2008-10-31T10:52:13-04:00 — #8
Thanks for the lnk.
PPT to jpgs is fine, if server-side.
Can you point me to more info re PHP COM?
crabby80 — 2008-10-31T12:59:11-04:00 — #9
info on COM http://us2.php.net/manual/en/class.com.php
Code would be somthing like this
$powerpnt = new COM("powerpoint.application") or die("Unable to instantiate Powerpoint");
$presentation = $powerpnt->Presentations->Open(realpath($file), false, false, false) or die("Unable to open presentation");
foreach($presentation->Slides as $slide)
$slideName = "Slide_" . $slide->SlideNumber;
$exportFolder = realpath($uploadsFolder);
$slide->Export($exportFolder."\\\\".$slideName.".jpg", "jpg", "600", "400");
Please note I've not tested this and don't whether it works but hopefully should get the idea
rob_d — 2008-11-20T07:37:11-05:00 — #10
I really need a converter without having PowerPoint installed on the server though...
kyberfabrikken — 2008-11-20T10:07:13-05:00 — #11
Did you try with open office? You can run open office from the command-line (Use shell_exec from PHP to call it).
The commandline variant of open office is called [open office headless](http://www.google.com/search?q=open office headless)
rob_d — 2008-11-20T11:14:40-05:00 — #12
OK, thanks. I'll look into it.
lftl — 2008-11-21T00:40:30-05:00 — #13
I haven't used them, but you could check out ASPOSE.slides.
They don't offer direct PHP support, but you could use their Java version relatively easily.
fobiopatel — 2009-07-20T11:14:29-04:00 — #14
did you look into it? if you did you would have found JODConverter and realized it is exactly what you are looking for.
The only solution I am comfortable with thus far (because I have used in the past) is using Sun’s “Open Office” in headless mode (on linux command line) to convert powerpoint presentations into SWF files.
We have to utilize JODConverter (which is JAVA based).
I’m 99% sure this will be the most desirable path, but we should certainly do some additional research into other solutions.
I can't post links because i'm a new member.