| Use utility programs to create FlipBooks |
|
This section is for webmasters who would like to convert your contents that are in PDF or QUARK formats
into HTML and then subsequently into OPF (FlipBooks). This section also contains example programs of how to
create FlipViewer® books to display the results of database search results. You can click on the
links to download the source codes of the programs for testing and modification to suit your needs.
|
| |
| 1 : Conversion of PDF documents to HTML documents |
| |
PDF TO HTML
This is a freeware that has been tested and is reasonably effective in converting PDF files into HTML files.
The program can be downloaded here.
The program, PDFTOHTML converts text and links, and extracts all images, including the "PDF" vector
drawings into PNG or JPEG. For those running Linux and Solaris OS, you should download the source code of PDFTOHTML
version 0.31 (test version) while those running Windows should download pdftohtml_0_31.exe. If you perform
a complete conversion, the program will convert the respective PDF files into individual HTML files for you.
BCL Magellan 4.1
BCL Magellan 4.1 is a plugin for Acrobat 4.0 that allows you to convert PDF documents into HTML documents.
When converting to HTML, Magellan will maintain the integrity of your document by preserving the text layout,
along with the graphics, lines, hyperlinks, and bookmarks. The HTML output will closely match the original
PDF document. Magellan requires that you have a full version of Adobe Acrobat 4.x installed; it will not work
with the free Acrobat Reader. This is a 30-day demo that converts only odd pages and registration is $199.
You may download the program here.
|
| |
| 2 : Conversion of Quark documents to HTML documents |
| |
|
For those with Quark documents, you may want to use the following "Quark to HTML tool" known as Extensis
BeyondExpress 4.0. BeyondPress will let you publish documents on the Web that exhibit the type of quality you expect
from QuarkXPress. With this application, traditional and new-media designers can convert existing QuarkXPress
documents to HTML while preserving page layout, compose new Web pages using the rich authoring environment of
QuarkXPress, drag and drop elements among Web pages, create hyperlinks and image maps, and more. Extensis
BeyondPress will also let you preview multimedia files in QuarkXPress and store frequently used elements for fast
placement.
Before installing BeyondPress, you have to install QuarkXpress first as the former is an extension module based
on QuarkXPress. After installation, you can save a Quark document to HTML format using GUI function. Download the program
here.
|
| |
| 3 : Sample PERL programs to convert text files to HTML pages and into a FlipBook |
| |
|
These perl programs convert text files into a FlipBook dynamically. Click
here with your right
mouse button and choose "Save target as" to save it on your PC. Please use the following
steps to install the scripts on your server:
|
| |
1 Create a directory "textToFlipbook" under your cgi-bin directory on your server.
2 Unzip these files to the cgi-bin/textToFlipbook directory on your server and change the file permissions
of the *.pl files to rwxr-xr-x.
3 Use a text editor to edit the textBook.pl file and change the HTTP path to your cgi-bin
4 Use a text-editor to edit the picalbum.top file and change the links of the FLPs to your desired FLPs for
your flipbook covers.
5 Open your web browser and enter the following URL. The text in brown should be substituted by your own paths:
http://<YOUR DOMAIN NAME>/textToFlipbook/textBook.pl?text=<HTTP PATH TO TEXT FILE>&f=.opf
6 Your FlipViewer® should automatically launch with your text file in FlipBook format
|
| |
Tips:
If you would like to create different covers for youralbums, you can create and name different picalbum.top files
and add them to the link: http://<YOUR DOMAIN NAME>textToFlipbook/textBook.pl?text=<HTTP
PATH TO TEXT FILE>&picalbum=<picalbum.top filename>&f=.opf
|
| |
textBook.pl - This is a CGI program to get a text document from a text document URL, wraps it
to 40 columns, repaginates the pages and create a FlipBook based on the length of the text
textPage.pl - This is another CGI program to create a HTML page based on the page number generated by textBook.pl
by downloading the relevant page information again from the text URL
picalbum.top - This is a template of the FlipBook
textPagec.html - This is a template of the HTML page
pagertf.pl - This is a CGI program to create FLP pages with the RTF
files embedded within.
page.flp - This is the FLP template.
rtffile.pl - This is a CGI program to convert textfiles into RTF files.
page.rtf - This is the template for the RTF files.
|
| |
| 4 : Sample PERL programs for generating a FlipBook dynamically |
| |
|
This set of Perl programs provide examples
to how to read a database for information and then generate the FlipBook dynamically to display the database result
in FlipViewer® book format. The FlipViewer® book is not created in advance in this case. Instead
the FlipViewer® book is create to hold for display the results of a database search.
|
| |
| 5 : Using an ASP template to generate a FlipBook dynamically |
| |
|
Webmasters who are familiar with ASP scripts may want to download this
ASP template .
It is an ASP example of how to generate a FlipBook dynamically.
|
| |
| >> Back to Content
|