Avatar of APD Toronto
APD Toronto
Flag for Canada asked on

Posting PDF Content in WP

Hi Experts,

My new client gave me the attached PDF post as content and I am wondering how would someone do it?

If I take a snapshot and save it as image, it is too blurry.

If I use a PDF to HTML online converter I get a lot of symbols like ~~0 instead of the percents

I tried the PDF Embedder, but I get Setting up fake worker failed: "Cannot read property 'WorkerMessageHandler' of undefined".

The best was the converter, and I go line by line and edit the symbols, but the HTML is not in order as they use absolute positioning. I can do it, but I cannot help wonder if this is the proper way or if there is a better way.finra-infographic---the-financial-ch.pdf
HTMLPDFWordPress

Avatar of undefined
Last Comment
APD Toronto

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Scott Fell

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
David Favor

You might also do something like this...

libreoffice --headless --convert-to html /test/foo.pdf --outdir /test/

Open in new window


Best to use an output directory, as multi-page PDF files will explode/convert to one HTML file for each PDF page... so this will continue working if your PDF file ever changes to multi-page.

libreoffice has many other control options to alter behavior. Take a look at the libreoffice docs for more detail.
Alicia St Rose

Hi!

You can simply upload the PDF using media library. Then create a smaller image and link it to the PDF. You can also create a text link to view it as well. The URL is found in the Media library.

Make sure you add info in the image alt tag:

Link to Info graphic pdf download.

And then the fun part. Create a HTML based version of the information for sight impaired and SEO purposes.

I'm having to do this for a Festival Client who released a lineup Poster for the bands. I've got a page with the poster and I am creating a page with HTML based lineup. It doesn't have to be pixel perfect or especially pretty. It's just providing the info for someone who can't see anyway.

With Gutenberg blocks you can come pretty close to that graphic. Especially, utilizing the column block within group blocks. You may have to install a third party block plugin to find a table for the Annual Household Incomes section.

Creating a html version of this graphic is especially important in your case, since the content is about folks with disabilities!
APD Toronto

ASKER
Client put this on hold. I will open new question if needed.

Thanks All.
Your help has saved me hundreds of hours of internet surfing.
fblack61