Expose env vars for configuring share menu #6

Open
opened 2023-01-22 10:07:45 +00:00 by aadil · 0 comments
Owner

Selfoss has built-in support for sharing links to Pocket, facebook, diaspora, twitter, and email. It'd be great to configure this menu to remove links to proprietary services, and send links to my self-hosted wordpress and wallabag instead.

According to the docs, you can configure this in config.ini with the following variables:

share

share defines which sharing buttons beneath the entry are visible. The following methods are supported:

a   Web Share API, when available
f   Facebook
t   Twitter
p   Pocket
d   Diaspora
w   Wallabag (requires wallabag option to be set)
s   Wordpress (requires wordpress option to be set)
e   E-mail
c   Copy to clipboard

Include the letters for methods you want to use. For example, if you would like to only show Facebook and Twitter share buttons, use share=ft.

Defaults to share=atfpde.

wallabag    URL of your Wallabag instance.

wallabag_version   Set to 2 or 1 depending on your wallabag version
wordpress   URL of your WordPress blog for sharing link
Selfoss has built-in support for sharing links to Pocket, facebook, diaspora, twitter, and email. It'd be great to configure this menu to remove links to proprietary services, and send links to my self-hosted wordpress and wallabag instead. According to the [docs](https://selfoss.aditu.de/docs/administration/options/), you can configure this in `config.ini` with the following variables: ``` share share defines which sharing buttons beneath the entry are visible. The following methods are supported: a Web Share API, when available f Facebook t Twitter p Pocket d Diaspora w Wallabag (requires wallabag option to be set) s Wordpress (requires wordpress option to be set) e E-mail c Copy to clipboard Include the letters for methods you want to use. For example, if you would like to only show Facebook and Twitter share buttons, use share=ft. Defaults to share=atfpde. wallabag URL of your Wallabag instance. wallabag_version Set to 2 or 1 depending on your wallabag version wordpress URL of your WordPress blog for sharing link ```
aadil changed title from Add env vars for configuring sharing to Expose env vars for configuring share menu 2023-01-22 10:08:04 +00:00
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/selfoss#6
No description provided.