liferea icon indicating copy to clipboard operation
liferea copied to clipboard

Allow custom bookmark sites

Open Lucidiot opened this issue 3 years ago • 1 comments

I tried to look for a way to add a URL to post on https://tilde.news/ from within Liferea (https://tilde.news/stories/new?title=%s&url=%s). I saw the social_register_bookmark_site function calls and tried to find something related to it in the GTK inspector and the python console plugin, to maybe make my own plugin to add the URL since that is not possible from the UI, but could not find anything.

Would it be possible to add a way to add custom sites, or should I write a plugin that creates a whole another menu button?

Lucidiot avatar Jan 03 '22 23:01 Lucidiot

I guess you can make a filter for that feed.

In each item of the feed, append an html <form> to the <description> element of RSS. Use the form for submitting new post to that site.

mozbugbox avatar Jan 14 '22 05:01 mozbugbox

The relevant API in social.c is already exposed. Adding a plugin would make sense.

lwindolf avatar Oct 13 '22 14:10 lwindolf

8e7b376a switches social bookmark registration to simpler URLs with placeholders instead of positional %s

lwindolf avatar Oct 13 '22 15:10 lwindolf

Implemented as a new plugin.

Screenshot from 2022-10-14 22-44-55 Screenshot from 2022-10-14 22-45-14

lwindolf avatar Oct 14 '22 20:10 lwindolf