ruby / ruby/rss

Can I add namespaced attributes?

Open
#38 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
206
Forks
39
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the RSS::Maker.make('2.0') entry point and the linked SmartFormat specification to understand the requested snf:logo structure. Trace how channel content is represented and serialized; done would mean the library has a documented way to produce the requested namespaced content.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.