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>
        <title>AGEST 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to