Automated HTML PDF conversion - Paperight/website GitHub Wiki
Function
Paperight's HTML-PDF conversion software allows us to automate the creation of a Paperight PDF using existing HTML. The HTML is flowed into a regular PDF format, which is then placed automatically onto a Paperight-style PDF format.
Process
Amending an existing product (from webpage):
- Go to www.paperight.com/server, and log in using your username and password
- Select the “New HTML Conversion” option from Products menu in the lefthand column
- Tick the “Amend existing product” option at the top of the page
- A search field will pop up. In the “Search products...” field, search for the product you wish to amend. You can search by ISBN/UUID, Title, or Author
- Select the product you wish to amend
- Choose the HTML location (webpage)
- Select a CSS
- Select the output layout (1-up, 2-up, A5)
- Click “Convert”
- You are auto-directed to a metadata page, that also has preview options
- Download previews (1-up, 2-up, A5)
- Update product on site
Amending an existing product (via HTML file on FTP site):
- Open EPUB in Sigil and do any scrubbing you may need. Compile separate chapters into full HTML document, by using the CRTL+right click, “Merge with previous” function in Sigil. Extract HTML files from .epub file by changing the file extension to .zip and extracting all
- Upload the combined HTML file onto the FTP site, into the folder called “HTML”
- Go to www.paperight.com/server, and log in using your username and password
- Select the “New HTML Conversion” option from Products menu in the lefthand column
- Tick the “Amend existing product” option at the top of the page
- A search field will pop up. In the “Search products...” field, search for the product you wish to amend. You can search by ISBN/UUID, Title, or Author
- Select the product you wish to amend
- Choose the location of the file in the HTML folder on the FTP server. e.g. 9780992201746_two-faced-friends_20139528.html. If you place the file in a folder: two-faced-friends_dorothy-dyer/9780992201746_two-faced-friends_20139528.html
- Select a CSS
- Select the output layout (1-up, 2-up, A5)
- Click “Convert”
- You are auto-directed to a metadata page, that also has preview options
- Download previews (1-up, 2-up, A5)
- Update product on site
Upload new product (via webpage):
- Go to www.paperight.com/server, and log in using your username and password
- Select the “New HTML Conversion” option from Products menu in the lefthand column
- Leave “Amend existing product” unchecked, and type in the url for the webpage
- Select a CSS
- Select the output layout (1-up, 2-up, A5)
- Click “Convert”
- You are auto-directed to a metadata page, that also has preview options
- Download previews (1-up, 2-up, A5)
- Click “Update” to load new product to the site
Upload new product (via HTML file on FTP site):
- Open EPUB in Sigil and do any scrubbing you may need. Compile separate chapters into full HTML document, by using the CRTL+right click, “Merge with previous” function in Sigil. Extract HTML files from .epub file by changing the file extension to .zip and extracting all
- Upload the combined HTML file onto the FTP site, into the folder called “HTML”
- Go to www.paperight.com/server, and log in using your username and password
- Select the “New HTML Conversion” option from Products menu in the lefthand column
- Leave “Amend existing product” unchecked, and type in the location of the file in the HTML folder on the FTP server. e.g. 9780992201746_two-faced-friends_20139528.html. If you place the file in a folder: two-faced-friends_dorothy-dyer/9780992201746_two-faced-friends_20139528.html
- Select a CSS
- Select the output layout (1-up, 2-up, A5)
- Click “Convert”
- You are auto-directed to a metadata page, that also has preview options
- Download previews (1-up, 2-up, A5)
- Click “Update” to load new product to the site