RSS Feed

steelej's Avatar


28 Sep, 2012 02:52 PM

I have an rss feed from a calendar used by our Campus-Life dept. I noted today that wherever there is either a double-space or an erroneous space (say at the end of an entry after the period) It's coming through fine on the feed but in my format the extra or erroneous space is coming through as  .

The feed is at:

Script is attached. I've tried escaping and replacing the string to no effect. Suggestions would be welcome.

  1. 1 Posted by Ryan Griffith on 28 Sep, 2012 03:41 PM

    Ryan Griffith's Avatar

    Hm, assuming the   will be the only encoded entity present in the description, replacing this line



    ${description.value.replaceAll(" "," ")}

    seems to work out.

  2. 2 Posted by steelej on 28 Sep, 2012 06:00 PM

    steelej's Avatar

    Thanks Ryan,
    It was the .value I forgot when I tried this.

    Please close the discussion.


    From: Ryan Griffith [[email blocked]]
    Sent: Friday, September 28, 2012 11:40 AM
    To: Steele, James
    Subject: Re: RSS Feed [Velocity Formats #258]

  3. 3 Posted by Ryan Griffith on 28 Sep, 2012 07:15 PM

    Ryan Griffith's Avatar

    Glad to hear you got it working, Jim.

    Have a great weekend!

  4. Ryan Griffith closed this discussion on 28 Sep, 2012 07:15 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac