Can I add namespaced attributes?

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

Nobody has claimed this yet.

Assessment

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

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.

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.

Dominant language
Ruby
Stars
209
Forks
44
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from ruby/rss

All issues in ruby/rss

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.