Convert blog to PDF

Creating and modifying plugins.
Post Reply
Jr Prod

Convert blog to PDF

Post by Jr Prod »

Hi,
I'm using S9Y for several months and I think your PDF Plugin is a very usefull one. But I regret that it doesn't include pictures and smileys inserted in the posts. I imagine that the reason is to limitate the size of the outgoing *pdf but I think it would be a very useful option to include pictures in the PDFs.

Is it possible to include the option in the existing pdf plugin or to create a second one that would create a pdf document including pictures (in color or black/white) ?


Thank you for your answer
Jr Prod

www.fosenbauer.com/blog
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Convert blog to PDF

Post by garvinhicking »

Actually it's not a matter of size, but a matter of the PDF library not supporting images.

Well, it does support embedding imagines with a few hacks, but only on the left or right side, but not within the text. So smilies won't work inside PDFs, sorry...

We're relying on FPDF library; there is a commercial PDFLib available which is able to include comments, but because its commercial we can't/don't include code to work with it...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Jr Prod

PDF Creator

Post by Jr Prod »

Hi Garvin !
And would it be possible to implement this PDF Creator ?
http://sourceforge.net/projects/pdfcreator/
http://sourceforge.net/projects/pdfcreator/

It is under GPL licence, so it shouldn't be a problem to distribuate it with S9Y and it integrates pictures in the *.pdf's...

What do you think about it ?
boelkstoff
Regular
Posts: 19
Joined: Wed Feb 02, 2005 8:46 pm

Post by boelkstoff »

hello.

no that is not possible.
Because PDFCreator is a windows programm.
What is needed is a libary which helps you create a pdf using php.
So no windows or unix programm will help, right now.

sorry

Phil
Jr Prod

Post by Jr Prod »

Oh, OK, I understand better now. Thanks a lot !
Josh
Regular
Posts: 110
Joined: Mon Jul 18, 2005 3:02 pm
Location: Berlin
Contact:

pdf layout

Post by Josh »

I converted my blog in pdf, but all hyperlinks in my posts are lost, all paragraphs of one post are merged into a single paragraph.

I am using S-0.71
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: pdf layout

Post by garvinhicking »

Yes. The PDF format cannot parse HTML markup so you only get plaintext.

Regards
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Guest

Solution ?

Post by Guest »

Hi Garvin,

I'm back here with the same question. Any progress in the possibility of implementing pictures and links in the files ?

Could this be a solution ?
http://www.ros.co.nz/pdf/

It seems to be free...

Thanks :-)
Jr Prod
Regular
Posts: 18
Joined: Thu Jul 14, 2005 12:18 pm

Post by Jr Prod »

Hum... sorry, was me !
Guest

Post by Guest »

you better use FPDF link http://www.fpdf.org its free an can parse pctures too.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

We are using FPDF. I have not found any API method to allow FPDF to parse HTML images into PDF pictures...?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply