Project

blogpost

0.01
No commit activity in last 3 years
No release in over 3 years
Ruby Blog Post (hatena,athera,269g,cocolog,fc2,goo,jugem,livedoor,maruta,seesaa,webry,wordpress,gmail,sendmail,sonet)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0

Runtime

>= 0
 Project Readme

Blogpost

Gem Version Ruby Blog Post (hatena,athera,269g,cocolog,fc2,goo,jugem,livedoor,maruta,seesaa,webry,wordpress,gmail,sendmail,sonet)

Installation

Add this line to your application's Gemfile:

gem 'blogpost'

And then execute:

$ bundle

Or install it yourself as:

$ gem install blogpost

Usage

require "blogpost"

# hatena blog
Blogpost::Hatenablog.post({:user => "user id", :pass => "api key", 
  :domain => "example.hatenablog.com", :title => "title", :content => "content"})
# hatena diary
Blogpost::Hatenadiary.post({:user => "user id", :pass => "password",
  :title => "title" , :content => "content"})
# athera
Blogpost::Athera.post({:user => "xml-rpc id", :pass => "xml-rpc pass",
  :title => "title" , :content => "content"})
# maruta
Blogpost::Maruta.post({:user => "user id", :pass => "password",
  :title => "title" , :content => "content"})
# wordpress
Blogpost::Wordpress.post({:domain => "example",:user =>"user id",
  :pass => "password", :title => "title" , :content => "content"})
# fc2
Blogpost::Fc2.post({:user =>"user id", :pass => "password",
  :title => "title" , :content => "content"})
# livedoor
Blogpost::Livedoor.post({:user =>"user id", :pass => "api key",
  :title => "title" , :content => "content"})
# goo
Blogpost::Goo.post({:user =>"user id", :pass => "password",
  :title => "title" , :content => "content"})
# seesaa
Blogpost::Seesaa.post({:user =>"your@example.com", :pass => "password",
  :title => "title" , :content => "content"})
# webry
Blogpost::Webry.post({:user =>"your@example.com", :pass => "passowrd",
  :title => "title" , :content => "content"})
# jugem
Blogpost::Jugem.post({:domain => "example", :user =>"user id",
  :pass => "password", :title => "title" , :content => "content"})
# cocolog
Blogpost::Cocolog.post({:blogid => "blog id", :user =>"user id",
  :pass => "password", :title => "title" , :content => "content"})
# 269g
Blogpost::Blogg.post({:user =>"api id", :pass => "api password",
  :title => "title" , :content => "content"})
# gmail
Blogpost::Gmail.post({:address =>"to@example.com",
  :user =>"your@example.com", :pass => "password",
  :title => "title" , :content => "content"})
# sendmail
Blogpost::Sendmail.post({:address =>"to@example.com",
  :title => "title" , :content => "content"})
# sonet
Blogpost::Sonet.post({:user =>"xml-rpc id", :pass => "xml-rpc pass",
  :title => "title" , :content => "content"})

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request