1

Since cffeed writes everything out to XML, I'm not sure how to format the text in the description of my feed. Ideally, I would like to be able to format the description as a list. HTML characters are escaped and HTML special characters just show up as text.

3
  • 1
    What have you tried? I haven't used CFFeed specifically, but I'm a little surprised that it isn't handling HTML correctly, as per the RSS standard Jun 12, 2012 at 14:50
  • Wow, I'm an idiot. You're completely right. I had the description wrapped in an XMLFormat() function that escaped all HTML chars. Once I removed that, the feed handled the HTML just fine. Thanks for the reply. Jun 12, 2012 at 15:53
  • 1
    :) Sometimes ColdFusion makes it so simple that we try to over complicate things Jun 12, 2012 at 16:30

1 Answer 1

1

Wow, I'm an idiot. You're completely right. I had the description wrapped in an XMLFormat() function that escaped all HTML chars. Once I removed that, the feed handled the HTML just fine. Thanks for the reply.

5
  • Took me a while to figure out why you added this as an answer. I believe the OP should do this, not someone else. But you could add an intro to make it clear you added it for him, and mark this post as community wiki too.
    – bfavaretto
    Sep 5, 2012 at 18:58
  • @bfavaretto I'll direct a comment to the OP. I didn't know how or why a community wiki was created. Thanks for the heads up. Sep 5, 2012 at 21:05
  • if you edit your answer, there is a community wiki checkbox. One of the effects of marking a post community wiki is, if it is up/downvote, it won't affect your reputation. Seems fair in this case, since the content you posted was authored by the OP.
    – bfavaretto
    Sep 5, 2012 at 21:34
  • @user1451502 I added your comment as an answer. Sep 5, 2012 at 21:52
  • @bfavaretto Done. I appreciate your explanation of the community wiki. I'll use that in situations like this going forward. Sep 5, 2012 at 21:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.