ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Export Entries via RSS/XML, problems with encoded e-mails in content field

February 28, 2013 2:05pm

Subscribe [1]
  • #1 / Feb 28, 2013 2:05pm

    jkbautis

    1 posts

    Hi,

    I’m exporting a site from EE v1.7.1 to wordpress via a template generating a wordpress .wrx similar to this ticket http://ellislab.com/forums/viewthread/180973/#860581.

    However, my template exporter is tripping over content fields that have encoded e-mails with this syntax:

    {encode="[email protected]" title="[email protected]"} .

    I’m grabbing the field like in my template file like so:

    <content:encoded><![CDATA[{if body}{body}{if:elseif cc_content}{cc_content}{if:else}{article_content}{/if}]]></content:encoded>

    Is there something I can do differently so that the xml file doesn’t try to print out the javascript generated from the encoded e-mail and instead just prints it as <a >[email protected]</a> or even just plaintext?

    Any help is appreciated, thank you!

    Cheers,

    Jer

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases