deckdeckgo icon indicating copy to clipboard operation
deckdeckgo copied to clipboard

studio: import and upload content from popular format like pptx

Open peterpeterparker opened this issue 6 years ago • 8 comments

Description

It might useful, specially for editor who already have many existing presentations, to be able to import and upload content from popular format like pptx

Development

Maybe we could develop this in two steps, a spontaneous idea:

  1. We develop a parser which convert a popular format to html, which could be injected into a starter kit presentation

It would be something close to our custom markdown webpack plugin except with another input

  1. If parser works well, then it could be integrated to the editor

peterpeterparker avatar Oct 01 '19 14:10 peterpeterparker

hey @peterpeterparker do you care if I took a look at this?

grantlouisherman avatar Nov 20 '20 20:11 grantlouisherman

sure @grantlouisherman always happy to get some help!

note: the description of the issue, specially the "development" part might now be up-to-date and correct anymore. I think we should treat it as nothing more than a blank page with the goal to be able to "import from pptx". open to idea and solution

peterpeterparker avatar Nov 20 '20 20:11 peterpeterparker

yeah I think it will probably require a discussion. So you would want to simply import a Powerpoint and convert that to a DeckDeckGo presentation?

grantlouisherman avatar Nov 20 '20 20:11 grantlouisherman

yes that's my understanding too. the idea is not mine but was suggested by our beta testers or more recently by some users. so yes, being able to provide a powerpoint and convert it to a deckdeckgo presentations.

to be honest, it sounds tricky to me, so really, really happy to get any help on this!

peterpeterparker avatar Nov 20 '20 20:11 peterpeterparker

I mean it’s a super cool feature. Yeah in the browser is going to be interesting but let me poke around and I’ll get back to you. 👍

grantlouisherman avatar Nov 20 '20 21:11 grantlouisherman

Sounds like a plan, thx!

peterpeterparker avatar Nov 20 '20 21:11 peterpeterparker

hey @peterpeterparker so I just wanted to give you an update. I have learned that PowerPoints are in the Microsoft Open XML format. This format does differ from XML format in the sense that they have their own tags for how slides relate to each other. I found a few resources that I am going to take a look at this week, one of which is the Microsoft API for Open XML.

For your reference:

  • http://www.ericwhite.com/blog/open-xml-and-javascript/

  • https://github.com/liamsi/Open-XML-SDK-for-JavaScript

grantlouisherman avatar Dec 07 '20 03:12 grantlouisherman

really cool @grantlouisherman thank you for the feedback! such a weird format, it already sounded tricky before, even more know 😉 looking forward to hear about your discovery!

peterpeterparker avatar Dec 07 '20 16:12 peterpeterparker