diff options
Diffstat (limited to 'lib/rss/taxonomy.rb')
-rw-r--r-- | lib/rss/taxonomy.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/rss/taxonomy.rb b/lib/rss/taxonomy.rb index c89de64d31..3eb5b893aa 100644 --- a/lib/rss/taxonomy.rb +++ b/lib/rss/taxonomy.rb @@ -163,7 +163,6 @@ module RSS def to_s(need_convert=true, indent=calc_indent) rv = tag(indent) do |next_indent| [ - link_element(need_convert, next_indent), other_element(need_convert, next_indent), ] end @@ -189,6 +188,12 @@ module RSS [@taxo_link, @taxo_topics] end + def _attrs + [ + ["#{RDF::PREFIX}:about", true, "about"] + ] + end + def _tags rv = [] rv << [TAXO_URI, "link"] unless @taxo_link.nil? |