Hello Tek-Tipers!
I have a long time client whose website is composed of articles, posted regularly. Sort of a daily eZine so to speak. They have asked me to determine a way that they could produce a quarterly PDF archive that would resembles a print magazine. Their CMS uses mysql and all the content in that database can be extracted as strict html markup.
The bit I am struggling with is the how best to do it. I am hoping someone here has done something similar and can give me a nudge. My simplistic prototype does the following:
#1 Extracts Articles from the database generating an HTML document for each one.
#2 Each HTML document is read, and translated to Word 2003 markups and inserted into a Word Document. Actually I only translate a few items at present: headings and images.
#3 Once complete using word automation a Table of Contents is generated/inserted. The document is converted to PDF and its done.
Where this methodology fails is mainly with hyperlinks: anchors in the same page and links to other related articles. This is a great value to the client that they wish to retain and I can not figure out how to do it. The link itself need not be preserved but a reference indicating the page number of the reference would be excellent.
I am not all that familiar with word automation or words abilities. Is there a way I can create a tag(s) in the document that will allow me to track/insert a page reference to that tag?
-Pete
Games the old fashion way with Dice, Paper and Pencils!
I have a long time client whose website is composed of articles, posted regularly. Sort of a daily eZine so to speak. They have asked me to determine a way that they could produce a quarterly PDF archive that would resembles a print magazine. Their CMS uses mysql and all the content in that database can be extracted as strict html markup.
The bit I am struggling with is the how best to do it. I am hoping someone here has done something similar and can give me a nudge. My simplistic prototype does the following:
#1 Extracts Articles from the database generating an HTML document for each one.
#2 Each HTML document is read, and translated to Word 2003 markups and inserted into a Word Document. Actually I only translate a few items at present: headings and images.
#3 Once complete using word automation a Table of Contents is generated/inserted. The document is converted to PDF and its done.
Where this methodology fails is mainly with hyperlinks: anchors in the same page and links to other related articles. This is a great value to the client that they wish to retain and I can not figure out how to do it. The link itself need not be preserved but a reference indicating the page number of the reference would be excellent.
I am not all that familiar with word automation or words abilities. Is there a way I can create a tag(s) in the document that will allow me to track/insert a page reference to that tag?
-Pete
Games the old fashion way with Dice, Paper and Pencils!