RSS Feed

steelej's Avatar

steelej

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: https://orgsync.com/calendar/org/rss/501302/f7e897002fa6d44bd352f1c...

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

    $_SerializerTool.serialize(${description},true)

    with

    ${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.

    Thanks,

    Jim
    ________________________________________
    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

Generic

? 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