I"m just wondering why even have miva_cdata_encode? it doesn't seem to do any encoding that I can tell. From our import issues, I don't think it is encoding any of the data in any way besides the wrapper it puts around it.
Announcement
Collapse
No announcement yet.
Create and Schedule XML Data Feed
Collapse
X
-
My take, it's more about the CDATA content and how it's handled. The function wraps the content with the correct CDATA syntax so you don't need to worry about getting it wrong.
Then, remember that CDATA is an instruction for the XML parsing function for what to do or how to handle the data when the XML file is read/imported.
ScottNeed to offer Shipping Insurance?
Interactive Design Solutions https://www.myids.net
MivaMerchant Business Partner | Certified MivaMerchant Web Developer
Competitive Rates, Custom Modules and Integrations, Store Integration
AutoBaskets|Advanced Waitlist Integration|Ask about Shipping Insurance Integration
My T-shirt Collection is mostly MivaCon T-shirts!!
Comment
-
Tje dpcumentation at http://www.mivascript.com/item/encod...ta_encode.html says:Create one or more CDATA tags with the provided text, splitting any data with "]]>" into two CDATA tags with "]]" at the end of one CDATA tag, and ">" as the first value of the next CDATA tag.Kent Multer
Magic Metal Productions
http://TheMagicM.com
* Web developer/designer
* E-commerce and Miva
* Author, The Official Miva Web Scripting Book -- available on-line:
http://www.amazon.com/exec/obidos/IS...icmetalproducA
Comment
Comment