Save you site in pdf format?

Discuss phpwcms here, please do not post support requests, bug reports, or feature requests! Non-phpwcms questions, discussion goes in General Chat!
rk
Posts: 162
Joined: Sat 24. Apr 2004, 23:48
Location: Hannover, Germany
Contact:

Post by rk »

Have you take a look on http://www.mamboserver.com/.

OpenSourceCMS with the possibility to generate PDF-Documents.

I don't know how they do it, but they have some interesting features, ... :D
Ralf
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

duergner wrote:OK I've read something about that yesterday. The creation of the XML-FO document is as easy as creating the FPDF things in my opinion. You just have to create a XSL stylesheet, that transforms the XML document that contains the data into a XML-FO document that contains formatting information too.
Do you need that for every content type? or?
I do not have the skills for that.... :cry:
One problem that occurs at the moment seems to be, that I couldn't find a PHP implementation of a XML-FO 'program' that creates the PDF file out of it.
Maybe some of the other forum users knows one?
http://www.studmed.dk Portal for doctors and medical students in Denmark
duergner
Posts: 139
Joined: Fri 14. May 2004, 12:10

Post by duergner »

frold wrote:Do you need that for every content type? or?
I do not have the skills for that.... :cry:
Yes that needs to be done for every content type. But I think there are the great features of that way, because a user could more or less easily change that XSL stylesheet and out of that create a new PDF layout.
frold wrote:
One problem that occurs at the moment seems to be, that I couldn't find a PHP implementation of a XML-FO 'program' that creates the PDF file out of it.
Maybe some of the other forum users knows one?
That would be great. I'll alos take a look on the other CMS just mentioned above during the next days. Perhaps they have a possibility that could easily be ported to phpWCMS.
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

duergner wrote:Perhaps they have a possibility that could easily be ported to phpWCMS.
Would be nice.. hope you find the right and easiest solution :D
http://www.studmed.dk Portal for doctors and medical students in Denmark
User avatar
Oliver Georgi
Site Admin
Posts: 9919
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

There are PDF creation classes - you can search for it...
http://www.hotscripts.com/PHP/Scripts_a ... ation/PDF/

It's not difficult to realize PDF "print" function.

But I have other problems at the moment - I can't see any situation in which it makes sense to print into PDF. There are really good free PDF creation tools available.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

Oliver Georgi wrote: It's not difficult to realize PDF "print" function.

Oliver
Also if you like to convert a whole phpwcms site and its content to 1 pdf file with just one click?
http://www.studmed.dk Portal for doctors and medical students in Denmark
User avatar
Oliver Georgi
Site Admin
Posts: 9919
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Yes. All you need - is a PHP HTML to PDF class.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
duergner
Posts: 139
Joined: Fri 14. May 2004, 12:10

Post by duergner »

You're basically right Oliver, but I think that the power if most HTML to PDF classes in PHP is more or less restricted somehow either in speed or in functionallity.

Basically I would prefer the XML-FO version, 'cause that seems to be the most powerful one in my opinion wouldn't there be the lack of a FO processor in PHP.

Perhaps I'll try to implement a simple PDF output in the first step and try to implement a FO processor in PHP for later versions.
User avatar
Oliver Georgi
Site Admin
Posts: 9919
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

I think it's wasted time at the moment. There may be exist working CGI/Perl solutions like GhostScript's HTML2PDF. These are fast and powerful solutions.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

If it is so easy I hope someone can make it :D

I will give it a try myself after the 1. july.. But it is not sure that I will succeed :cry:
http://www.studmed.dk Portal for doctors and medical students in Denmark
User avatar
Oliver Georgi
Site Admin
Posts: 9919
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Will
Posts: 55
Joined: Mon 9. Aug 2004, 05:30

Post by Will »

Hey,

Is there any advance in this topic?

I would like to, at least, export the whole site to its HTML format so I can ship it on CD...

Any idea?
Will
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

Will wrote:Hey,

Is there any advance in this topic?

I would like to, at least, export the whole site to its HTML format so I can ship it on CD...

Any idea?
http://www.httrack.com/
Will
Posts: 55
Joined: Mon 9. Aug 2004, 05:30

Post by Will »

Thanks... I just found http://www.httpweazel.com
Will
Will
Posts: 55
Joined: Mon 9. Aug 2004, 05:30

Post by Will »

HTTrack seems to be better than HTTP Weazel..

Thanks!
Will
Post Reply