I am using feedburner to publish my feed.
I have a table called ‘Event’ which has created_on and updated_on columns besides other attributes. Some of the attributes are disclosed through RSS.
Once the event is created, RSS feed can pick up those events.
However after a while I update a column which is not disclosed on the feed. In the process the column updated_on also gets update. Once again I update a column that is not disclosed on the rss feed and is not used to determine which events to be shown.
Feedburner somehows picks up the information that I have updated the feed and re delivers it even though I don’t want it to redeliver since the content has not changed.
Any one has encountered this kind of issue before.
Given below is xml feed file that I use.
xml.instruct! :xnl, :version => “1.0”, :encoding => ‘UTF-8’ xml.rss “version” => “2.0”, “xmlns:dc” => " http://purl.org/dc/elements/1.1/" do xml.channel do xml.title “#{@city.name} Events - EventsInIndia.com” xml.link url_for( :only_path => false,:controller => ‘ievents’,:action => ‘list’, :type => ‘up’, :cid => @city.id) xml.description “List of events in #{@ city.name}” xml.pubDate CGI.rfc1123_date(@events.first.created_on) if @events.any?
xml.image do
xml.url "[
Just a moment...](Just a moment...)" xml.link “http://eventsinindia.com/” xml.title “EventsInIndia.com” end
xml.language "en-us"
xml.copyright "Copyright 2006-2007 [www.EventsInIndia.com](http://www.EventsInIndia.com)"
xml.docs "[
Site Outline (RSS 2.0 at Harvard Law)](Site Outline (RSS 2.0 at Harvard Law))"
@events.each do |event|
xml.item do
xml.title [event.name](http://event.name)
xml.link eventid_url([
event.id](http://event.id))
xml.description event_desc_for_feed(event)
xml.comments eventid_url([event.id](http://event.id))
xml.pubDate CGI.rfc1123_date(event.created_on
) xml.author “nospam@nospam.com (#{event.user.name})” xml.guid eventid_url(event.id ) end
end
end end