I want to create an ebook to publish on an Elements built site

So I have been asked to take a pdf and create an ebook on this clients site. This is a new field for me so I am looking for advice. It is a one off pdf conversion to “presumably” an epub format and then upload it and create a page to display it.

Any advice on how to do this would be greatly appreciated, maybe this is the wrong approach entirely? Currently I am swimming in the dark on this idea.

Depends

Can the text be moved - is it mostly text?

Is it something like sheet music and layout intensive?

I also sell my books :books: directly as PDFs

But I do have conversions for various platforms too..

It is a pdf of mixed text and images, the document is definitely not to be editable by viewers, i am just looking for a slick way to present it online.

I’m sorry I don’t understand what you want…

If you’re looking for a way to display pages, take screenshots of the PDF and then put them online

Sorry for not explains properly. So I take the pdf and create an ebook, flibable pages, search for text etc. then put it on the website so when people select the menu item the view the book. I hope that is clearer?

I’m sorry, but I still don’t understand what you want…

Generally speaking you cut down the PDF into a sample and offer a free sample to the customers so that they can see if they want to purchase it

Include the table of contents, the cover and other popular chapters perhaps in the demo or a sample

If you have pictures, you can always put them into a slideshow or the marquee pro for display on the webpage

If you’re talking about putting the content behind a pay wall, that’s a whole different question…

I asked GROK and it said:

“If you’re a developer / running your own website, You can embed an EPUB reader using open-source JavaScript libraries like epub.js (still the most popular and maintained option for rendering EPUBs in the browser). Sites or services can host EPUB content and display it seamlessly to visitors.”

You would probably have to create a custom HTML component to do it.

Sorry but the wrong of the stick is prevalent here, it is not a book for sale or distribution, just a pdf document they want to share on the website in a slick way, no sale, etc.

Thanks I will investigate this.

Dave I did as free project with a PDF viewer try this.https://forums.realmacsoftware.com/t/pdf-embed-free-project-beta-v2-elements/54092/51

That looks interesting, but as you cannot put on the store yet how could I try it?

The project is free just click on download and save it on your computer. Then copy the HTML file all instructions are there and replace my file name with yours. I do a bit of free stuff as I’m not a developer just enjoy doing stuff for me and I’m happy to share. I did an accordion project with embedded pdf, videos and images too. Just search me and help your self. Need sny help just come back to me.

Many thanks, I will check it out tomorrow.

I did manage to get a custom HTML component with the ePub reader script.

Here’s a link to a test page. Take a look and if this is what you want I can post the script.

1 Like

Many thanks, great help from the community :blush:

Edward could I have a copy please as I might use it with my PDF Embed above. TIA

If you have a PDF file, yes, there is a way to make it a viewable page in your site. The project that’s been pointed to by others is one way of doing that and simple enough to use on almost any site.

As for ePub, beware. The reason people want ePubs is because they want to read on small screens. PDF is usually not appropriate for mobile devices, it’s not set up to re-paginate based upon screen size. ePub is (and you don’t want to designate a PDF file for small screens because then it doesn’t work well on large ones; Amazon uses took years to figure out what to do on different sized Kindles with PDFs). However, ePub has a lot of restrictions on formatting (about like Markdown in that respect), and ePub readers can be notoriously bad. Embedding Javascript ePub code is not something I’d attempt, as it would be asking for support calls. I’d rather download an ePub file to the site visitor and have them use a “real” ePub reader that’s been through the battles. Note also that if you’re using special fonts—I have five special ones I’ve designed for my technical work—ePub is not what you want to use.

@PMUK @jwDave Here is the script that I was able to get working. You will have to change line 51 to point to your ePub file.

ePub Script.txt (4.7 KB)

1 Like

Thanks for this, am playing with it now, looks good!

1 Like