How do you create the PDF of the ward directory?

Discuss ideas and suggestions around the LDS.org website.
User avatar
mesmith
New Member
Posts: 26
Joined: Fri May 02, 2008 1:00 pm
Location: USA, Colorado, Strasburg

How do you create the PDF of the ward directory?

Postby mesmith » Mon Sep 29, 2014 8:48 am

My boss wants to create a website that will create a PDF (printable) copy of some of the data. I know that church does exactly what I want to do in the printing of the ward directory. I have searched the internet and find a lot of information but none of it seems to relate directly to what the church is doing, which is what I want to do. So, my question is

What technology do you use to create the server side PDF that the user can then print on the client side?

Thank you in advance.

jdlessley
Community Moderators
Posts: 6526
Joined: Sun Mar 16, 2008 11:30 pm
Location: USA, TX

Re: How do you create the PDF of the ward directory?

Postby jdlessley » Mon Sep 29, 2014 9:36 am

The PDF is created in part using an API, or more than one APIs, to access the data from the Church servers. The distribution of APIs is limited to officially sanctioned projects.
JD Lessley
Have you tried finding your answer on the LDS.org Help Center page or the LDSTech wiki?

User avatar
mesmith
New Member
Posts: 26
Joined: Fri May 02, 2008 1:00 pm
Location: USA, Colorado, Strasburg

Re: How do you create the PDF of the ward directory?

Postby mesmith » Mon Sep 29, 2014 9:53 am

jdlessley wrote:The PDF is created in part using an API, or more than one APIs, to access the data from the Church servers. The distribution of APIs is limited to officially sanctioned projects.


So, this is a custom solution to create the PDF?

I was hoping that you are using an off-the-shelf API to create the PDF that can be purchased by anyone.

Okay, back to the drawing board.

russellhltn
Community Administrator
Posts: 20750
Joined: Sat Jan 20, 2007 2:53 pm
Location: U.S.

Re: How do you create the PDF of the ward directory?

Postby russellhltn » Mon Sep 29, 2014 10:43 am

I think JD thought you were wanting to make a PDF of church data, not just an understanding of the technology behind the process.
Have you searched the Wiki?
Try using a Google search by adding "site:tech.lds.org/wiki" to the search criteria.

User avatar
mesmith
New Member
Posts: 26
Joined: Fri May 02, 2008 1:00 pm
Location: USA, Colorado, Strasburg

Re: How do you create the PDF of the ward directory?

Postby mesmith » Mon Sep 29, 2014 12:00 pm

russellhltn wrote:I think JD thought you were wanting to make a PDF of church data, not just an understanding of the technology behind the process.


You are correct. I am looking for instruction in the methodology of how one would do this. I did find a white paper that described using a PDF library combined with a LaTeX library to produce a PDF for consistent printing.

I am still looking for ideas if anyone has any.

jonesrk
Church Employee
Church Employee
Posts: 1454
Joined: Tue Jun 30, 2009 7:12 am
Location: Farmington, UT, USA

Re: How do you create the PDF of the ward directory?

Postby jonesrk » Mon Sep 29, 2014 1:55 pm

http://wkhtmltopdf.org/ is one tool that you can use in your code to do this.
Ryan Jones
CDOL Developer
Stake Technology Specialist - Software / Stake Assistant Clerk
Former Ward Clerk

User avatar
mesmith
New Member
Posts: 26
Joined: Fri May 02, 2008 1:00 pm
Location: USA, Colorado, Strasburg

Re: How do you create the PDF of the ward directory?

Postby mesmith » Tue Sep 30, 2014 8:09 am

jonesrk wrote:http://wkhtmltopdf.org/ is one tool that you can use in your code to do this.


Thank you. This one I liked. I played with it for a short time and it looks like it works great.

Note to other readers:
This solution provides a precompiled binary that will work on windows. You will have to download the source and compile it on any other platform (Linux, Mac) you may want to use.


Return to “LDS.org Website”

Who is online

Users browsing this forum: No registered users and 1 guest