Reputation: 3
I am using cffeed for making an rss feed, but I have problems using the tag for images. Is there anyone who can help me with that?
Another problem is making the a string while the input comes from an 'int' field. Is there a simple way to solve that problem?
I bases my code on the article in here: Images in rss feed using ColdFusion and CFFeed
thanks.
Upvotes: 0
Views: 99
Reputation: 1744
As for the second part of your problem, try:
#javaCast( "string", value )#
where value is the numeric that should be a string. Coldfusion is typeless, but when it encounters a value that could be made into a numeric it will do so. Hence the javaCast which explicitly sets the value to be a String.
Upvotes: 0