0

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.

Community
  • 1
  • 1
  • 2
    Hello and welcome to Stack Overflow! Please be a little more detailed about what problems you have. So you have problems using the tag for images. What kind of problem? What are you trying? What is the result? What would you want the result to be? Posting some short code extracts in the question might also be a good idea to attract better answers. – Anders Jul 15 '15 at 08:05
  • Also, keep each posting to a single question. – Scott Stroz Jul 15 '15 at 13:08

1 Answers1

0

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.

Richard Osseweyer
  • 1,693
  • 20
  • 25