Convert blog to PDF

Creating and modifying plugins.
Post Reply
Jr Prod

Convert blog to PDF

Post by Jr Prod » Mon Jan 31, 2005 2:14 pm

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

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Convert blog to PDF

Post by garvinhicking » Mon Jan 31, 2005 2:36 pm

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 » Tue Feb 08, 2005 1:42 pm

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 » Tue Feb 08, 2005 2:20 pm

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 » Tue Feb 08, 2005 3:50 pm

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 » Mon Jul 18, 2005 3:11 pm

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

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: pdf layout

Post by garvinhicking » Mon Jul 18, 2005 3:15 pm

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 » Tue Jul 26, 2005 11:09 am

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 » Tue Jul 26, 2005 11:10 am

Hum... sorry, was me !

Guest

Post by Guest » Tue Aug 23, 2005 9:36 pm

you better use FPDF link http://www.fpdf.org its free an can parse pctures too.

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Tue Aug 23, 2005 11:23 pm

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