I need to implement an activity feed for a Rails application with the following features: - Needs to work with MySQL database - Needs to support aggregations for similar feed stories (like Facebook) There is a library out there for Python, Feedly https://github.com/tschellenbach/Feedly, which seems to be an EXACT match for what I am trying to build, but well.. I need it in Ruby.
on 2014-03-21 18:40
on 2014-03-21 18:40
Can anyone recommend a gem/library?
on 2014-03-21 19:45
http://www.ruby-doc.org/stdlib-2.1.1/libdoc/rss/rd... Rob Biedenharn email@example.com
on 2014-03-21 23:23
require 'simple-rss' require 'open-uri' @health_and_science = SimpleRSS.parse open("http://www.npr.org/rss/rss.php?id=1007") @health_and_science.entries.each do |f| printf("NPR Feed: %s %s\n", f.pubDate.to_date, f.title) end
on 2014-03-23 14:21
Unfortunately you missed the point. I wasn't referring to RSS feeds. I mean activity feeds as in Facebook, Etsy, etc.
on 2014-03-23 14:22
I wasn't referring to RSS feeds. I mean activity feeds as in Facebook, Etsy, etc.
on 2014-03-25 12:47
http://railscasts.com/episodes/406-public-activity Is this what you want to accomplish? He uses the public activity gem.
on 2014-05-30 14:13
Hi guys, I'm one of the authors of Feedly (python). So it does sound exactly like what you're looking for but in the wrong language :) The same team behind Feedly is also offering a hosted solution now called getstream.io Have a look at the getting started, https://getstream.io/get_started/ We have client libraries available for Ruby, PHP, Python and Node. Internally its using a highly optimized system with Cassandra. It will be substantially cheaper than running your own Redis cluster. In addition it's currently in Beta, which means its free and comes with free tech support :) In case you are looking for building your own solution have a look at this article on highscalability: http://highscalability.com/blog/2013/10/28/design-... Cheers, Thierry