Email XML and CDATA
Posted: 13 November 2007 02:48 PM   [ Ignore ]  
Summer Student
Total Posts:  8
Joined  09-28-2007

Hello Fine Support team!!

I have an issue with the email conversion to the script with CDATA in EE.  Basically I am parsing some data using XML for a verity of reasons.  Since I am working in a textbody area I am using CDATA in the XML so it shows things as structured HTML in the output XML.

When I add an email address into the fray, EE converts it to a structure which also includes a CDATA tag… as I am sure I don’t have to say - you cannot nest CDATA, which means my XML becomes invalid and errors out…

Is there any way that you know of to disable this “conversion” which still means that it is easy for my client to update data - instead of the odd unescape() function that I updated the details to…

I totally understand the need for anti spam to script it like this; but I need it to not use the CDATA, or come up with a more structured way to handle this - any assistance is very much appreciated.

Thanks in advance!!

Profile
 
 
Posted: 13 November 2007 03:01 PM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
RankRankRankRankRankRank
Total Posts:  7337
Joined  03-23-2006

Hi Andy.  If you could post an example of this in action it would be super helpful, but I think I have it.  Could you check CP Home ›  Admin ›  Weblog Administration ›  Weblog Management ›  Edit Weblog and see that you have “Automatically turn URLs and email addresses into links?” set to “no”.

If that’s not it, can you post some code so that I can re-create this and then solve it for you?  Also, what version of EE are you using?

 Signature 

DerekAllard.com - CodeIgniter, ExpressionEngine, and the World of Web Design
BambooInvoice - Open Source, CodeIgniter powered invoicing.

Profile
MSG
 
 
Posted: 13 November 2007 03:05 PM   [ Ignore ]   [ # 2 ]  
Summer Student
Total Posts:  8
Joined  09-28-2007

Derek,

You have no idea how long I have spent looking for that setting - thats perfect!!!!

I will remember to add some code next time for you guys!!

Many many many thanks!!

Profile
 
 
Posted: 13 November 2007 03:12 PM   [ Ignore ]   [ # 3 ]  
Administrator
Avatar
RankRankRankRankRankRank
Total Posts:  7337
Joined  03-23-2006

No problem, and our pleasure.  Glad it helped Andy.

 Signature 

DerekAllard.com - CodeIgniter, ExpressionEngine, and the World of Web Design
BambooInvoice - Open Source, CodeIgniter powered invoicing.

Profile
MSG
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1743, on December 02, 2009 03:47 PM
Total Registered Members: 120044 Total Logged-in Users: 57
Total Topics: 126169 Total Anonymous Users: 34
Total Replies: 663630 Total Guests: 365
Total Posts: 789799    
Members ( View Memberlist )