diff --git a/CMakeLists.txt b/CMakeLists.txt index 2a68802..e1388d1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required (VERSION 3.7) include(GNUInstallDirs) project (mastorss - VERSION 0.2.1 + VERSION 0.2.2 LANGUAGES CXX ) diff --git a/README.md b/README.md index 1e8a902..15e1e06 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ **mastorss** dumps RSS feeds into a mastodon account. It is hacked together and generally only extended/fixed when it fails. +Do NOT assume it follows any standards. Use at your own risk. # Install @@ -18,7 +19,7 @@ Use at your own risk. ### Development version - git clone … + git clone https://github.com/tastytea/mastorss.git ## Compile @@ -35,7 +36,9 @@ Install with `make install`. # Usage -Put watchwords.json into `~/.config/mastorss/`. Launch with profile name. +Put `watchwords.json` into `~/.config/mastorss/`. Launch with profile name. +The first occurence of every watchword in an RSS item will be turned into a hashtag. +For profile-specific watchwords see the example in `watchwords.json`. In the first run only the newest entry is tooted. The profile can't be named "global". diff --git a/src/mastorss.cpp b/src/mastorss.cpp index dfe3801..0eb6780 100644 --- a/src/mastorss.cpp +++ b/src/mastorss.cpp @@ -77,7 +77,7 @@ std::uint16_t read_config(pt::ptree &config, const string &profile, string &inst "mastorss", "urn:ietf:wg:oauth:2.0:oob", "write", - "", + "https://github.com/tastytea/mastorss", client_id, client_secret, url);