Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

Can anyone help me out with a method to preserve white space/line breaks in an RSS-feed-to-email ifttt task?

I have tried using xml:space="preserve", <![CDATA[ <br> ]]> and just plain <br> but when I use any of these methods, it seems to break the task and I stop receiving the emails.

Can anyone point me in the right direction?

share|improve this question
add comment

1 Answer 1

I have a feed setup that posts to tumblr and I've never had issues with spacing.

Looking at it seems to be that the <p> and <br \> tags are respected by ifttt.

Here's snippet (note, it's a vent anonymously site so I'm trying to find a safe one). This is from the <content:encoded> section of a wordpress xml feed

<content:encoded> <![CDATA[ <p>I am so tired. My head hurts and it feels like it is going to literally explode at any moment. I am so pissed off.<br /> They keep asking me to do everything, despite the fact I don&#8217;t have time. I need to sleep, I need to rest, i need to actually do my works for uni. And instead they keep ordering me to go around solving all their problems. They are the parents, they are supposed to me the ones to take responsability, not me. When am I going to start living my own life. it&#8217;s like I&#8217;m just a tool they can use whenever they need it. I am a person, not a tool. </p> ]]> </content:encoded>

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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