Accumulate streams from various sites, with the intention of manipulating them into a single stream of your activities on the internet—i.e., a stream of things you are doing.
With Bundler, simply add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install doing_stream
There are six built-in streams:
Simply create each stream desired with the username, then pass a collection of
streams =  streams << DoingStream::Streams::GitHub.new('foobar') streams << DoingStream::Streams::LastFM.new('foobar') streams << DoingStream::Streams::Pinboard.new('foobar') streams << DoingStream::Streams::StackOverflow.new(42) streams << DoingStream::Streams::Vimeo.new('foobar') entries = DoingStream::DoingStream.new(streams) entries.latest
Keep in mind that most of the API-based streams have rate-limits, so it would be wise to cache the results if you expect this to run frequently.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Added some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request
Copyright © 2012 J. Andrew Marshall. All rights reserved.