-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to remove CDATA from title and description? (stitcherFM and w3validator) #97
Comments
I'm seeing the same issue. Did you have any luck sorting it out? |
Just passing by... but have no idea how removing CDATA should fix validation as it is already valid, and it is a standard approach and works like that for ages (it was the same like 20 years ago). Are you sure it is the actual problem? |
To be honest, I'm not sure. I've seen different things on this, and the validator I just tried to use didn't call it out. So maybe it's ok? The validator did find a lot of other dumb stuff I did (with more complicated issues), so I would expect that it is ok. But I haven't tried pushing it into stitcher yet, as I'm moving an existing podcast feed. |
A long time ago I wrote a specialised CMS, with RSS feeds, using PHP. And all the output, including RSS, was manual back in time. All the plain text/html was inside CDATA and it still works like that, no issues with Feedly or other stuff I used over time. So if validator highlights it — it's weird. Checked the feed with W3C validator and no issues with CDATA. There are others already as it's outdated a bit, but that's alright :) |
how did u solve it ? I'm facing the same issue @vincentntang |
Same issue here, some RSS validators don't like the I think that if for my scope I will need to remove them, I will build an algorithm that will find and remove ![CDATA[ from the output string format (should be easy to do). Something like:
Guys be careful with special chars, if you remove I will update you when I will test the RSS output directly from the URL instead validate it from the string output. Update: |
Any update on this? |
how do I remove the CDATA from here? Here's the RSS feed we're using https://www.codechefs.dev/rss.xml
I'm running into issues getting this feed into getting this through https://www.stitcher.com/ which uses https://validator.w3.org/
I'm using
GatsbyJS
which is usingnode-rss
behind the scenes for thegatsby-plugin-feed
I read elsewhere that if I remove the
CDATA
fortitle
, it should fix RSS feed issues. #71The text was updated successfully, but these errors were encountered: