Skip to content
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

Create the RSS feed without a CDATA and without CDATA #86

Open
rajinikumar opened this issue Jul 16, 2018 · 0 comments
Open

Create the RSS feed without a CDATA and without CDATA #86

rajinikumar opened this issue Jul 16, 2018 · 0 comments

Comments

@rajinikumar
Copy link

rajinikumar commented Jul 16, 2018

@dylang,
Currently the modules support to generate the rss feed with cdata .
Example : title, description (both : 1. channel -> title , 2. channel ->item -> title).
But possible to generate with data for inside the channel and item tag's ?

<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" > <channel> <title><![CDATA[Test]]></title> <description><![CDATA[test desc]]></description> <link>http://github.com/dylang/node-rss</link> <generator>hello</generator> <lastBuildDate>Mon, 16 Jul 2018 08:43:51 GMT</lastBuildDate> <pubDate>Sun, 20 May 2012 04:00:00 GMT</pubDate> <copyright><![CDATA[2018]]></copyright> <language><![CDATA[en-gb]]></language> <category><![CDATA[test]]></category> <item> <title><![CDATA[item title]]></title> <description><![CDATA[use this for the content. It can include html.]]></description> <link>http://example.com/article4?this&amp;that</link> <guid isPermaLink="false">1123</guid> <content:encoded><![CDATA[This is the long content. <b>This & That</b>]]></content:encoded> </item> </channel> </rss>

@rajinikumar rajinikumar changed the title Create the XML without a CDATA and without CDATA Create the RSS feed without a CDATA and without CDATA Jul 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant