dylang / node-rss

RSS feed generator for Node.
https://npmjs.org/package/rss
MIT License
999 stars 133 forks source link

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

Open babakness opened 7 years ago

babakness commented 7 years ago

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 commented 7 years ago

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