code4recovery / pdf

Meeting schedule PDF generation service
https://pdf.code4recovery.org
MIT License
3 stars 2 forks source link

Any way to dynamically generate a PDF schedule on public website? #71

Closed shonuff222 closed 1 month ago

shonuff222 commented 4 months ago

With the old version of the schedule generator, we used to point to the URL below on our public facing website and it would generate a schedule on the fly that people could print: https://aa-ksdist23.org/wp-admin/admin-ajax.php?action=tsml_pdf&width=8.5

How do we link from our public website to the new PDF schedule generator and get the same functionality? It seems to be an "admin" only thing now with just a button to click and I really don't want to dig into the code. Can you help me piece together a URL for the new generator that we could link to and would dynamically generate a 8.5"x11" schedule for people to print?

Thanks, Brett B. District 23 - Lawrence Area 25 - Kansas

anchovie91471 commented 4 months ago

Unfortunately, no. Our PDF service is mainly for site admin use because our infrastructure is only able to handle that level of traffic.

You're welcome to download & adapt the code to suit your needs.

I know it isn't dynamic and you'll have to remember to re-generate the PDF when changes are made, but you might simply generate the PDF and make that downloadable from your site as well.

Thank you! Anthony B.

shonuff222 commented 4 months ago

No problem, I understand. I appreciate the quick response and your service.

Brett

On Thu, May 23, 2024 at 12:35 PM Anthony Baggett @.***> wrote:

Unfortunately, no. Our PDF service is mainly for site admin use because our infrastructure is only able to handle that level of traffic.

You're welcome to download & adapt the code to suit your needs.

I know it isn't dynamic and you'll have to remember to re-generate the PDF when changes are made, but you might simply generate the PDF and make that downloadable from your site as well.

Thank you! Anthony B.

— Reply to this email directly, view it on GitHub https://github.com/code4recovery/pdf/issues/71#issuecomment-2127707948, or unsubscribe https://github.com/notifications/unsubscribe-auth/APCUN5WCMTWCILLYX532DHTZDYSFVAVCNFSM6AAAAABIF4TTX6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRXG4YDOOJUHA . You are receiving this because you authored the thread.Message ID: @.***>