diff --git a/readme.md b/readme.md index a5cc1a6..90d83f0 100644 --- a/readme.md +++ b/readme.md @@ -26,24 +26,24 @@ There are three ways to trigger the import: All settings are in `system/extensions/yellow-system.ini`: -`MastodonapiInstanceUrl` = your Mastodon instance URL (e.g. `https://mastodon.social`) -- **MastodonapiAccountId** = your Mastodon user ID (numeric, e.g. 1234567890) +`MastodonapiInstanceUrl` = your Mastodon instance URL (e.g. https://mastodon.social) +`MastodonapiAccountId`= your Mastodon user ID (numeric, e.g. 1234567890) - Find the ID of a Mastodon account: Enter "https://YOUR_INSTANCE_URL/api/v1/accounts/lookup?acct=PROFILNAME" in your browser. - Find the ID of a GoToSocial account (see here) -- **MastodonapiAccessToken** +` MastodonapiAccessToken` - Optional for a Mastodon account - Mandatory for a GoToSocial account (see here) -- **MastodonapiUpdateInterval** = Time interval between automatic updates in minutes (default: 30). -- **MastodonapiLimit** = Number of Toots retrieved per run (default: 20). -- **MastodonapiHashtag** = Leave blank for all posts; or filter with #hashtag. -- **MastodonapiAuthor** = Name under which the blog posts should appear. -- **MastodonapiTag** = Tag for the blog posts (default: Fediverse). -- **MastodonapiFolder** = Path to the blog folder (default: content/2-blog/). -- **MastodonapiStatus** = Default value is public +`MastodonapiUpdateInterval` = Time interval between automatic updates in minutes (default: 30). +`MastodonapiLimit` = Number of Toots retrieved per run (default: 20). +`MastodonapiHashtag` = Leave blank for all posts; or filter with #hashtag. +`MastodonapiAuthor` = Name under which the blog posts should appear. +`MastodonapiTag` = Tag for the blog posts (default: Fediverse). +`MastodonapiFolder` = Path to the blog folder (default: content/2-blog/). +`MastodonapiStatus` = Default value is public - public = page is a normal page - draft = page is not visible, user needs to log in, requires draft extension - unlisted = page is not visible, but can be accessed with the correct link -- **MastodonapiMaxAge** = Age of Toots in hours that should still be imported. 0 = all available Toots. +`MastodonapiMaxAge` = Age of Toots in hours that should still be imported. 0 = all available Toots. ## Developer