node-rss icon indicating copy to clipboard operation
node-rss copied to clipboard

adding xmlns:webfeeds='...' attribute to rss tag

Open babakness opened this issue 7 years ago • 3 comments

Hello, how can I add an additional xmlns:content attribute to the parent <rss> tag?

Example:

<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0">

babakness avatar May 11 '17 22:05 babakness

Figured this out, new RSS(options); options supports "custom_namespaces" like feed items.

babakness avatar May 11 '17 23:05 babakness