diff --git a/share_post.py b/share_post.py index b8c1b6a..a54d454 100644 --- a/share_post.py +++ b/share_post.py @@ -43,6 +43,10 @@ def share_post(content): facebook_link = 'http://www.facebook.com/sharer/sharer.php?s=100&p%%5Burl%%5D=%s' % url gplus_link = 'https://plus.google.com/share?url=%s' % url twitter_link = 'http://twitter.com/home?status=%s' % tweet + linkedin_link = 'https://www.linkedin.com/shareArticle?mini=true&url=%s&title=%s&summary=%s&source=%s' % ( + url, title, summary, url + ) + mail_link = 'mailto:?subject=%s&body=%s' % (title, url) share_links = { @@ -50,6 +54,7 @@ def share_post(content): 'twitter': twitter_link, 'facebook': facebook_link, 'google-plus': gplus_link, + 'linkedin': linkedin_link, 'email': mail_link } content.share_post = share_links @@ -57,3 +62,5 @@ def share_post(content): def register(): signals.content_object_init.connect(share_post) + +