Activity streams/News feeds with Aggregation, MySQL and Redis support

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.

Can anyone recommend a gem/library?

http://www.ruby-doc.org/stdlib-2.1.1/libdoc/rss/rdoc/RSS.html

Rob B.
[email protected]

Unfortunately you missed the point. I wasn’t referring to RSS feeds. I
mean
activity feeds as in Facebook, Etsy, etc.

I wasn’t referring to RSS feeds. I mean activity feeds as in Facebook,
Etsy, etc.

http://railscasts.com/episodes/406-public-activity
Is this what you want to accomplish? He uses the public activity gem.

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 :slight_smile:

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 :slight_smile:

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-decisions-for-scaling-your-high-traffic-feeds.html

Cheers,
Thierry

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs