tbar0970 / jethro-pmm

Jethro Pastoral Ministry Manager
GNU General Public License v3.0
36 stars 26 forks source link

Powerpoint slides from Service Content / Component #530

Open alwr opened 6 years ago

alwr commented 6 years ago

I've got a powerpoint macro which takes the service content html output and make powerpoint slides for all songs. I've started writing some php functions so that Jethro can make powerpoint slides for a song or a whole service directly. Would this be useful to anyone, or just me? Maybe you're all on one of the proprietary worship projection programs by now!

alwr commented 6 years ago

Similar-ish to issue 34 and issue 326...

tbar0970 commented 6 years ago

My church is using ProPresenter but I know of other Jethro churches using powerpoint. Sounds like a good feature.

What would be good would be the ability to optionally upload a customised PPT file for each service component (with precise formatting etc). Then when assembling the PPT for the service overall it would either use the uploaded PPT slides for each item, or if nothing was uploaded, create one from the text.

Care would be needed around powerpoint's logic about themes, backgrounds etc.

alwr commented 6 years ago

We used to have a large library of ppt song files - but now I really like having all the song content in Jethro, and having the slides match every week. We use the same background and styling for every song - being able to change font or colours without fixing hundreds of powerpoint files is a great benefit.

I can see that some people would want to keep their ppt library in Jethro, but the upload process might be tedious... I suppose there could be a function to generate all the songs which could then be edited manually as needed?

My aim was to have a template ppt file uploaded by the user which gives the styles to build the service. Alas I'm having trouble with phppresentation which looks to have a number of open issues related to formatting not being saved (here, here, here, and here). There are hints of an upcoming release, so maybe that will be resolved then. Then again, maybe I'm doing something very wrong!

Unless I find a solution soon, my plan B for my purpose is to hard code the styles into the php. Not great for everyone else unless you really like my slide design!

tim-pearce commented 6 years ago

I've created a 'merge' process for 'my' version of Jethro (here) it uses http://www.tinybutstrong.com/opentbs.php which can work with quite a few formats.

alwr commented 6 years ago

At a quick look, openTBS looks great... except for this comment in the documentation: "There is a restriction specific to PowerPoint Presentations: it is not possible to multiply slides. But you can delete specific slides."

Short of making a 100+ slide template, I'll look into using .ODP files soon to see how they open in PPT.

alwr commented 6 years ago

I think I've got this all working now, using an ODP file as a template and DOM to modify the XML. OpenPHP and openTBS were not helpful unfortunately!

I've implemented it for service component view, and service view. I have an option in the system config to show all service items, or songs only. This could be more elegantly handled for all service item categories, but it will do for now.

@tbar0970 - I'm new to github, so not sure how this works... I've forked Jethro to alwr/jethro-pmm. Do you want to test this, or should I make a pull request?

alwr commented 5 years ago

I've created a pull request for this. Happy to take any feedback or suggestions!

595