Skip to content

A octopress plugin to propagate latest blog information to LinkedIn timeline.

License

Notifications You must be signed in to change notification settings

huangbowen521/octopress-linkedin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

octopress-linkedin

What

A octopress plugin to propagate latest blog title and url to LinkedIn timeline.

中文介绍请参见: http://www.huangbowen.net/blog/2014/09/07/share-latest-post-to-linkedin/

Example:

Image of Sample

How

  • Clone this repo and copy _custom folder and the files in it to your octopress root path.

  • Register an application in LinkedIn. After the registration, you can get api_key, api_secret, user_token, user_secret infromation in the application details page, fill them in _custom\linkedin_config.yml file.


api_key: YOUR_API_KEY
api_secret: YOUR_API_SECRET
user_token: YOUR_USER_TOKEN
user_secret: YOUR_USER_SECRET

note: Please don't check in _custom\linkedin_config.yml to your source control management tool, since there is sensitive data in it.

  • Add the task below to your Rakefile:
desc "Post the title and url of latest blog to LinkedIn"
task :linkedin do
  puts "Post the title and url of latest blog to LinkedIn"
  system "ruby _custom/post_linkedin.rb"
end
  • add gem oauth in your Gemfile and run bundle install.

  • type rake linkedin in command line to post your latest blog title and url to your LinkedIn timeline.

You can customize the content by modifying _custom\linkedin.xml file. You can find further explain in LinkedIn Share API.

About

A octopress plugin to propagate latest blog information to LinkedIn timeline.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages