LivedoorBlog
The LivedoorBlog library is used for automating interactions with a livedoor blog.
It can submit entry and upload images.
Installation
Add this line to your application's Gemfile:
gem 'livedoor_blog'
And then execute:
$ bundle
Or install it yourself as:
$ gem install livedoor_blog
Usage
require 'livedoor_blog'
blog = LivedoorBlog.new
blog.login(ENV["livedoor_id"], ENV["password"])
url = blog.upload_image("images/test.jpg")
blog.submit_entry("Test", "Test image: <img src='#{url}'>")
Contributing
- Fork it ( https://github.com/[my-github-username]/livedoor_blog/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request