is used, * else an is used. Add a click event in main.js additionally. * - 'url' is a mandatory option. It is a string representing the share URL. It * supports 4 different placeholders for custom data. The ~URL~ placeholder * represents the URL of the system used to share, it is configured by the * user. The ~LINK~ placeholder represents the link of the shared article. * The ~TITLE~ placeholder represents the title of the shared article. The * ~ID~ placeholder represents the id of the shared article (only useful * for internal use) * - 'transform' is an array of transformation to apply on links and titles * - 'help' is a URL to a help page (mandatory for form = 'advanced') * - 'form' is the type of form to display during configuration. It’s either * 'simple' or 'advanced'. 'simple' is used when only the name is configurable, * 'advanced' is used when the name and the location are configurable. * - 'method' is the HTTP method (POST or GET) used to share a link. */ return [ 'archiveORG' => [ 'url' => 'https://web.archive.org/save/~LINK~', 'transform' => [], 'help' => 'https://web.archive.org', 'form' => 'simple', 'method' => 'GET', ], 'archiveIS' => [ 'url' => 'https://archive.is/submit/?url=~LINK~', 'transform' => [], 'help' => 'https://archive.is/', 'form' => 'simple', 'method' => 'GET', ], 'archivePH' => [ 'url' => 'https://archive.ph/submit/?url=~LINK~', 'transform' => [], 'help' => 'https://archive.ph/', 'form' => 'simple', 'method' => 'GET', ], 'bluesky' => [ 'url' => 'https://bsky.app/intent/compose?text=~LINK~', 'transform' => ['urlencode'], 'form' => 'simple', 'method' => 'GET', ], 'buffer' => [ 'url' => 'https://publish.buffer.com/compose?url=~LINK~&text=~TITLE~', 'transform' => ['rawurlencode'], 'help' => 'https://support.buffer.com/hc/en-us/articles/360035587394-Scheduling-posts', 'form' => 'simple', 'method' => 'GET', ], 'clipboard' => [ 'HTMLtag' => 'button', 'url' => '~LINK~', 'transform' => [], 'form' => 'simple', 'method' => 'GET', ], 'diaspora' => [ 'url' => '~URL~/bookmarklet?url=~LINK~&title=~TITLE~', 'transform' => ['rawurlencode'], 'help' => 'https://diasporafoundation.org/', 'form' => 'advanced', 'method' => 'GET', ], 'email' => [ 'url' => 'mailto:?subject=~TITLE~&body=~LINK~', 'transform' => ['rawurlencode'], 'form' => 'simple', 'method' => 'GET', ], 'email-webmail-firefox-fix' => [ // see https://github.com/FreshRSS/FreshRSS/issues/2666 'url' => 'mailto:?subject=~TITLE~&body=~LINK~', 'transform' => ['rawurlencode'], 'form' => 'simple', 'method' => 'GET', ], 'facebook' => [ 'url' => 'https://www.facebook.com/sharer.php?u=~LINK~&t=~TITLE~', 'transform' => ['rawurlencode'], 'form' => 'simple', 'method' => 'GET', ], 'gnusocial' => [ 'url' => '~URL~/notice/new?content=~TITLE~%20~LINK~', 'transform' => ['urlencode'], 'help' => 'https://gnu.io/social/', 'form' => 'advanced', 'method' => 'GET', ], 'jdh' => [ 'url' => 'https://www.journalduhacker.net/stories/new?url=~LINK~&title=~TITLE~', 'transform' => ['rawurlencode'], 'form' => 'simple', 'method' => 'GET', ], 'Known' => [ 'url' => '~URL~/share?share_url=~LINK~&share_title=~TITLE~', 'transform' => ['rawurlencode'], 'help' => 'https://withknown.com/', 'form' => 'advanced', 'method' => 'GET', ], 'lemmy' => [ 'url' => '~URL~/create_post?url=~LINK~&title=~TITLE~', 'transform' => ['rawurlencode'], 'help' => 'https://join-lemmy.org/', 'form' => 'advanced', 'method' => 'GET', ], 'linkding' => [ 'url' => '~URL~/bookmarks/new?url=~LINK~&title=~TITLE~&auto_close', 'transform' => ['rawurlencode'], 'help' => 'https://linkding.link/how-to/', 'form' => 'advanced', 'method' => 'GET', ], 'linkedin' => [ 'url' => 'https://www.linkedin.com/shareArticle?url=~LINK~&title=~TITLE~&source=FreshRSS', 'transform' => ['rawurlencode'], 'form' => 'simple', 'method' => 'GET', ], 'mastodon' => [ 'url' => '~URL~/share?title=~TITLE~&url=~LINK~', 'transform' => ['rawurlencode'], 'help' => 'https://joinmastodon.org/', 'form' => 'advanced', 'method' => 'GET', ], 'movim' => [ 'url' => '~URL~/?share/~LINK~', 'transform' => ['urlencode'], 'help' => 'https://movim.eu/', 'form' => 'advanced', 'method' => 'GET', ], 'omnivore' => [ 'url' => '~URL~/api/save?url=~LINK~', 'transform' => ['urlencode'], 'help' => 'https://github.com/omnivore-app/omnivore', 'form' => 'advanced', 'method' => 'GET', ], 'pinboard' => [ 'url' => 'https://pinboard.in/add?next=same&url=~LINK~&title=~TITLE~', 'transform' => ['urlencode'], 'help' => 'https://pinboard.in/api/', 'form' => 'simple', 'method' => 'GET', ], 'pinterest' => [ 'url' => 'https://pinterest.com/pin/create/button/?url=~LINK~', 'transform' => ['rawurlencode'], 'help' => 'https://pinterest.com/', 'form' => 'simple', 'method' => 'GET', ], 'print' => [ 'HTMLtag' => 'button', 'url' => '#', 'transform' => [], 'form' => 'simple', 'method' => 'GET', ], 'raindrop' => [ 'url' => 'https://app.raindrop.io/add?link=~LINK~&title=~TITLE~', 'transform' => ['rawurlencode'], 'form' => 'simple', 'method' => 'GET', ], 'reddit' => [ 'url' => 'https://www.reddit.com/submit?url=~LINK~', 'transform' => ['rawurlencode'], 'help' => 'https://www.reddit.com/wiki/submitting?v=c2ae883a-04b9-11e4-a68c-12313b01a1fc', 'form' => 'simple', 'method' => 'GET', ], 'shaarli' => [ 'url' => '~URL~?post=~LINK~&title=~TITLE~&source=FreshRSS', 'transform' => ['rawurlencode'], 'help' => 'http://sebsauvage.net/wiki/doku.php?id=php:shaarli', 'form' => 'advanced', 'method' => 'GET', ], 'telegram' => [ 'url' => 'https://t.me/share/url?url=~LINK~&text=~TITLE~', 'transform' => ['rawurlencode'], 'form' => 'simple', 'method' => 'GET', ], 'twitter' => [ 'url' => 'https://twitter.com/share?url=~LINK~&text=~TITLE~', 'transform' => ['rawurlencode'], 'form' => 'simple', 'method' => 'GET', ], 'wallabag' => [ 'url' => '~URL~?action=add&url=~LINK~', 'transform' => ['rawurlencode'], 'help' => 'http://www.wallabag.org/', 'form' => 'advanced', 'method' => 'GET', ], 'wallabagv2' => [ 'url' => '~URL~/bookmarklet?url=~LINK~', 'transform' => ['rawurlencode'], 'help' => 'http://www.wallabag.org/', 'form' => 'advanced', 'method' => 'GET', ], 'web-sharing-api' => [ 'HTMLtag' => 'button', 'url' => '~LINK~', 'transform' => [], 'form' => 'simple', 'method' => 'GET', ], 'whatsapp' => [ 'url' => 'https://wa.me/?text=~TITLE~%20|%20~LINK~', 'transform' => ['rawurlencode'], 'help' => 'https://faq.whatsapp.com/iphone/how-to-link-to-whatsapp-from-a-different-app/?lang=en', 'form' => 'simple', 'method' => 'GET', ], 'xing' => [ 'url' => 'https://www.xing.com/spi/shares/new?url=~LINK~', 'transform' => ['rawurlencode'], 'help' => 'https://dev.xing.com/plugins/share_button/docs', 'form' => 'simple', 'method' => 'GET', ], ];