aboutsummaryrefslogtreecommitdiff
path: root/app/shares.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2018-07-23 22:49:23 +0200
committerGravatar GitHub <noreply@github.com> 2018-07-23 22:49:23 +0200
commit3bebc90474c354878fcdafa17574bb0a3b1d92f0 (patch)
tree2d5e3af46b679f5f146c15e76a8c02b88a7f8b7e /app/shares.php
parent95c17f92c0a4656644ebf51c808809176007cb23 (diff)
Share with LinkedIn (#1960)
https://developer.linkedin.com/docs/share-on-linkedin https://github.com/FreshRSS/freshrss.org/issues/40
Diffstat (limited to 'app/shares.php')
-rw-r--r--app/shares.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/shares.php b/app/shares.php
index 8c6b4eac6..55deed785 100644
--- a/app/shares.php
+++ b/app/shares.php
@@ -131,4 +131,10 @@ return array(
'form' => 'simple',
'method' => 'GET',
),
+ 'linkedin' => array(
+ 'url' => 'https://www.linkedin.com/shareArticle?url=~LINK~&amp;title=~TITLE~&amp;source=FreshRSS',
+ 'transform' => array('rawurlencode'),
+ 'form' => 'simple',
+ 'method' => 'GET',
+ ),
);