[Requirement: tt-rss version >= 1.7.9]
-
Make sure a dedicated feed exists in your tt-rss
You can insert it via executing the SQL in the filecreate-gritttt-feed
, which you can find in the main directory. After creating the dedicated feed, look up the tablettrss_feeds
and take note of the ID of the newly-created feed. -
Create a configuration file
config.js
as a copy ofconfig.js.template
. Enter your settings inconfig.js
:
Asgritttt_url
, set the URL at which you will put thedriveby-sharing
folder later (see step 5).
Aspath_to_ttrss
, set the relative path fromgritttt_url
to the folder containing your tt-rss instance.
The feed ID (feed_id
) is the ID of the feed you created in step 1. Foruser_id
, the user is the tt-rss user, and his ID is most likely1
, if you log in with the useradmin
. That is the standard case - if you run a multi-user tt-rss, fill in the ID you want to use in that context of sharing. -
Adjust the URL at which the
driveby-sharing
folder will be inbookmarklet.js
:
Replacehttp://www.example.com/gritttt/driveby-sharing
with whereever you put that folder later, in step 5 (you also edited this inconfig.js
in step 2). -
Copy content of
bookmarklet.js
into a bookmark of your browser and give it a catchy name, for exampleshare in tt-rss
. -
Put this directory on your webserver, according to the settings you made in step 2 and 3. The example made a folder called
gritttt
, and put thedriveby-sharing
folder in there (thegritttt
folder is also useful to put theshared-widget
folder in there, should you use that feature). -
Start sharing - on any website, click the bookmarklet, fill in title and possibly a note and hit
Share
!