Added documentation, website.

This commit is contained in:
tastytea 2018-02-10 13:48:33 +01:00
parent 7d0a2d0af6
commit 90203c02e9
Signed by: tastytea
GPG Key ID: 59346E0EA35C67E5
3 changed files with 7 additions and 4 deletions

View File

@ -2,7 +2,7 @@ cmake_minimum_required (VERSION 3.7)
include(GNUInstallDirs) include(GNUInstallDirs)
project (mastorss project (mastorss
VERSION 0.2.1 VERSION 0.2.2
LANGUAGES CXX LANGUAGES CXX
) )

View File

@ -1,5 +1,6 @@
**mastorss** dumps RSS feeds into a mastodon account. **mastorss** dumps RSS feeds into a mastodon account.
It is hacked together and generally only extended/fixed when it fails. It is hacked together and generally only extended/fixed when it fails.
Do NOT assume it follows any standards.
Use at your own risk. Use at your own risk.
# Install # Install
@ -18,7 +19,7 @@ Use at your own risk.
### Development version ### Development version
git clone git clone https://github.com/tastytea/mastorss.git
## Compile ## Compile
@ -35,7 +36,9 @@ Install with `make install`.
# Usage # 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. In the first run only the newest entry is tooted.
The profile can't be named "global". The profile can't be named "global".

View File

@ -77,7 +77,7 @@ std::uint16_t read_config(pt::ptree &config, const string &profile, string &inst
"mastorss", "mastorss",
"urn:ietf:wg:oauth:2.0:oob", "urn:ietf:wg:oauth:2.0:oob",
"write", "write",
"", "https://github.com/tastytea/mastorss",
client_id, client_id,
client_secret, client_secret,
url); url);