RE: cfchart in cfdocument

2014-09-08 Thread David Phelan

Sorry, I'm using cfchart.  I remember looking into different charting options 
for another project some time ago and did find a gauge chart available so I 
know it's available, but do not remember where I found it.

-Original Message-
From: Anthony Doherty [mailto:anthony...@gmail.com] 
Sent: Friday, September 05, 2014 3:47 PM
To: cf-talk
Subject: Re: cfchart in cfdocument


Are you using cfchart or an other charting option. The reason I'm asking is I'm 
trying to create a dashboard with 10 charts but think CF is a little limited 
with the chart options. Ie I'm trying to create a gauge chart 

Thanks

Sent from my iPhone

 On 5 Sep 2014, at 20:30, David Phelan dphe...@emerginghealthit.com wrote:
 
 
 Never mind, I figured it out.  I stored the images in an array and used 
 cfimage to render them to the browser.
 
 -Original Message-
 From: David Phelan [mailto:dphe...@emerginghealthit.com] 
 Sent: Friday, September 05, 2014 3:15 PM
 To: cf-talk
 Subject: cfchart in cfdocument
 
 
 I am trying to creating a PDF document that contains a number of charts 
 within (over 360).  I had run the document with a simple query to produce the 
 charts and then applied the real query.  With the dummy query, the page took 
 some time to run, but everything appeared fine in the document.  Now that I 
 have applied the proper query which produces a different chart in each 
 location, I am getting a number of Image Expired, Please refresh the page to 
 view the image.  The bottom of the document is properly displaying the 
 charts, but the first 40 pages display this message in place of the graph.  
 Is it possible that I am simply trying to create too many graphs at a time 
 and the memory can't hold them all?  Do I need to write all these images out 
 to the file system and reference them as URLs?
 
 David Phelan
 Web Developer
 IT Security  Web Technologies
 
 Montefiore IT
 3 Odell Plaza, Yonkers, NY 10701
 914-457-6465 Office
 862-234-9109 Cell
 dphe...@emerginghealthit.commailto:dphe...@emerginghealthit.com
 www.emerginghealthit.comhttp://www.emerginghealthit.com/
 www.montefiore.orghttp://www.montefiore.org/
 [Description: Montefiore IT logo]http://www.emerginghealthit.com/default.cfm
 
 
 
 
 
 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359244
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Not able to read a RSS feed from a WordPress website

2014-09-08 Thread Chris h

Hi All,

Below is the code which was working fine till yesterday for reading a RSS feed 
from a Wordpress site running Wordpress 3.9.1

--

cftry
cfset rssUrl = http://www.testsite.com/?feed=rss2;
cffeed action=read source=#rssUrl# query=entriesNews 
properties=info timeout = 180
ul

cfoutput query=entriesNews startrow=1 
maxrows=3
   
cfset tempTextNews = #title#
cfif len(tempTextNews) gt '75'
lia class=NewsEvents href=#rssLink# 
target=_blank#Left(tempTextNews, 75)#...more/a/li
cfelse
lia class=NewsEvents href=#rssLink# 
target=_blank#title#...more/a/li
/cfif


/cfoutput
cfcatch type=any
!--cfdump var=#entriesNews# ---
!--cfdump var=#info# ---  
 
News Feed Temporarily Unavailable
/cfcatch
/ul
/cftry


--

http://www.testsite.com/?feed=rss2 is a valid RSS feed and I confirmed that 
with http://validator.w3.org/feed/

www.testsite.com is something I am using here for posting instead of the actual 
website which provides the feed.

If I use a browser, I can see the feeds. Using a feed reader in Google Chrome 
browser, I can notice the feeds load correctly.


If the above code is loaded in a page called testfeed.cfm, I get the message 
News Feed Temporarily Unavailable. We are using ColdFusion 9 on a Windows 
server with IIS.


The details of error are 

Detail: Check if the specified host on the port is accessible.

Message:Connection refused by the specified host on the specified port.

StackTrace: coldfusion.syndication.FeedReader$ConnectionRefusedException: 
Connection refused by the specified host on the specified port. at 

coldfusion.syndication.FeedReader.getInputStream(FeedReader.java:394)

1. What could have caused a working WordPress RSS feed which was parsed 
correctly by ColdFusion till last week to stop suddenly?

2. How can I resolve the issue?

Any suggestions would be appreciated.

Thanks 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359245
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Not able to read a RSS feed from a WordPress website

2014-09-08 Thread Dave Watts

 If I use a browser, I can see the feeds. Using a feed reader in Google Chrome 
 browser, I can notice the
 feeds load correctly.

Are you using a browser from the machine running CF?

 Message:Connection refused by the specified host on the specified 
 port.

 ...

 1. What could have caused a working WordPress RSS feed which was parsed 
 correctly by ColdFusion
 till last week to stop suddenly?

 2. How can I resolve the issue?

Looks like the CF server can't connect to that host on that port. This
could be all kinds of things, but it probably doesn't actually have
anything to do with CF itself. Perhaps the CF server is on a network
segment that can't access this server. Perhaps the DNS entry changed
for the WP server, and the CF server hasn't updated its cache. Etc,
etc, etc.

Dave Watts, CTO, Fig Leaf Software
1-202-527-9569
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359246
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm