Skip to content

aparayannilam/tumblrtop30

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Synopsis

Discovers the top 30 posts of any Tumblr blog, using the number of notes per post as a metric. Working example here.

How it works

This Ruby on Rails application sends requests to the Tumblr API to receive a blog's posts. Blogs with thousands of posts can take a while to process because only 20 posts can be requested from the Tumblr API at a time. To address this issue, I use Delayed::Job to create a background job, and Progress Job to inform the user of the job's status. After the job is complete, the user is sent to a page containing the top 30 posts of the Tumblr blog requested.

TODO

  • Creating the appropriate tests (RSpec?)
  • Scheduling a daily job that clears blog entries from the database (Cron?)

Motivation

A friend of mine wanted a tool to find the top posts of Tumblr blogs, and I wanted to learn more Ruby on Rails, so I decided to create this application.

References

License

This project is licensed under the terms of the MIT license.

About

Grabs the top 30 posts of any Tumblr blog

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published