[cfaussie] Re: Generating PDF and JPG images from websites

2008-09-20 Thread Steve Onnis

I didn't say CFDOCUMENT is flakey

I said using it to generate screenshots of websites is flakey :) 

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Friday, 19 September 2008 3:19 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


Calling CFDOCUMENT flaky is wrong Steve,

It one day hopes to be flaky.

Let us know what tool you end up using for the image, would be interested.

Regards
Dale Fraser
http://learncf.com
http://flexcf.com



-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Steve Onnis
Sent: Friday, 19 September 2008 12:01 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


Cfdocument is soo flaky when it comes to this so im not using it.  I am
going for a command line exe which will give me an exact screen shot of the
site.  Then for the PDF I am going to load the image into the cfdocument
tag.

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Thursday, 18 September 2008 3:43 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


http://www.coldfusionjedi.com/index.cfm/2007/6/13/ColdFusion-8-URL-Thumbnail
s

Regards
Dale Fraser
http://learncf.com
http://flexcf.com



-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of [EMAIL PROTECTED]
Sent: Thursday, 18 September 2008 3:35 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


I can't remember any offhand, but there are also various command line tools
and web-services that will create an image from a url. Probably for PDF too,
if your CSS is too much for CFDocument.

Blair

On 9/18/08, Steve Onnis [EMAIL PROTECTED] wrote:

 No no

 The client wants a function for the user to be able to save a copy of 
 the page as a PDF or an image.  Just looking at ways to do it.

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf
 Of Barry Beattie
 Sent: Thursday, 18 September 2008 3:27 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: Generating PDF and JPG images from websites


 or (following on from Chris)

 screen-scrape with CFHTTP and *then* use cfdocument.

 (I hope this isn't checking how a design looks on different operating 
 systems or browsers ... that's a totally different kettle of fish)



 On Thu, Sep 18, 2008 at 3:23 PM, Chris Velevitch
[EMAIL PROTECTED]
 wrote:

 On Thu, Sep 18, 2008 at 2:57 PM, Steve Onnis [EMAIL PROTECTED]
 wrote:
 I have a requirement to generate a PDF and/or JPG of a website page.
 Can anyone provide and recommendations to achieve this reliably?

 cfdocument format=PDF ../cfdocument


 Chris
 --
 Chris Velevitch
 Manager - Adobe Platform Users Group, Sydney
 m: 0415 469 095
 www.apugs.org.au

 Adobe Platform Users Group, Sydney
 September meeting: It's Going To Be Brilliant
 Date: Mon 29th September 6pm for 6:30 start Details and RSVP on 
 http://apugs2008september.eventbrite.com

 






 














--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Generating PDF and JPG images from websites

2008-09-20 Thread Steve Onnis

I ended up buying http://www.converthtmltoimage.com/

From the command line works fine, just having issues calling it from
CFEXECUTE. 

I was actually going to have a look at developing a web service for this
also so other people could use it.  What do you think?

Steve

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Friday, 19 September 2008 3:19 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


Calling CFDOCUMENT flaky is wrong Steve,

It one day hopes to be flaky.

Let us know what tool you end up using for the image, would be interested.

Regards
Dale Fraser
http://learncf.com
http://flexcf.com



-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Steve Onnis
Sent: Friday, 19 September 2008 12:01 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


Cfdocument is soo flaky when it comes to this so im not using it.  I am
going for a command line exe which will give me an exact screen shot of the
site.  Then for the PDF I am going to load the image into the cfdocument
tag.

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Thursday, 18 September 2008 3:43 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


http://www.coldfusionjedi.com/index.cfm/2007/6/13/ColdFusion-8-URL-Thumbnail
s

Regards
Dale Fraser
http://learncf.com
http://flexcf.com



-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of [EMAIL PROTECTED]
Sent: Thursday, 18 September 2008 3:35 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


I can't remember any offhand, but there are also various command line tools
and web-services that will create an image from a url. Probably for PDF too,
if your CSS is too much for CFDocument.

Blair

On 9/18/08, Steve Onnis [EMAIL PROTECTED] wrote:

 No no

 The client wants a function for the user to be able to save a copy of 
 the page as a PDF or an image.  Just looking at ways to do it.

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf
 Of Barry Beattie
 Sent: Thursday, 18 September 2008 3:27 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: Generating PDF and JPG images from websites


 or (following on from Chris)

 screen-scrape with CFHTTP and *then* use cfdocument.

 (I hope this isn't checking how a design looks on different operating 
 systems or browsers ... that's a totally different kettle of fish)



 On Thu, Sep 18, 2008 at 3:23 PM, Chris Velevitch
[EMAIL PROTECTED]
 wrote:

 On Thu, Sep 18, 2008 at 2:57 PM, Steve Onnis [EMAIL PROTECTED]
 wrote:
 I have a requirement to generate a PDF and/or JPG of a website page.
 Can anyone provide and recommendations to achieve this reliably?

 cfdocument format=PDF ../cfdocument


 Chris
 --
 Chris Velevitch
 Manager - Adobe Platform Users Group, Sydney
 m: 0415 469 095
 www.apugs.org.au

 Adobe Platform Users Group, Sydney
 September meeting: It's Going To Be Brilliant
 Date: Mon 29th September 6pm for 6:30 start Details and RSVP on 
 http://apugs2008september.eventbrite.com

 






 














--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Generating PDF and JPG images from websites

2008-09-20 Thread Dale Fraser

Sounds Good,

I think it would be popular.

Regards
Dale Fraser

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Steve Onnis
Sent: Saturday, 20 September 2008 4:43 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


I ended up buying http://www.converthtmltoimage.com/

From the command line works fine, just having issues calling it from
CFEXECUTE. 

I was actually going to have a look at developing a web service for this
also so other people could use it.  What do you think?

Steve

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Friday, 19 September 2008 3:19 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


Calling CFDOCUMENT flaky is wrong Steve,

It one day hopes to be flaky.

Let us know what tool you end up using for the image, would be interested.

Regards
Dale Fraser
http://learncf.com
http://flexcf.com



-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Steve Onnis
Sent: Friday, 19 September 2008 12:01 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


Cfdocument is soo flaky when it comes to this so im not using it.  I am
going for a command line exe which will give me an exact screen shot of the
site.  Then for the PDF I am going to load the image into the cfdocument
tag.

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Thursday, 18 September 2008 3:43 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


http://www.coldfusionjedi.com/index.cfm/2007/6/13/ColdFusion-8-URL-Thumbnail
s

Regards
Dale Fraser
http://learncf.com
http://flexcf.com



-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of [EMAIL PROTECTED]
Sent: Thursday, 18 September 2008 3:35 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


I can't remember any offhand, but there are also various command line tools
and web-services that will create an image from a url. Probably for PDF too,
if your CSS is too much for CFDocument.

Blair

On 9/18/08, Steve Onnis [EMAIL PROTECTED] wrote:

 No no

 The client wants a function for the user to be able to save a copy of 
 the page as a PDF or an image.  Just looking at ways to do it.

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf
 Of Barry Beattie
 Sent: Thursday, 18 September 2008 3:27 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: Generating PDF and JPG images from websites


 or (following on from Chris)

 screen-scrape with CFHTTP and *then* use cfdocument.

 (I hope this isn't checking how a design looks on different operating 
 systems or browsers ... that's a totally different kettle of fish)



 On Thu, Sep 18, 2008 at 3:23 PM, Chris Velevitch
[EMAIL PROTECTED]
 wrote:

 On Thu, Sep 18, 2008 at 2:57 PM, Steve Onnis [EMAIL PROTECTED]
 wrote:
 I have a requirement to generate a PDF and/or JPG of a website page.
 Can anyone provide and recommendations to achieve this reliably?

 cfdocument format=PDF ../cfdocument


 Chris
 --
 Chris Velevitch
 Manager - Adobe Platform Users Group, Sydney
 m: 0415 469 095
 www.apugs.org.au

 Adobe Platform Users Group, Sydney
 September meeting: It's Going To Be Brilliant
 Date: Mon 29th September 6pm for 6:30 start Details and RSVP on 
 http://apugs2008september.eventbrite.com

 






 

















--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Generating PDF and JPG images from websites

2008-09-20 Thread shib71

http://stylizedweb.com/2008/04/26/website-screenshots-services/

On 9/20/08, Dale Fraser [EMAIL PROTECTED] wrote:

 Sounds Good,

 I think it would be popular.

 Regards
 Dale Fraser

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
 Of Steve Onnis
 Sent: Saturday, 20 September 2008 4:43 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: Generating PDF and JPG images from websites


 I ended up buying http://www.converthtmltoimage.com/

 From the command line works fine, just having issues calling it from
 CFEXECUTE.

 I was actually going to have a look at developing a web service for this
 also so other people could use it.  What do you think?

 Steve

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
 Of Dale Fraser
 Sent: Friday, 19 September 2008 3:19 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: Generating PDF and JPG images from websites


 Calling CFDOCUMENT flaky is wrong Steve,

 It one day hopes to be flaky.

 Let us know what tool you end up using for the image, would be interested.

 Regards
 Dale Fraser
 http://learncf.com
 http://flexcf.com



 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
 Of Steve Onnis
 Sent: Friday, 19 September 2008 12:01 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: Generating PDF and JPG images from websites


 Cfdocument is soo flaky when it comes to this so im not using it.  I am
 going for a command line exe which will give me an exact screen shot of the
 site.  Then for the PDF I am going to load the image into the cfdocument
 tag.

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
 Of Dale Fraser
 Sent: Thursday, 18 September 2008 3:43 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: Generating PDF and JPG images from websites


 http://www.coldfusionjedi.com/index.cfm/2007/6/13/ColdFusion-8-URL-Thumbnail
 s

 Regards
 Dale Fraser
 http://learncf.com
 http://flexcf.com



 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
 Of [EMAIL PROTECTED]
 Sent: Thursday, 18 September 2008 3:35 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: Generating PDF and JPG images from websites


 I can't remember any offhand, but there are also various command line tools
 and web-services that will create an image from a url. Probably for PDF too,
 if your CSS is too much for CFDocument.

 Blair

 On 9/18/08, Steve Onnis [EMAIL PROTECTED] wrote:

 No no

 The client wants a function for the user to be able to save a copy of
 the page as a PDF or an image.  Just looking at ways to do it.

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
 Behalf
 Of Barry Beattie
 Sent: Thursday, 18 September 2008 3:27 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: Generating PDF and JPG images from websites


 or (following on from Chris)

 screen-scrape with CFHTTP and *then* use cfdocument.

 (I hope this isn't checking how a design looks on different operating
 systems or browsers ... that's a totally different kettle of fish)



 On Thu, Sep 18, 2008 at 3:23 PM, Chris Velevitch
 [EMAIL PROTECTED]
 wrote:

 On Thu, Sep 18, 2008 at 2:57 PM, Steve Onnis [EMAIL PROTECTED]
 wrote:
 I have a requirement to generate a PDF and/or JPG of a website page.
 Can anyone provide and recommendations to achieve this reliably?

 cfdocument format=PDF ../cfdocument


 Chris
 --
 Chris Velevitch
 Manager - Adobe Platform Users Group, Sydney
 m: 0415 469 095
 www.apugs.org.au

 Adobe Platform Users Group, Sydney
 September meeting: It's Going To Be Brilliant
 Date: Mon 29th September 6pm for 6:30 start Details and RSVP on
 http://apugs2008september.eventbrite.com

 






 

















 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Generating PDF and JPG images from websites

2008-09-18 Thread Steve Onnis

Anyone know what engine it uses to generate the HTML because this aint
working 

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Thursday, 18 September 2008 3:43 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


http://www.coldfusionjedi.com/index.cfm/2007/6/13/ColdFusion-8-URL-Thumbnail
s

Regards
Dale Fraser
http://learncf.com
http://flexcf.com



-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of [EMAIL PROTECTED]
Sent: Thursday, 18 September 2008 3:35 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


I can't remember any offhand, but there are also various command line tools
and web-services that will create an image from a url. Probably for PDF too,
if your CSS is too much for CFDocument.

Blair

On 9/18/08, Steve Onnis [EMAIL PROTECTED] wrote:

 No no

 The client wants a function for the user to be able to save a copy of 
 the page as a PDF or an image.  Just looking at ways to do it.

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf
 Of Barry Beattie
 Sent: Thursday, 18 September 2008 3:27 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: Generating PDF and JPG images from websites


 or (following on from Chris)

 screen-scrape with CFHTTP and *then* use cfdocument.

 (I hope this isn't checking how a design looks on different operating 
 systems or browsers ... that's a totally different kettle of fish)



 On Thu, Sep 18, 2008 at 3:23 PM, Chris Velevitch
[EMAIL PROTECTED]
 wrote:

 On Thu, Sep 18, 2008 at 2:57 PM, Steve Onnis [EMAIL PROTECTED]
 wrote:
 I have a requirement to generate a PDF and/or JPG of a website page.
 Can anyone provide and recommendations to achieve this reliably?

 cfdocument format=PDF ../cfdocument


 Chris
 --
 Chris Velevitch
 Manager - Adobe Platform Users Group, Sydney
 m: 0415 469 095
 www.apugs.org.au

 Adobe Platform Users Group, Sydney
 September meeting: It's Going To Be Brilliant
 Date: Mon 29th September 6pm for 6:30 start Details and RSVP on 
 http://apugs2008september.eventbrite.com

 






 








--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Generating PDF and JPG images from websites

2008-09-18 Thread Steve Onnis

This is what it is doing to the document


!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html
head
titleAGEST Super/title
InvalidTag http-equiv=Content-Type content=text/html;
charset=iso-8859-1 /
InvalidTag name=keywords content= /
InvalidTag http-equiv=imagetoolbar content=no /
base href=http://dev.agest.com.au; /
style type=text/css media=all
@import url(css/primary-menu.css);
@import url(css/default.css);
/style
!--[if gte IE 6]
style type=text/css media=screen
@import url(css/ie.css);
/style
![endif]--
style type=text/css media=print
@import url(css/print.css);
/style
InvalidTag
src=http://dev.agest.com.au:80/scripts/mootools-1.2-core.js;
type=text/javascript/script
InvalidTag
src=http://dev.agest.com.au:80/scripts/mootools-1.2-more.js;
type=text/javascript/script
InvalidTag src=http://dev.agest.com.au:80/scripts/generic.js;  ...
occured during the rendering process of this document.




What the??? 

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Thursday, 18 September 2008 3:43 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


http://www.coldfusionjedi.com/index.cfm/2007/6/13/ColdFusion-8-URL-Thumbnail
s

Regards
Dale Fraser
http://learncf.com
http://flexcf.com



-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of [EMAIL PROTECTED]
Sent: Thursday, 18 September 2008 3:35 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


I can't remember any offhand, but there are also various command line tools
and web-services that will create an image from a url. Probably for PDF too,
if your CSS is too much for CFDocument.

Blair

On 9/18/08, Steve Onnis [EMAIL PROTECTED] wrote:

 No no

 The client wants a function for the user to be able to save a copy of 
 the page as a PDF or an image.  Just looking at ways to do it.

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf
 Of Barry Beattie
 Sent: Thursday, 18 September 2008 3:27 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: Generating PDF and JPG images from websites


 or (following on from Chris)

 screen-scrape with CFHTTP and *then* use cfdocument.

 (I hope this isn't checking how a design looks on different operating 
 systems or browsers ... that's a totally different kettle of fish)



 On Thu, Sep 18, 2008 at 3:23 PM, Chris Velevitch
[EMAIL PROTECTED]
 wrote:

 On Thu, Sep 18, 2008 at 2:57 PM, Steve Onnis [EMAIL PROTECTED]
 wrote:
 I have a requirement to generate a PDF and/or JPG of a website page.
 Can anyone provide and recommendations to achieve this reliably?

 cfdocument format=PDF ../cfdocument


 Chris
 --
 Chris Velevitch
 Manager - Adobe Platform Users Group, Sydney
 m: 0415 469 095
 www.apugs.org.au

 Adobe Platform Users Group, Sydney
 September meeting: It's Going To Be Brilliant
 Date: Mon 29th September 6pm for 6:30 start Details and RSVP on 
 http://apugs2008september.eventbrite.com

 






 








--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Generating PDF and JPG images from websites

2008-09-18 Thread CyberAngel

invalidtag

Is caused by script protection Steve... At least that is what I remember..



-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Steve Onnis
Sent: Thursday, 18 September 2008 5:26 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


This is what it is doing to the document


!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html
head
titleAGEST Super/title
InvalidTag http-equiv=Content-Type content=text/html;
charset=iso-8859-1 /
InvalidTag name=keywords content= /
InvalidTag http-equiv=imagetoolbar content=no /
base href=http://dev.agest.com.au; /
style type=text/css media=all
@import url(css/primary-menu.css);
@import url(css/default.css);
/style
!--[if gte IE 6]
style type=text/css media=screen
@import url(css/ie.css);
/style
![endif]--
style type=text/css media=print
@import url(css/print.css);
/style
InvalidTag
src=http://dev.agest.com.au:80/scripts/mootools-1.2-core.js;
type=text/javascript/script
InvalidTag
src=http://dev.agest.com.au:80/scripts/mootools-1.2-more.js;
type=text/javascript/script
InvalidTag src=http://dev.agest.com.au:80/scripts/generic.js;  ...
occured during the rendering process of this document.




What the??? 

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Thursday, 18 September 2008 3:43 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


http://www.coldfusionjedi.com/index.cfm/2007/6/13/ColdFusion-8-URL-Thumbnail
s

Regards
Dale Fraser
http://learncf.com
http://flexcf.com



-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of [EMAIL PROTECTED]
Sent: Thursday, 18 September 2008 3:35 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


I can't remember any offhand, but there are also various command line tools
and web-services that will create an image from a url. Probably for PDF too,
if your CSS is too much for CFDocument.

Blair

On 9/18/08, Steve Onnis [EMAIL PROTECTED] wrote:

 No no

 The client wants a function for the user to be able to save a copy of 
 the page as a PDF or an image.  Just looking at ways to do it.

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf
 Of Barry Beattie
 Sent: Thursday, 18 September 2008 3:27 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: Generating PDF and JPG images from websites


 or (following on from Chris)

 screen-scrape with CFHTTP and *then* use cfdocument.

 (I hope this isn't checking how a design looks on different operating 
 systems or browsers ... that's a totally different kettle of fish)



 On Thu, Sep 18, 2008 at 3:23 PM, Chris Velevitch
[EMAIL PROTECTED]
 wrote:

 On Thu, Sep 18, 2008 at 2:57 PM, Steve Onnis [EMAIL PROTECTED]
 wrote:
 I have a requirement to generate a PDF and/or JPG of a website page.
 Can anyone provide and recommendations to achieve this reliably?

 cfdocument format=PDF ../cfdocument


 Chris
 --
 Chris Velevitch
 Manager - Adobe Platform Users Group, Sydney
 m: 0415 469 095
 www.apugs.org.au

 Adobe Platform Users Group, Sydney
 September meeting: It's Going To Be Brilliant
 Date: Mon 29th September 6pm for 6:30 start Details and RSVP on 
 http://apugs2008september.eventbrite.com

 






 










--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Generating PDF and JPG images from websites

2008-09-18 Thread Steve Onnis

I have it disabled in the cfadmin so I don't know why its doing it 

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of CyberAngel
Sent: Thursday, 18 September 2008 6:35 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


invalidtag

Is caused by script protection Steve... At least that is what I remember..



-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Steve Onnis
Sent: Thursday, 18 September 2008 5:26 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


This is what it is doing to the document


!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html
head
titleAGEST Super/title
InvalidTag http-equiv=Content-Type content=text/html;
charset=iso-8859-1 /
InvalidTag name=keywords content= /
InvalidTag http-equiv=imagetoolbar content=no /
base href=http://dev.agest.com.au; /
style type=text/css media=all
@import url(css/primary-menu.css);
@import url(css/default.css);
/style
!--[if gte IE 6]
style type=text/css media=screen
@import url(css/ie.css);
/style
![endif]--
style type=text/css media=print
@import url(css/print.css);
/style
InvalidTag
src=http://dev.agest.com.au:80/scripts/mootools-1.2-core.js;
type=text/javascript/script
InvalidTag
src=http://dev.agest.com.au:80/scripts/mootools-1.2-more.js;
type=text/javascript/script
InvalidTag src=http://dev.agest.com.au:80/scripts/generic.js;  ...
occured during the rendering process of this document.




What the??? 

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Thursday, 18 September 2008 3:43 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


http://www.coldfusionjedi.com/index.cfm/2007/6/13/ColdFusion-8-URL-Thumbnail
s

Regards
Dale Fraser
http://learncf.com
http://flexcf.com



-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of [EMAIL PROTECTED]
Sent: Thursday, 18 September 2008 3:35 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


I can't remember any offhand, but there are also various command line tools
and web-services that will create an image from a url. Probably for PDF too,
if your CSS is too much for CFDocument.

Blair

On 9/18/08, Steve Onnis [EMAIL PROTECTED] wrote:

 No no

 The client wants a function for the user to be able to save a copy of 
 the page as a PDF or an image.  Just looking at ways to do it.

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf
 Of Barry Beattie
 Sent: Thursday, 18 September 2008 3:27 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: Generating PDF and JPG images from websites


 or (following on from Chris)

 screen-scrape with CFHTTP and *then* use cfdocument.

 (I hope this isn't checking how a design looks on different operating 
 systems or browsers ... that's a totally different kettle of fish)



 On Thu, Sep 18, 2008 at 3:23 PM, Chris Velevitch
[EMAIL PROTECTED]
 wrote:

 On Thu, Sep 18, 2008 at 2:57 PM, Steve Onnis [EMAIL PROTECTED]
 wrote:
 I have a requirement to generate a PDF and/or JPG of a website page.
 Can anyone provide and recommendations to achieve this reliably?

 cfdocument format=PDF ../cfdocument


 Chris
 --
 Chris Velevitch
 Manager - Adobe Platform Users Group, Sydney
 m: 0415 469 095
 www.apugs.org.au

 Adobe Platform Users Group, Sydney
 September meeting: It's Going To Be Brilliant
 Date: Mon 29th September 6pm for 6:30 start Details and RSVP on 
 http://apugs2008september.eventbrite.com

 






 














--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Generating PDF and JPG images from websites

2008-09-18 Thread Steve Onnis

This actually seems to be an issue with CFDOCUMENT.  I can output the
generated HTML and it does not have the InvalidTag replacements in it so
its coming from the CFDOCUMENT process.

Anyone got any ideas?

Steve

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of CyberAngel
Sent: Thursday, 18 September 2008 6:35 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


invalidtag

Is caused by script protection Steve... At least that is what I remember..



-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Steve Onnis
Sent: Thursday, 18 September 2008 5:26 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


This is what it is doing to the document


!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html
head
titleAGEST Super/title
InvalidTag http-equiv=Content-Type content=text/html;
charset=iso-8859-1 /
InvalidTag name=keywords content= /
InvalidTag http-equiv=imagetoolbar content=no /
base href=http://dev.agest.com.au; /
style type=text/css media=all
@import url(css/primary-menu.css);
@import url(css/default.css);
/style
!--[if gte IE 6]
style type=text/css media=screen
@import url(css/ie.css);
/style
![endif]--
style type=text/css media=print
@import url(css/print.css);
/style
InvalidTag
src=http://dev.agest.com.au:80/scripts/mootools-1.2-core.js;
type=text/javascript/script
InvalidTag
src=http://dev.agest.com.au:80/scripts/mootools-1.2-more.js;
type=text/javascript/script
InvalidTag src=http://dev.agest.com.au:80/scripts/generic.js;  ...
occured during the rendering process of this document.




What the??? 

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Thursday, 18 September 2008 3:43 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


http://www.coldfusionjedi.com/index.cfm/2007/6/13/ColdFusion-8-URL-Thumbnail
s

Regards
Dale Fraser
http://learncf.com
http://flexcf.com



-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of [EMAIL PROTECTED]
Sent: Thursday, 18 September 2008 3:35 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


I can't remember any offhand, but there are also various command line tools
and web-services that will create an image from a url. Probably for PDF too,
if your CSS is too much for CFDocument.

Blair

On 9/18/08, Steve Onnis [EMAIL PROTECTED] wrote:

 No no

 The client wants a function for the user to be able to save a copy of 
 the page as a PDF or an image.  Just looking at ways to do it.

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf
 Of Barry Beattie
 Sent: Thursday, 18 September 2008 3:27 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: Generating PDF and JPG images from websites


 or (following on from Chris)

 screen-scrape with CFHTTP and *then* use cfdocument.

 (I hope this isn't checking how a design looks on different operating 
 systems or browsers ... that's a totally different kettle of fish)



 On Thu, Sep 18, 2008 at 3:23 PM, Chris Velevitch
[EMAIL PROTECTED]
 wrote:

 On Thu, Sep 18, 2008 at 2:57 PM, Steve Onnis [EMAIL PROTECTED]
 wrote:
 I have a requirement to generate a PDF and/or JPG of a website page.
 Can anyone provide and recommendations to achieve this reliably?

 cfdocument format=PDF ../cfdocument


 Chris
 --
 Chris Velevitch
 Manager - Adobe Platform Users Group, Sydney
 m: 0415 469 095
 www.apugs.org.au

 Adobe Platform Users Group, Sydney
 September meeting: It's Going To Be Brilliant
 Date: Mon 29th September 6pm for 6:30 start Details and RSVP on 
 http://apugs2008september.eventbrite.com

 






 














--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Generating PDF and JPG images from websites

2008-09-18 Thread CyberAngel


This link any good to you, take note of the xml settings in the comments.

Not sure about cfdocument, an example to duplicate would be nice.



-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Steve Onnis
Sent: Thursday, 18 September 2008 11:11 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


This actually seems to be an issue with CFDOCUMENT.  I can output the
generated HTML and it does not have the InvalidTag replacements in it so
its coming from the CFDOCUMENT process.

Anyone got any ideas?

Steve

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of CyberAngel
Sent: Thursday, 18 September 2008 6:35 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


invalidtag

Is caused by script protection Steve... At least that is what I remember..



-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Steve Onnis
Sent: Thursday, 18 September 2008 5:26 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


This is what it is doing to the document


!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html
head
titleAGEST Super/title
InvalidTag http-equiv=Content-Type content=text/html;
charset=iso-8859-1 /
InvalidTag name=keywords content= /
InvalidTag http-equiv=imagetoolbar content=no /
base href=http://dev.agest.com.au; /
style type=text/css media=all
@import url(css/primary-menu.css);
@import url(css/default.css);
/style
!--[if gte IE 6]
style type=text/css media=screen
@import url(css/ie.css);
/style
![endif]--
style type=text/css media=print
@import url(css/print.css);
/style
InvalidTag
src=http://dev.agest.com.au:80/scripts/mootools-1.2-core.js;
type=text/javascript/script
InvalidTag
src=http://dev.agest.com.au:80/scripts/mootools-1.2-more.js;
type=text/javascript/script
InvalidTag src=http://dev.agest.com.au:80/scripts/generic.js;  ...
occured during the rendering process of this document.




What the??? 

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Thursday, 18 September 2008 3:43 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


http://www.coldfusionjedi.com/index.cfm/2007/6/13/ColdFusion-8-URL-Thumbnail
s

Regards
Dale Fraser
http://learncf.com
http://flexcf.com



-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of [EMAIL PROTECTED]
Sent: Thursday, 18 September 2008 3:35 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


I can't remember any offhand, but there are also various command line tools
and web-services that will create an image from a url. Probably for PDF too,
if your CSS is too much for CFDocument.

Blair

On 9/18/08, Steve Onnis [EMAIL PROTECTED] wrote:

 No no

 The client wants a function for the user to be able to save a copy of 
 the page as a PDF or an image.  Just looking at ways to do it.

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf
 Of Barry Beattie
 Sent: Thursday, 18 September 2008 3:27 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: Generating PDF and JPG images from websites


 or (following on from Chris)

 screen-scrape with CFHTTP and *then* use cfdocument.

 (I hope this isn't checking how a design looks on different operating 
 systems or browsers ... that's a totally different kettle of fish)



 On Thu, Sep 18, 2008 at 3:23 PM, Chris Velevitch
[EMAIL PROTECTED]
 wrote:

 On Thu, Sep 18, 2008 at 2:57 PM, Steve Onnis [EMAIL PROTECTED]
 wrote:
 I have a requirement to generate a PDF and/or JPG of a website page.
 Can anyone provide and recommendations to achieve this reliably?

 cfdocument format=PDF ../cfdocument


 Chris
 --
 Chris Velevitch
 Manager - Adobe Platform Users Group, Sydney
 m: 0415 469 095
 www.apugs.org.au

 Adobe Platform Users Group, Sydney
 September meeting: It's Going To Be Brilliant
 Date: Mon 29th September 6pm for 6:30 start Details and RSVP on 
 http://apugs2008september.eventbrite.com

 






 
















--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Generating PDF and JPG images from websites

2008-09-18 Thread Steve Onnis

Which link? 

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of CyberAngel
Sent: Friday, 19 September 2008 7:45 AM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites



This link any good to you, take note of the xml settings in the comments.

Not sure about cfdocument, an example to duplicate would be nice.



-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Steve Onnis
Sent: Thursday, 18 September 2008 11:11 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


This actually seems to be an issue with CFDOCUMENT.  I can output the
generated HTML and it does not have the InvalidTag replacements in it so
its coming from the CFDOCUMENT process.

Anyone got any ideas?

Steve

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of CyberAngel
Sent: Thursday, 18 September 2008 6:35 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


invalidtag

Is caused by script protection Steve... At least that is what I remember..



-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Steve Onnis
Sent: Thursday, 18 September 2008 5:26 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


This is what it is doing to the document


!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html
head
titleAGEST Super/title
InvalidTag http-equiv=Content-Type content=text/html;
charset=iso-8859-1 /
InvalidTag name=keywords content= /
InvalidTag http-equiv=imagetoolbar content=no /
base href=http://dev.agest.com.au; /
style type=text/css media=all
@import url(css/primary-menu.css);
@import url(css/default.css);
/style
!--[if gte IE 6]
style type=text/css media=screen
@import url(css/ie.css);
/style
![endif]--
style type=text/css media=print
@import url(css/print.css);
/style
InvalidTag
src=http://dev.agest.com.au:80/scripts/mootools-1.2-core.js;
type=text/javascript/script
InvalidTag
src=http://dev.agest.com.au:80/scripts/mootools-1.2-more.js;
type=text/javascript/script
InvalidTag src=http://dev.agest.com.au:80/scripts/generic.js;  ...
occured during the rendering process of this document.




What the??? 

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Thursday, 18 September 2008 3:43 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


http://www.coldfusionjedi.com/index.cfm/2007/6/13/ColdFusion-8-URL-Thumbnail
s

Regards
Dale Fraser
http://learncf.com
http://flexcf.com



-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of [EMAIL PROTECTED]
Sent: Thursday, 18 September 2008 3:35 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


I can't remember any offhand, but there are also various command line tools
and web-services that will create an image from a url. Probably for PDF too,
if your CSS is too much for CFDocument.

Blair

On 9/18/08, Steve Onnis [EMAIL PROTECTED] wrote:

 No no

 The client wants a function for the user to be able to save a copy of 
 the page as a PDF or an image.  Just looking at ways to do it.

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf
 Of Barry Beattie
 Sent: Thursday, 18 September 2008 3:27 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: Generating PDF and JPG images from websites


 or (following on from Chris)

 screen-scrape with CFHTTP and *then* use cfdocument.

 (I hope this isn't checking how a design looks on different operating 
 systems or browsers ... that's a totally different kettle of fish)



 On Thu, Sep 18, 2008 at 3:23 PM, Chris Velevitch
[EMAIL PROTECTED]
 wrote:

 On Thu, Sep 18, 2008 at 2:57 PM, Steve Onnis [EMAIL PROTECTED]
 wrote:
 I have a requirement to generate a PDF and/or JPG of a website page.
 Can anyone provide and recommendations to achieve this reliably?

 cfdocument format=PDF ../cfdocument


 Chris
 --
 Chris Velevitch
 Manager - Adobe Platform Users Group, Sydney
 m: 0415 469 095
 www.apugs.org.au

 Adobe Platform Users Group, Sydney
 September meeting: It's Going To Be Brilliant
 Date: Mon 29th September 6pm for 6:30 start Details and RSVP on 
 http://apugs2008september.eventbrite.com

 






 




















--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group

[cfaussie] Re: Generating PDF and JPG images from websites

2008-09-18 Thread Dale Fraser

Steve,

I tried it

http://code.fraser.id.au/dmf.cfm

Works ok, I just don't think it's clever enough to render your complex div
layout. You might need a dumb table version and point cfdocument to that
url.

Regards
Dale Fraser
http://learncf.com
http://flexcf.com


-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Steve Onnis
Sent: Friday, 19 September 2008 9:40 AM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


Which link? 

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of CyberAngel
Sent: Friday, 19 September 2008 7:45 AM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites



This link any good to you, take note of the xml settings in the comments.

Not sure about cfdocument, an example to duplicate would be nice.



-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Steve Onnis
Sent: Thursday, 18 September 2008 11:11 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


This actually seems to be an issue with CFDOCUMENT.  I can output the
generated HTML and it does not have the InvalidTag replacements in it so
its coming from the CFDOCUMENT process.

Anyone got any ideas?

Steve

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of CyberAngel
Sent: Thursday, 18 September 2008 6:35 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


invalidtag

Is caused by script protection Steve... At least that is what I remember..



-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Steve Onnis
Sent: Thursday, 18 September 2008 5:26 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


This is what it is doing to the document


!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html
head
titleAGEST Super/title
InvalidTag http-equiv=Content-Type content=text/html;
charset=iso-8859-1 /
InvalidTag name=keywords content= /
InvalidTag http-equiv=imagetoolbar content=no /
base href=http://dev.agest.com.au; /
style type=text/css media=all
@import url(css/primary-menu.css);
@import url(css/default.css);
/style
!--[if gte IE 6]
style type=text/css media=screen
@import url(css/ie.css);
/style
![endif]--
style type=text/css media=print
@import url(css/print.css);
/style
InvalidTag
src=http://dev.agest.com.au:80/scripts/mootools-1.2-core.js;
type=text/javascript/script
InvalidTag
src=http://dev.agest.com.au:80/scripts/mootools-1.2-more.js;
type=text/javascript/script
InvalidTag src=http://dev.agest.com.au:80/scripts/generic.js;  ...
occured during the rendering process of this document.




What the??? 

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Thursday, 18 September 2008 3:43 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


http://www.coldfusionjedi.com/index.cfm/2007/6/13/ColdFusion-8-URL-Thumbnail
s

Regards
Dale Fraser
http://learncf.com
http://flexcf.com



-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of [EMAIL PROTECTED]
Sent: Thursday, 18 September 2008 3:35 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


I can't remember any offhand, but there are also various command line tools
and web-services that will create an image from a url. Probably for PDF too,
if your CSS is too much for CFDocument.

Blair

On 9/18/08, Steve Onnis [EMAIL PROTECTED] wrote:

 No no

 The client wants a function for the user to be able to save a copy of 
 the page as a PDF or an image.  Just looking at ways to do it.

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf
 Of Barry Beattie
 Sent: Thursday, 18 September 2008 3:27 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: Generating PDF and JPG images from websites


 or (following on from Chris)

 screen-scrape with CFHTTP and *then* use cfdocument.

 (I hope this isn't checking how a design looks on different operating 
 systems or browsers ... that's a totally different kettle of fish)



 On Thu, Sep 18, 2008 at 3:23 PM, Chris Velevitch
[EMAIL PROTECTED]
 wrote:

 On Thu, Sep 18, 2008 at 2:57 PM, Steve Onnis [EMAIL PROTECTED]
 wrote:
 I have a requirement to generate a PDF and/or JPG of a website page.
 Can anyone provide and recommendations to achieve this reliably

[cfaussie] Re: Generating PDF and JPG images from websites

2008-09-18 Thread Steve Onnis

Cfdocument is soo flaky when it comes to this so im not using it.  I am
going for a command line exe which will give me an exact screen shot of the
site.  Then for the PDF I am going to load the image into the cfdocument
tag.

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Thursday, 18 September 2008 3:43 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


http://www.coldfusionjedi.com/index.cfm/2007/6/13/ColdFusion-8-URL-Thumbnail
s

Regards
Dale Fraser
http://learncf.com
http://flexcf.com



-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of [EMAIL PROTECTED]
Sent: Thursday, 18 September 2008 3:35 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


I can't remember any offhand, but there are also various command line tools
and web-services that will create an image from a url. Probably for PDF too,
if your CSS is too much for CFDocument.

Blair

On 9/18/08, Steve Onnis [EMAIL PROTECTED] wrote:

 No no

 The client wants a function for the user to be able to save a copy of 
 the page as a PDF or an image.  Just looking at ways to do it.

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf
 Of Barry Beattie
 Sent: Thursday, 18 September 2008 3:27 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: Generating PDF and JPG images from websites


 or (following on from Chris)

 screen-scrape with CFHTTP and *then* use cfdocument.

 (I hope this isn't checking how a design looks on different operating 
 systems or browsers ... that's a totally different kettle of fish)



 On Thu, Sep 18, 2008 at 3:23 PM, Chris Velevitch
[EMAIL PROTECTED]
 wrote:

 On Thu, Sep 18, 2008 at 2:57 PM, Steve Onnis [EMAIL PROTECTED]
 wrote:
 I have a requirement to generate a PDF and/or JPG of a website page.
 Can anyone provide and recommendations to achieve this reliably?

 cfdocument format=PDF ../cfdocument


 Chris
 --
 Chris Velevitch
 Manager - Adobe Platform Users Group, Sydney
 m: 0415 469 095
 www.apugs.org.au

 Adobe Platform Users Group, Sydney
 September meeting: It's Going To Be Brilliant
 Date: Mon 29th September 6pm for 6:30 start Details and RSVP on 
 http://apugs2008september.eventbrite.com

 






 








--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Generating PDF and JPG images from websites

2008-09-18 Thread Maximilian Nyman

I've built a brochure/pamphlet generator for a Interior company in
Sweden using iText - www.lowagie.com/iText (which is the underlying
engine to cfdocuments).
It's a Java library, so I guess you need to be fairly comfortable
coding Java in CF.
But it worked out great for us.

But now, when reading up a bit more on the HTML to PDF capabilities of
iText it seam like there's a reason why cfdocument is not perfect,
because iText isn't.
http://itext.ugent.be/library/question.php?id=40

So I guess this whole post of mine was just pointless - Sorry about that :(


/Max



On Fri, Sep 19, 2008 at 12:00 PM, Steve Onnis [EMAIL PROTECTED] wrote:

 Cfdocument is soo flaky when it comes to this so im not using it.  I am
 going for a command line exe which will give me an exact screen shot of the
 site.  Then for the PDF I am going to load the image into the cfdocument
 tag.

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
 Of Dale Fraser
 Sent: Thursday, 18 September 2008 3:43 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: Generating PDF and JPG images from websites


 http://www.coldfusionjedi.com/index.cfm/2007/6/13/ColdFusion-8-URL-Thumbnail
 s

 Regards
 Dale Fraser
 http://learncf.com
 http://flexcf.com



 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
 Of [EMAIL PROTECTED]
 Sent: Thursday, 18 September 2008 3:35 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: Generating PDF and JPG images from websites


 I can't remember any offhand, but there are also various command line tools
 and web-services that will create an image from a url. Probably for PDF too,
 if your CSS is too much for CFDocument.

 Blair

 On 9/18/08, Steve Onnis [EMAIL PROTECTED] wrote:

 No no

 The client wants a function for the user to be able to save a copy of
 the page as a PDF or an image.  Just looking at ways to do it.

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
 Behalf
 Of Barry Beattie
 Sent: Thursday, 18 September 2008 3:27 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: Generating PDF and JPG images from websites


 or (following on from Chris)

 screen-scrape with CFHTTP and *then* use cfdocument.

 (I hope this isn't checking how a design looks on different operating
 systems or browsers ... that's a totally different kettle of fish)



 On Thu, Sep 18, 2008 at 3:23 PM, Chris Velevitch
 [EMAIL PROTECTED]
 wrote:

 On Thu, Sep 18, 2008 at 2:57 PM, Steve Onnis [EMAIL PROTECTED]
 wrote:
 I have a requirement to generate a PDF and/or JPG of a website page.
 Can anyone provide and recommendations to achieve this reliably?

 cfdocument format=PDF ../cfdocument


 Chris
 --
 Chris Velevitch
 Manager - Adobe Platform Users Group, Sydney
 m: 0415 469 095
 www.apugs.org.au

 Adobe Platform Users Group, Sydney
 September meeting: It's Going To Be Brilliant
 Date: Mon 29th September 6pm for 6:30 start Details and RSVP on
 http://apugs2008september.eventbrite.com

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Generating PDF and JPG images from websites

2008-09-18 Thread Joris de Beer

There's a command line tool called Webshot available from:
http://www.websitescreenshots.com/

For the Mac Heads use:
http://www.paulhammond.org/webkit2png/

For linux you want KHTML2png:

http://khtml2png.sourceforge.net/

On 19/09/2008, at 3:30 PM, Maximilian Nyman wrote:


 I've built a brochure/pamphlet generator for a Interior company in
 Sweden using iText - www.lowagie.com/iText (which is the underlying
 engine to cfdocuments).
 It's a Java library, so I guess you need to be fairly comfortable
 coding Java in CF.
 But it worked out great for us.

 But now, when reading up a bit more on the HTML to PDF capabilities of
 iText it seam like there's a reason why cfdocument is not perfect,
 because iText isn't.
 http://itext.ugent.be/library/question.php?id=40

 So I guess this whole post of mine was just pointless - Sorry about  
 that :(


 /Max



 On Fri, Sep 19, 2008 at 12:00 PM, Steve Onnis  
 [EMAIL PROTECTED] wrote:

 Cfdocument is soo flaky when it comes to this so im not using it.   
 I am
 going for a command line exe which will give me an exact screen  
 shot of the
 site.  Then for the PDF I am going to load the image into the  
 cfdocument
 tag.

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED]  
 On Behalf
 Of Dale Fraser
 Sent: Thursday, 18 September 2008 3:43 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: Generating PDF and JPG images from websites


 http://www.coldfusionjedi.com/index.cfm/2007/6/13/ColdFusion-8-URL-Thumbnail
 s

 Regards
 Dale Fraser
 http://learncf.com
 http://flexcf.com



 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED]  
 On Behalf
 Of [EMAIL PROTECTED]
 Sent: Thursday, 18 September 2008 3:35 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: Generating PDF and JPG images from websites


 I can't remember any offhand, but there are also various command  
 line tools
 and web-services that will create an image from a url. Probably for  
 PDF too,
 if your CSS is too much for CFDocument.

 Blair

 On 9/18/08, Steve Onnis [EMAIL PROTECTED] wrote:

 No no

 The client wants a function for the user to be able to save a copy  
 of
 the page as a PDF or an image.  Just looking at ways to do it.

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED]  
 On
 Behalf
 Of Barry Beattie
 Sent: Thursday, 18 September 2008 3:27 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: Generating PDF and JPG images from websites


 or (following on from Chris)

 screen-scrape with CFHTTP and *then* use cfdocument.

 (I hope this isn't checking how a design looks on different  
 operating
 systems or browsers ... that's a totally different kettle of fish)



 On Thu, Sep 18, 2008 at 3:23 PM, Chris Velevitch
 [EMAIL PROTECTED]
 wrote:

 On Thu, Sep 18, 2008 at 2:57 PM, Steve Onnis [EMAIL PROTECTED] 
 
 wrote:
 I have a requirement to generate a PDF and/or JPG of a website  
 page.
 Can anyone provide and recommendations to achieve this reliably?

 cfdocument format=PDF ../cfdocument


 Chris
 --
 Chris Velevitch
 Manager - Adobe Platform Users Group, Sydney
 m: 0415 469 095
 www.apugs.org.au

 Adobe Platform Users Group, Sydney
 September meeting: It's Going To Be Brilliant
 Date: Mon 29th September 6pm for 6:30 start Details and RSVP on
 http://apugs2008september.eventbrite.com

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Generating PDF and JPG images from websites

2008-09-17 Thread Chris Velevitch

On Thu, Sep 18, 2008 at 2:57 PM, Steve Onnis [EMAIL PROTECTED] wrote:
 I have a requirement to generate a PDF and/or JPG of a website page.  Can
 anyone provide and recommendations to achieve this reliably?

cfdocument format=PDF ../cfdocument


Chris
--
Chris Velevitch
Manager - Adobe Platform Users Group, Sydney
m: 0415 469 095
www.apugs.org.au

Adobe Platform Users Group, Sydney
September meeting: It's Going To Be Brilliant
Date: Mon 29th September 6pm for 6:30 start
Details and RSVP on http://apugs2008september.eventbrite.com

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Generating PDF and JPG images from websites

2008-09-17 Thread Barry Beattie

or (following on from Chris)

screen-scrape with CFHTTP and *then* use cfdocument.

(I hope this isn't checking how a design looks on different operating
systems or browsers ... that's a totally different kettle of fish)



On Thu, Sep 18, 2008 at 3:23 PM, Chris Velevitch
[EMAIL PROTECTED] wrote:

 On Thu, Sep 18, 2008 at 2:57 PM, Steve Onnis [EMAIL PROTECTED] wrote:
 I have a requirement to generate a PDF and/or JPG of a website page.  Can
 anyone provide and recommendations to achieve this reliably?

 cfdocument format=PDF ../cfdocument


 Chris
 --
 Chris Velevitch
 Manager - Adobe Platform Users Group, Sydney
 m: 0415 469 095
 www.apugs.org.au

 Adobe Platform Users Group, Sydney
 September meeting: It's Going To Be Brilliant
 Date: Mon 29th September 6pm for 6:30 start
 Details and RSVP on http://apugs2008september.eventbrite.com

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Generating PDF and JPG images from websites

2008-09-17 Thread Steve Onnis

No no

The client wants a function for the user to be able to save a copy of the
page as a PDF or an image.  Just looking at ways to do it. 

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Barry Beattie
Sent: Thursday, 18 September 2008 3:27 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


or (following on from Chris)

screen-scrape with CFHTTP and *then* use cfdocument.

(I hope this isn't checking how a design looks on different operating
systems or browsers ... that's a totally different kettle of fish)



On Thu, Sep 18, 2008 at 3:23 PM, Chris Velevitch [EMAIL PROTECTED]
wrote:

 On Thu, Sep 18, 2008 at 2:57 PM, Steve Onnis [EMAIL PROTECTED]
wrote:
 I have a requirement to generate a PDF and/or JPG of a website page.  
 Can anyone provide and recommendations to achieve this reliably?

 cfdocument format=PDF ../cfdocument


 Chris
 --
 Chris Velevitch
 Manager - Adobe Platform Users Group, Sydney
 m: 0415 469 095
 www.apugs.org.au

 Adobe Platform Users Group, Sydney
 September meeting: It's Going To Be Brilliant
 Date: Mon 29th September 6pm for 6:30 start Details and RSVP on 
 http://apugs2008september.eventbrite.com

 






--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Generating PDF and JPG images from websites

2008-09-17 Thread Steve Onnis

See this should work shouldn't it?

cfsetting showdebugoutput=No /
cfhttp url=http://www.google.com.au; resolveurl=Yes/cfhttp
cfdocument format=PDF name=pdf
saveAsName=#expandPath('pdf.pdf')#cfoutput#TRIM(CFHTTP.FileContent)#/c
foutput/cfdocument

But its not saveing the file. 

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Barry Beattie
Sent: Thursday, 18 September 2008 3:27 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


or (following on from Chris)

screen-scrape with CFHTTP and *then* use cfdocument.

(I hope this isn't checking how a design looks on different operating
systems or browsers ... that's a totally different kettle of fish)



On Thu, Sep 18, 2008 at 3:23 PM, Chris Velevitch [EMAIL PROTECTED]
wrote:

 On Thu, Sep 18, 2008 at 2:57 PM, Steve Onnis [EMAIL PROTECTED]
wrote:
 I have a requirement to generate a PDF and/or JPG of a website page.  
 Can anyone provide and recommendations to achieve this reliably?

 cfdocument format=PDF ../cfdocument


 Chris
 --
 Chris Velevitch
 Manager - Adobe Platform Users Group, Sydney
 m: 0415 469 095
 www.apugs.org.au

 Adobe Platform Users Group, Sydney
 September meeting: It's Going To Be Brilliant
 Date: Mon 29th September 6pm for 6:30 start Details and RSVP on 
 http://apugs2008september.eventbrite.com

 






--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Generating PDF and JPG images from websites

2008-09-17 Thread shib71

I can't remember any offhand, but there are also various command line
tools and web-services that will create an image from a url. Probably
for PDF too, if your CSS is too much for CFDocument.

Blair

On 9/18/08, Steve Onnis [EMAIL PROTECTED] wrote:

 No no

 The client wants a function for the user to be able to save a copy of the
 page as a PDF or an image.  Just looking at ways to do it.

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
 Of Barry Beattie
 Sent: Thursday, 18 September 2008 3:27 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: Generating PDF and JPG images from websites


 or (following on from Chris)

 screen-scrape with CFHTTP and *then* use cfdocument.

 (I hope this isn't checking how a design looks on different operating
 systems or browsers ... that's a totally different kettle of fish)



 On Thu, Sep 18, 2008 at 3:23 PM, Chris Velevitch [EMAIL PROTECTED]
 wrote:

 On Thu, Sep 18, 2008 at 2:57 PM, Steve Onnis [EMAIL PROTECTED]
 wrote:
 I have a requirement to generate a PDF and/or JPG of a website page.
 Can anyone provide and recommendations to achieve this reliably?

 cfdocument format=PDF ../cfdocument


 Chris
 --
 Chris Velevitch
 Manager - Adobe Platform Users Group, Sydney
 m: 0415 469 095
 www.apugs.org.au

 Adobe Platform Users Group, Sydney
 September meeting: It's Going To Be Brilliant
 Date: Mon 29th September 6pm for 6:30 start Details and RSVP on
 http://apugs2008september.eventbrite.com

 






 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Generating PDF and JPG images from websites

2008-09-17 Thread phaddon

On Thu, Sep 18, 2008 at 03:28:43PM +1000, Steve Onnis wrote:

 No no
 
 The client wants a function for the user to be able to save a copy of the
 page as a PDF or an image.  Just looking at ways to do it. 

cfoutput
cfsavecontent variable=theWholePage
html
blah 
/html
/cfsavecontent
#theWholePage#
/cfoutput

Either create the PDF/jpg before outputting the page (and have a link to 
the file/s in the page) or save the html (somewhere) and 
retrieve/convert etc when the user goes click/Ajax etc.

Cheers

Paul Haddon
Technical Services Manager
Formstar Print Technologies


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Generating PDF and JPG images from websites

2008-09-17 Thread Andrew Scott

Steve,

The last time I did something like this, was to use cfsavecontent with the
cfhttp.content(whatever it is called, mind is blank) and then use
cfdocument. That way you are not really saving it to a file, so to speak.



-- 
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 9015 8628
Mobile: 0404 998 273



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Generating PDF and JPG images from websites

2008-09-17 Thread Dale Fraser

http://www.coldfusionjedi.com/index.cfm/2007/6/13/ColdFusion-8-URL-Thumbnail
s

Regards
Dale Fraser
http://learncf.com
http://flexcf.com



-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of [EMAIL PROTECTED]
Sent: Thursday, 18 September 2008 3:35 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Generating PDF and JPG images from websites


I can't remember any offhand, but there are also various command line
tools and web-services that will create an image from a url. Probably
for PDF too, if your CSS is too much for CFDocument.

Blair

On 9/18/08, Steve Onnis [EMAIL PROTECTED] wrote:

 No no

 The client wants a function for the user to be able to save a copy of the
 page as a PDF or an image.  Just looking at ways to do it.

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf
 Of Barry Beattie
 Sent: Thursday, 18 September 2008 3:27 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: Generating PDF and JPG images from websites


 or (following on from Chris)

 screen-scrape with CFHTTP and *then* use cfdocument.

 (I hope this isn't checking how a design looks on different operating
 systems or browsers ... that's a totally different kettle of fish)



 On Thu, Sep 18, 2008 at 3:23 PM, Chris Velevitch
[EMAIL PROTECTED]
 wrote:

 On Thu, Sep 18, 2008 at 2:57 PM, Steve Onnis [EMAIL PROTECTED]
 wrote:
 I have a requirement to generate a PDF and/or JPG of a website page.
 Can anyone provide and recommendations to achieve this reliably?

 cfdocument format=PDF ../cfdocument


 Chris
 --
 Chris Velevitch
 Manager - Adobe Platform Users Group, Sydney
 m: 0415 469 095
 www.apugs.org.au

 Adobe Platform Users Group, Sydney
 September meeting: It's Going To Be Brilliant
 Date: Mon 29th September 6pm for 6:30 start Details and RSVP on
 http://apugs2008september.eventbrite.com

 






 




--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---