DigiNews

Tech Watch by Johan Denoyer

← Back to articles

Avoid using "<![CDATA[ ... ]]>' in RSS

Quality: 8/10 Relevance: 9/10

Summary

The article argues against using CDATA sections in RSS/Atom feeds due to escaping edge cases, especially the sequence ']]>'. It demonstrates a simple approach to escaping content with a custom xmlEscape function and discusses why normal escaping is more uniform and reliable, noting that feed compression often diminishes any size benefits of CDATA.

🚀 Service construit par Johan Denoyer