You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@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&that</link> <guid isPermaLink="false">1123</guid> <content:encoded><![CDATA[This is the long content. <b>This & That</b>]]></content:encoded> </item> </channel> </rss>
The text was updated successfully, but these errors were encountered:
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
@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&that</link> <guid isPermaLink="false">1123</guid> <content:encoded><![CDATA[This is the long content. <b>This & That</b>]]></content:encoded> </item> </channel> </rss>
The text was updated successfully, but these errors were encountered: