Forum: Ruby on Rails Activity streams/News feeds with Aggregation, MySQL and Redis support

10a836ff08ac1d4082339e6cde68a084?d=identicon&s=25 Kenny Meyer (Guest)
on 2014-03-21 18:40
(Received via mailing list)
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.
10a836ff08ac1d4082339e6cde68a084?d=identicon&s=25 Kenny Meyer (Guest)
on 2014-03-21 18:40
(Received via mailing list)
Can anyone recommend a gem/library?
9570b2f45e7de7a24d8f3bf4b2517192?d=identicon&s=25 Rob Biedenharn (Guest)
on 2014-03-21 19:45
(Received via mailing list)
http://www.ruby-doc.org/stdlib-2.1.1/libdoc/rss/rd...

Rob Biedenharn
rob.biedenharn@gmail.com
Af2ce6689213fdb78913a9662b18da6b?d=identicon&s=25 Rick Lloyd (ricklloyd)
on 2014-03-21 23:23
(Received via mailing list)
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
10a836ff08ac1d4082339e6cde68a084?d=identicon&s=25 Kenny Meyer (Guest)
on 2014-03-23 14:21
(Received via mailing list)
Unfortunately you missed the point. I wasn't referring to RSS feeds. I
mean
activity feeds as in Facebook, Etsy, etc.
10a836ff08ac1d4082339e6cde68a084?d=identicon&s=25 Kenny Meyer (Guest)
on 2014-03-23 14:22
(Received via mailing list)
I wasn't referring to RSS feeds. I mean activity feeds as in Facebook,
Etsy, etc.
B1994475d62550dfb65f2f802fd48e79?d=identicon&s=25 James Davis, PhD (Guest)
on 2014-03-25 12:47
(Received via mailing list)
http://railscasts.com/episodes/406-public-activity
Is this what you want to accomplish?  He uses the public activity gem.
55d71ad27f79006049e236f8254e2548?d=identicon&s=25 Thierry Schellenbach (thierry_s)
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
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.