Hi,

I am new to all this RSS stuff, and have been looking at the new cffeed
 tag in creating rss feeds for my company's website. I am currently
 testing all this on my local machine using the developer edition. I
 seem
 to be able to create the feed just fine using the query method but my
 problem is that I cannot get the feeds to link back to the website. It
 seems to be leaving off the page name, and script info. I have
 searched
 high and low, and have not been able to find any solutions to this
 problem. I would really appreciate if anyone had any ideas for me!

I have attached my code. As you can see using the meta.link, and then
 the rsslink from the query, the link should be going to:
 http://www.spirent.com/news/news.cfm?id=#id#, however it is going to:
 http://www.spirent.com/news/#id#

Also, since I am doing this locally I have just been using the firefox
 rss ticker, and built in reader to test. I have also noticed, then
 using firefox built in reader it doesnt link the items at all??

Attach Code

<cfset columnMapStruct = StructNew()>
<cfset columnMapStruct.publisheddate = "DDATE"> 
<cfset columnMapStruct.content = "VLONGDESC"> 
<cfset columnMapStruct.title = "VHEADLINE">      
<cfset columnMapStruct.rsslink = "ID">

<!--- Set the feed metadata. --->
<cfset meta.title = "Spirent Press Releases">
<cfset meta.link = "http://www.spirent.com/news/news.cfm?id=";>
<cfset meta.description = "Recent Company News"> 
<cfset meta.version = "rss_2.0">

<!--- Create the feed. --->
<cffeed action="create" 
    query="#getpress#" 
    properties="#meta#"
    columnMap="#columnMapStruct#" outputfile="spirss.xml"
         overwrite="true"
    xmlvar="rssXML">

Thanks in advance! 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:296383
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