ok cool.

Thanks!

Randy


On Wed, Dec 5, 2012 at 4:48 PM, Matthew Roach <[email protected]> wrote:

> Don't think you did anything wrong..
> But you did solve your issue on the same day.
>
> The cfhttp method is the correct way, the manual was wrong and has since
> been updated to reflect this.
>
> Matthew
>
>  Randy Johnson <mailto:[email protected]>
>> 05 December 2012 21:42
>>
>>
>> I never heard anything back on this one.  Did  I do something wrong?
>>
>> Randy
>>
>> *From:*Randy Johnson [mailto:[email protected] <mailto:[email protected]>]
>> *Sent:* Monday, November 19, 2012 11:34 PM
>> *To:* [email protected] 
>> <mailto:openbd@googlegroups.**com<[email protected]>
>> >
>> *Subject:* cfscript javascript
>>
>>
>> Hello,
>>
>> I am running: OpenBD Nightly Build 2.0.3b Ready2Run, just downloaded
>> tonight.
>>
>> I am running this code from the blog entry: http://alan.blog-city.com/**
>> cfmail_selection.htm <http://alan.blog-city.com/cfmail_selection.htm>
>>
>> <cfscript>
>> doc = html( FileRead("http://www.openbd.**org/ <http://www.openbd.org/>")
>> );
>> allLinks = doc.select("a[href]");
>> for ( x = 1; x <= ArrayLen(allLinks); x++ ){
>>   WriteOutput("<li>" & allLinks[x].attr("href") & "</li>" );
>> }
>> </cfscript>
>>
>> And I receive this error.
>>
>> *CFML Runtime Error*
>>
>> Need some help? Visit our manual http://openbd.org/manual/ <
>> http://openbd.org/manual/>
>>
>> *FileRead cause an error (resource is not readable)*
>>
>>
>> Request
>>
>>
>>
>> /text.cfm
>>
>> File Trace
>>
>>
>>
>> D:/jetty-openbd/webapps/**openbd/text.cfm
>>
>> Type
>>
>>
>>
>> Expression
>>
>> Function
>>
>>
>>
>> fileread 
>> <http://openbd.org/manual/?/**function/fileread<http://openbd.org/manual/?/function/fileread>
>> >
>>
>> Tag Context
>>
>>
>>
>> CFSCRIPT 
>> <http://openbd.org/manual/?/**tag/CFSCRIPT<http://openbd.org/manual/?/tag/CFSCRIPT>
>> >(D:/jetty-openbd/**webapps/openbd/text.cfm, Line=2, Column=1)
>>
>>
>> Source
>>
>>
>> 1:
>> 2: <cfscript>
>> 3: doc = html( FileRead("http://www.openbd.**org/<http://www.openbd.org/>")
>> );
>> 4:
>> 5: allLinks = doc.select("a[href]");
>>
>> ^ Snippet from underlying CFML source
>>
>> Any ideas?
>>
>> Randy
>>
>> --
>> online documentation: http://openbd.org/manual/
>> http://groups.google.com/**group/openbd?hl=en<http://groups.google.com/group/openbd?hl=en>
>> Randy Johnson <mailto:[email protected]>
>> 20 November 2012 04:34
>>
>>
>> Hello,
>>
>> I am running: OpenBD Nightly Build 2.0.3b Ready2Run, just downloaded
>> tonight.
>>
>> I am running this code from the blog entry: http://alan.blog-city.com/**
>> cfmail_selection.htm <http://alan.blog-city.com/cfmail_selection.htm>
>>
>> <cfscript>
>> doc = html( FileRead("http://www.openbd.**org/ <http://www.openbd.org/>")
>> );
>> allLinks = doc.select("a[href]");
>> for ( x = 1; x <= ArrayLen(allLinks); x++ ){
>>   WriteOutput("<li>" & allLinks[x].attr("href") & "</li>" );
>> }
>> </cfscript>
>>
>> And I receive this error.
>>
>> *CFML Runtime Error*
>>
>> Need some help? Visit our manual http://openbd.org/manual/ <
>> http://openbd.org/manual/>
>>
>> *FileRead cause an error (resource is not readable)*
>>
>>
>> Request
>>
>>
>>
>> /text.cfm
>>
>> File Trace
>>
>>
>>
>> D:/jetty-openbd/webapps/**openbd/text.cfm
>>
>> Type
>>
>>
>>
>> Expression
>>
>> Function
>>
>>
>>
>> fileread 
>> <http://openbd.org/manual/?/**function/fileread<http://openbd.org/manual/?/function/fileread>
>> >
>>
>> Tag Context
>>
>>
>>
>> CFSCRIPT 
>> <http://openbd.org/manual/?/**tag/CFSCRIPT<http://openbd.org/manual/?/tag/CFSCRIPT>
>> >(D:/jetty-openbd/**webapps/openbd/text.cfm, Line=2, Column=1)
>>
>>
>> Source
>>
>>
>> 1:
>> 2: <cfscript>
>> 3: doc = html( FileRead("http://www.openbd.**org/<http://www.openbd.org/>")
>> );
>> 4:
>> 5: allLinks = doc.select("a[href]");
>>
>> ^ Snippet from underlying CFML source
>>
>> Any ideas?
>>
>> Randy
>>
>> --
>> online documentation: http://openbd.org/manual/
>> http://groups.google.com/**group/openbd?hl=en<http://groups.google.com/group/openbd?hl=en>
>>
>
> --
> online documentation: http://openbd.org/manual/
> http://groups.google.com/**group/openbd?hl=en<http://groups.google.com/group/openbd?hl=en>
>

-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

Reply via email to