My rss generator seems to be coming along OK. I still have a few things 
to clean up in the code, but here's my first test page, which is set to 
display 10 headlines:

http://www.nelsonmullins.com/rss/rss_press.cfm

Got a problem with another page though.

http://www.nelsonmullins.com/rss/rss_newsletters.cfm

Same code base as the first page. However, something in the output is 
stopping it from displaying all 10 rows from the database. If you do a 
"view source", you'll see the rest of the stories.

The data in the database is also used to display on regular HTML pages 
and contains HTML code in the body portion. So, I'm using regex to strip 
that out:

<cfset 
querySetCell(data,"body","#left(rereplacenocase(stories.body,"<[^>]*>","","all"),
 
300)# ...")>

What else do I need to be stripping out? The data in the database could 
contain *anything*...


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276588
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to