Skip to content

Can I add namespaced attributes? #38

@ysksn

Description

@ysksn

Is it possible to add namespace content such as snf:logo ?

RSS::Maker.make('2.0') do |maker|
  maker.channel.title = 'Hello World!'
  # <snf:logo>
  #   <url>http://times.smartnews.co.jp/snlogo.png</url>
  # </snf:logo>
end

SmartFormat仕様書(RSS2.0準拠)
https://publishers.smartnews.com/hc/ja/articles/360010977813-SmartFormat%E4%BB%95%E6%A7%98%E6%9B%B8-RSS2-0%E6%BA%96%E6%8B%A0-#channel

I appreciate any help you can provide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions