diff --git a/Makefile.config b/Makefile.config
index 2dc7863..c97c941 100644
--- a/Makefile.config
+++ b/Makefile.config
@@ -7,6 +7,7 @@ export FLASK_ENV=development
export TWOOTFEED_CONFIG_DIR=$(APP_PATH)/
export TWOOTFEED_CONFIG_FILE=$(APP_PATH)/config.yml
export TWOOTFEED_LOG=twootfeed.log
+export TWOOTFEED_SETTINGS=DevelopmentConfig
GUNICORN_LOG=gunicorn.log
diff --git a/docs/_images/FreshRSS.png b/docs/_images/FreshRSS.png
deleted file mode 100644
index 5034351..0000000
Binary files a/docs/_images/FreshRSS.png and /dev/null differ
diff --git a/docs/_images/MastodonFreshRSS.png b/docs/_images/MastodonFreshRSS.png
deleted file mode 100644
index 8a3edda..0000000
Binary files a/docs/_images/MastodonFreshRSS.png and /dev/null differ
diff --git a/docs/_images/MastodonRSSFeed.png b/docs/_images/MastodonRSSFeed.png
deleted file mode 100644
index 3937bc7..0000000
Binary files a/docs/_images/MastodonRSSFeed.png and /dev/null differ
diff --git a/docs/_images/RSSFeed.png b/docs/_images/RSSFeed.png
deleted file mode 100644
index eae4452..0000000
Binary files a/docs/_images/RSSFeed.png and /dev/null differ
diff --git a/docs/_images/mastodon.png b/docs/_images/mastodon.png
deleted file mode 100644
index 2bc82c8..0000000
Binary files a/docs/_images/mastodon.png and /dev/null differ
diff --git a/docs/_images/twitter.png b/docs/_images/twitter.png
deleted file mode 100644
index e6869b9..0000000
Binary files a/docs/_images/twitter.png and /dev/null differ
diff --git a/docs/_sources/features.rst.txt b/docs/_sources/features.rst.txt
index 91ddb08..bf90b48 100644
--- a/docs/_sources/features.rst.txt
+++ b/docs/_sources/features.rst.txt
@@ -20,49 +20,7 @@ The feed displays only the original tweets (not the retweets) and toots, with:
- location (only for Twitter)
- numbers of retweets and likes for tweets and boosts and favourites for toots
+.. warning::
-
-.. danger::
-
- | **twootfeed** is developed for personal use.
- | Tweets and toots are displayed for the user associated to API keys, it may expose private items if feeds are publicly available.
-
-
-Examples
-~~~~~~~~
-
-- Search on Twitter
-
-.. figure:: _images/twitter.png
- :alt: Twitter search
- :figclass: doc-img
-
-Results in RSS Feed:
-
-.. figure:: _images/RSSFeed.png
- :alt: RSS Feed
- :figclass: doc-img
-
-Display on FreshRSS, a great free self-hosted aggregator (https://github.com/FreshRSS/FreshRSS):
-
-.. figure:: _images/FreshRSS.png
- :alt: FreshRSS
- :figclass: doc-img
-
-- Search on Mastodon
-
-.. figure:: _images/mastodon.png
- :alt: Mastodon search
- :figclass: doc-img
-
-Results in RSS Feed:
-
-.. figure:: _images/MastodonRSSFeed.png
- :alt: Mastodon Feed
- :figclass: doc-img
-
-Display on FreshRSS:
-
-.. figure:: _images/MastodonFreshRSS.png
- :alt: Mastodon FreshRSS
- :figclass: doc-img
+ | **twootfeed** is developed for a personal use.
+ | Tweets and toots are displayed for the user associated to the API keys (feeds may contain items with **restricted visibility**).
diff --git a/docs/_sources/installation.rst.txt b/docs/_sources/installation.rst.txt
index 62b4753..4660ddb 100644
--- a/docs/_sources/installation.rst.txt
+++ b/docs/_sources/installation.rst.txt
@@ -41,16 +41,45 @@ Installation
Update the `feed and app parameters Danger Warning Search on Twitter Results in RSS Feed: Display on FreshRSS, a great free self-hosted aggregator (https://github.com/FreshRSS/FreshRSS): Search on Mastodon Results in RSS Feed: Display on FreshRSS:
Description
-
Examples
-
-
-
-
-
-
-
-
-
-
-Installationfeed and app parameters.
New in version 0.7.0.
+Since twootfeed is connected to the user account, feeds may display items with restricted visibility.
+A token is now mandatory to start the application and access feeds (minimum length: 25 characters).
+Some examples for token generation:
+> with Python
+$ python
+Python 3.10.5 (main, Jun 6 2022, 18:49:26) [GCC 12.1.0] on linux
+Type "help", "copyright", "credits" or "license" for more information.
+>>> import secrets
+>>> secrets.token_urlsafe()
+'pgoeS3qOsLHxduzNY_gmn6p5vWZqSzqBgnb_VPupQ7o'
+>>>
+> with a linux command line
+$ date | sha256sum | base64 | head -c 25; echo
+NWU2MzE1ZGM0MmVlZDg5NDNhN
+The files location can be changed with the following environment variables:
The RSS feeds are available on these urls:
+The following RSS feeds are available:
for Twitter search:
-
- -
http://localhost:8080/tweets/<keywords>
- +
http://localhost:8080/<keywords> (will be deprecated in a next version)
- +
http://localhost:8080/tweets/<keywords>?token=XXX
http://localhost:8080/<keywords>?token=XXX (will be deprecated in a next version)
keyword as a hashtag:
-
- +
http://localhost:8080/toots/<hashtag> (without the leading #)
http://localhost:8080/toots/<hashtag>?token=XXX (without the leading #)
query:
-
- -
- +
http://localhost:8080/toot_search/<query> (will be deprecated in a next version)
- +
http://localhost:8080/toots/search/<query>?token=XXX
http://localhost:8080/toot_search/<query>?token=XXX (will be deprecated in a next version)
for Mastodon connected user favorites:
-
- -
- +
http://localhost:8080/toot_favorites (will be deprecated in a next version)
- +
http://localhost:8080/toot_favorites?token=XXX (will be deprecated in a next version)
for Mastodon connected user bookmarks:
for Mastodon connected user home timeline:
where XXX is the token set in configuration.
diff --git a/docs/parameters.html b/docs/parameters.html index 60636bc..b22f212 100644 --- a/docs/parameters.html +++ b/docs/parameters.html @@ -106,6 +106,7 @@timezone: Feed timezone
text_length_limit: title length of a Feed item
max_items: maximum number of displayed items
token: token for feeds access