Powerpoints in Resourcespace

285 views
Skip to first unread message

Gary Etchells

unread,
Nov 29, 2011, 6:22:58 AM11/29/11
to ResourceSpace
Hi Everyone,
its my intention - although i'm not entirely sure if its possible, to
upload powerpoints that can then be run or previewed in RS. i looked
into the scribd.com site that looks useful, however, there are no
further details on it.
Anyone got any ideas what could be done to allow this?

Thanks in advance
Gary

mrpatulski

unread,
Nov 29, 2011, 7:23:54 AM11/29/11
to resour...@googlegroups.com

Gary Etchells

unread,
Nov 29, 2011, 7:57:18 AM11/29/11
to ResourceSpace
Sorry - i didn't mention that we're running RS on Server 2008 R2...

John Brookes

unread,
Dec 2, 2011, 5:32:34 PM12/2/11
to resour...@googlegroups.com
Hi Gary

You'll probably not get much help with Windows Server round here, and I do not think that is what you want, is it?  OO integration will simply generate a static preview, where you are talking about running it.  That requires either saving the file as a movie / flash file, or finding a browser based PowerPoint viewer that does not rely on having Office installed on your PC.  By the way, if you do just want a static preview, you can install OO on a windows server...

This could be written as a plug-in, but may be difficult to get working on Windows, Linux and Mac servers.

Regards
John

Gary Etchells

unread,
Dec 5, 2011, 7:09:17 AM12/5/11
to resour...@googlegroups.com
I found a program call ispring that creates swf files which include all animations from power points...
Just cant seem to find a way to get it to produce the output in Resourcespace... im not even  sure if its possible!
Thanks
Gary

Sent from my iPhone
--
You received this message because you are subscribed to the Google Groups "ResourceSpace" group.
To view this discussion on the web visit https://groups.google.com/d/msg/resourcespace/-/UmHDUgA78ogJ.
To post to this group, send email to resour...@googlegroups.com.
To unsubscribe from this group, send email to resourcespac...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/resourcespace?hl=en.

David Mac (new)

unread,
Dec 5, 2011, 9:17:21 AM12/5/11
to ResourceSpace
Hi Gary

You would have to modify the code in include/preview_preprocessing.php

This is where the previews are generated.

Does iSpring have a command line interface?

Alternatively, could you use iSpring to convert the PPT files for SWF
then upload the SWF files?

Regards

David

On Dec 5, 12:09 pm, Gary Etchells <gary.etchel...@gmail.com> wrote:
> I found a program call ispring that creates swf files which include all
> animations from power points...
> Just cant seem to find a way to get it to produce the output in
> Resourcespace... im not even  sure if its possible!
> Thanks
> Gary
>
> Sent from my iPhone
>

> On 2 Dec 2011, at 10:32 PM, John Brookes <j...@RSintheCloud.com> wrote:
>
> Hi Gary
>
> You'll probably not get much help with Windows Server round here, and I do
> not think that is what you want, is it?  OO integration will simply
> generate a static preview, where you are talking about running it.  That
> requires either saving the file as a movie / flash file, or finding a
> browser based PowerPoint viewer that does not rely on having Office
> installed on your PC.  By the way, if you do just want a static preview,
> you can install OO on a windows server...
>
> This could be written as a plug-in, but may be difficult to get working on
> Windows, Linux and Mac servers.
>
> Regards
> John
>
> --
> You received this message because you are subscribed to the Google Groups
> "ResourceSpace" group.

> To view this discussion on the web visithttps://groups.google.com/d/msg/resourcespace/-/UmHDUgA78ogJ.

David Mac (new)

unread,
Dec 5, 2011, 9:22:54 AM12/5/11
to ResourceSpace
OK, I see it does have an SDK and command line interface... so you
will need to do the following:

Modify the code in the above file to pass anything with a valid
powerpoint extension to iSpring....

Line 417 checks for pptx files, I'm not sure if it would work, but you
could try adding a test here, and then uploading it as a video file to
see what happens (ie select video as the asset type on upload).

Just off the cuff thoughts, I'm sure someone will be a long soon with
a better idea ;)

Regards

David

Gary Etchells

unread,
Dec 5, 2011, 1:57:57 PM12/5/11
to resour...@googlegroups.com
Cheers for that... Was thinking of asking but didn't want to nag!

How would I pass it to ispring? When I publish from PowerPoint it gives me three files, index.html, the swf file and one that I can't remember the extension for...
I can upload all three files to our noodle server and it displays perfectly... But can't add the structure to rs uploads...

As always, any help would be great... I'll look into it further tomorrow

Hope everything is ok with you!

Gary :)

Sent from my iPhone

David Mac (new)

unread,
Dec 5, 2011, 2:55:57 PM12/5/11
to ResourceSpace
No problem, good but busy at this end, thanks for asking ;)

I would suggest that you write some kind of script ( bash / php /
perl ) that you call from preview_preprocessing.php which returns the
filename of the generated preview.

Then you can pass the preview file name back into RS.

The full path to the preview would need to be accessible by apache /
rs to be able to display it.

I don't know much about iSpring, but that's the way I would handle it
with other systems. Take a look at how the other previews are
generated using qttools etc.

Regards

David

On Dec 5, 6:57 pm, Gary Etchells <gary.etchel...@gmail.com> wrote:
> Cheers for that... Was thinking of asking but didn't want to nag!
>
> How would I pass it to ispring? When I publish from PowerPoint it gives me three files, index.html, the swf file and one that I can't remember the extension for...
> I can upload all three files to our noodle server and it displays perfectly... But can't add the structure to rs uploads...
>
> As always, any help would be great... I'll look into it further tomorrow
>
> Hope everything is ok with you!
>
> Gary :)
>
> Sent from my iPhone
>

mrpatulski

unread,
Dec 5, 2011, 2:56:48 PM12/5/11
to resour...@googlegroups.com
You may want to reconsider a Flash based solution given the emergence of HTML5. Adobe is beginning to curtail Flash development--has stopped on mobile flash already-- and is favoring HTML5.  

Have you considered using/building a SVG based solution since its W3C standards compliant.  Here are some options for converting documents to SVG. 

PPT
http://www.verydoc.com/blog/a-way-to-convert-powerpoint-to-svg-in-batches.html

PDF

This library creates a fall back via flash--same best practice used in video for IE6/7/8 and ff <4

Tangential but also may be of some interest for other formats.

Gary Etchells

unread,
Dec 8, 2011, 8:08:58 AM12/8/11
to ResourceSpace
David
Script writing isn't my strong point... i can upload the swf to our
moodle server, and it displays, i was just wondering if a similar
output is possible with RS...
i checked out line 417 as you suggested but it appears to be referring
to MS Word .doc extensions.
not a major problem if it isn't possible, but it would be a great
asset to us if it could be done.
Cheers for the reply - if i find anything i'll let you know
Gary

Tom Gleason

unread,
Dec 8, 2011, 9:38:31 AM12/8/11
to resour...@googlegroups.com
$display_swf=true; $display_swf_xlarge_view=true;
will play allow Resource which are swf files to be played in the browser. 

This enables the code in pages/swf_play.php, which can be customized a bit pretty easily.

There are three issues in your case:
1. gnash-dump may be hard to compile on Windows, so you might need to upload a Preview Image manually.
2. Your main resource would probably want to be the powerpoint, not swf, so this solution may not work for you.
3. Since SWF files can be pretty much any size and are not always scalable, this doesn't always work for all types of swf files. 

Try $display_swf first, because that might give you a feel for any potential.

Ideally, in your case, you're looking for:
1. Upload a powerpoint
2. system automatically creates a swf alternative (using ispring command line perhaps), and generates static preview images from the powerpoint or swf (powerpoint is probably easier, but this step would also require some extra software and custom code to support it, such as unoconv or gnash-dump).
3. this alternative is played in the browser at the correct size, etc. (this is also not always straightforward in my experience, as swf files can take many shapes and sizes. It may be simpler if all the swfs in your case are of the same type-powerpoint conversions.)
But, there is no processing pipeline to set up like this in RS at this time.

Tom


--
Tom Gleason
Vice President, Engineering
Colorhythm LLC
http://www.colorhythm.com

Main Office:  +1 415-399-9921
Fax: +1 253-399-9928
Mobile:  +1 347-537-8465

tgle...@colorhythm.com

Gary Etchells

unread,
Dec 8, 2011, 10:36:07 AM12/8/11
to ResourceSpace
adding the
$display_swf=true;
$display_swf_xlarge_view=true;
lines to the config.default.php file works!!!.. .it displays without a
preview (i'm not really that bothered about this)
Thanks for the advice...
Gary

> Colorhythm LLChttp://www.colorhythm.com

Tom Gleason

unread,
Dec 8, 2011, 12:15:53 PM12/8/11
to resour...@googlegroups.com
Glad to hear. 

If you haven't seen it, 

This shows what is possible with gnash-dump in terms of getting previews automatically; but again, I'm not sure if this is possible to make work in Windows. 
Reply all
Reply to author
Forward
0 new messages