Image RSS Feed builder in rails

xml.instruct! :xml, :version => “1.0”
xml.rss :version => “2.0” do do
    xml.title “Funny Fake Ads”
    xml.description “My Funny Fake Ads” pins_url
    for pin in @pins
      xml.item do
        xml.title pin.brand 
        xml.description pin.description
        xml.image do
         xml.url pin.image(:medium)
        xml.pubDate pin.created_at.to_s(:rfc822) pin_url(pin)

About the author

Being the CEO and Founder of ClecoTech International, Mr. Ashish Prajapati is dedicated towards his aim of mentoring young startups into a full-fledged businesses. He is helping startups from America, Europe, India, and various other countries through proper guidance and the use of latest technologies to develop their innovation and ideas into definite realities.

Leave a Reply

Your email address will not be published. Required fields are marked *