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

91 views
Skip to first unread message

Kenny Meyer

unread,
Mar 21, 2014, 1:38:45 PM3/21/14
to rubyonra...@googlegroups.com
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.

Kenny Meyer

unread,
Mar 21, 2014, 1:39:17 PM3/21/14
to rubyonra...@googlegroups.com
Can anyone recommend a gem/library?

Rob Biedenharn

unread,
Mar 21, 2014, 2:43:57 PM3/21/14
to rubyonra...@googlegroups.com
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/4fa4894b-3d9a-430e-8ad7-9f689362e8d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Rick

unread,
Mar 21, 2014, 6:22:30 PM3/21/14
to rubyonra...@googlegroups.com
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

Kenny Meyer

unread,
Mar 23, 2014, 9:19:50 AM3/23/14
to rubyonra...@googlegroups.com
I wasn't referring to RSS feeds. I mean activity feeds as in Facebook, Etsy, etc.

Kenny Meyer

unread,
Mar 23, 2014, 9:20:17 AM3/23/14
to rubyonra...@googlegroups.com
Unfortunately you missed the point. I wasn't referring to RSS feeds. I mean activity feeds as in Facebook, Etsy, etc.

James Davis, PhD

unread,
Mar 25, 2014, 7:46:39 AM3/25/14
to rubyonra...@googlegroups.com
http://railscasts.com/episodes/406-public-activity
Is this what you want to accomplish? He uses the public activity gem.

Thierry Schellenbach

unread,
May 30, 2014, 8:13:49 AM5/30/14
to rubyonra...@googlegroups.com
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-decisions-for-scaling-your-high-traffic-feeds.html

Cheers,
Thierry

--
Posted via http://www.ruby-forum.com/.
Reply all
Reply to author
Forward
0 new messages