# Rubyrss-1.0

**URL:** <https://www.ruby-forum.com/t/rubyrss-1-0/95697>\
**Category:** Ruby\
**Created:** [June 9, 2006, 6:51pm UTC](https://www.ruby-forum.com/t/rubyrss-1-0/95697 "2006-06-09T18:51:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sergey\_t](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7ea924/32.png) [@sergey\_t](https://www.ruby-forum.com/u/sergey_t)\
**Post date:** [June 9, 2006, 6:51pm UTC](https://www.ruby-forum.com/t/rubyrss-1-0/95697/1 "2006-06-09T18:51:43Z")

</div>

Dear Ruby community,

I’m glad to announce initial release of RubyRSS tool.

WHAT IS A RUBYRSS

Elegant as Ruby RSS parser and generator intended to help you bring  
together Ruby and RSS in your project. Features include creation of  
custom (x)HTML news blocks from remote RSS feeds, generation of  
RSS-feeds using templates, and more.

HOW TO PARSE RSS-FEED

require “rubyrss”

rss = RubyRSS.new “[http://www.games-mix.com/rss-feed.xml](http://www.games-mix.com/rss-feed.xml)”  
rss.parse

HOW TO GENERATE RSS-FEED

require “rubyrss”

rss = RubyRSS.new “rss-feed.xml”  
rss.title = “Sample RSS-feed”  
rss.link = “[http://www.rubyrss.com](http://www.rubyrss.com)”  
rss.desc = “Sample RSS-feed generated by RubyRSS”  
rss.date = Time.now.gmtime  
1.upto(10) { |i|  
rss.items \<\< RubyRSS::Item.new(  
“title-” + i.to\_s,  
“#” + String(i),  
“description-#{i}”,  
Time.now.gmtime  
)  
}  
rss.generate “rss2.0”

I’ll be happy to hear your feedback.
