Codeberg entfernt
This commit is contained in:
parent
7825565b3d
commit
b8cb368c27
7 changed files with 18 additions and 18 deletions
|
|
@ -1,14 +1,14 @@
|
||||||
# Datenstrom Yellow extension settings
|
# Datenstrom Yellow extension settings
|
||||||
|
|
||||||
Extension: Mastodonapi
|
Extension: Mastodonapi
|
||||||
Version: 0.9.8
|
Version: 0.9.9
|
||||||
Description: Import your toots into your blog.
|
Description: Import your toots into your blog.
|
||||||
Developer: Simon Rohr
|
Developer: Simon Rohr
|
||||||
Tag: feature
|
Tag: feature
|
||||||
DownloadUrl: https://codeberg.org/simonpipe/yellow-mastodonapi/archive/main.zip
|
DownloadUrl: https://git.thepipes.ch/simon/yellow-mastodonapi/archive/main.zip
|
||||||
DocumentationUrl: https://codeberg.org/simonpipe/yellow-mastodonapi
|
DocumentationUrl: https://git.thepipes.ch/simon/yellow-mastodonapi
|
||||||
DocumentationLanguage: en, de
|
DocumentationLanguage: en, de
|
||||||
Published: 2026-05-27 14:20:00
|
Published: 2026-07-28 15:41:00
|
||||||
Status: experimental
|
Status: experimental
|
||||||
system/workers/mastodonapi.php: mastodonapi.php, create, update
|
system/workers/mastodonapi.php: mastodonapi.php, create, update
|
||||||
system/workers/mastodonapi.status: mastodonapi.status, create, update, careful
|
system/workers/mastodonapi.status: mastodonapi.status, create, update, careful
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
// Mastodonapi extension, https://codeberg.org/simonpipe/yellow-mastodonapi
|
// Mastodonapi extension, https://git.thepipes.ch/simon/yellow-mastodonapi
|
||||||
|
|
||||||
class YellowMastodonapi {
|
class YellowMastodonapi {
|
||||||
const VERSION = "0.9.8";
|
const VERSION = "0.9.8";
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<p align="right"><a href="https://codeberg.org/simonpipe/yellow-mastodonapi/src/branch/main/readme-de.md">Deutsch</a> <a href="https://codeberg.org/simonpipe/yellow-mastodonapi/src/branch/main/readme.md">English</a></p>
|
<p align="right"><a href="https://git.thepipes.ch/simon/yellow-mastodonapi/src/branch/main/readme-de.md">Deutsch</a> <a href="https://git.thepipes.ch/simon/yellow-mastodonapi/src/branch/main/readme.md">English</a></p>
|
||||||
|
|
||||||
# Mastodonapi 0.9.8
|
# Mastodonapi 0.9.8
|
||||||
|
|
||||||
|
|
@ -6,7 +6,7 @@ Importiere deine Toots in deinen Blog. Getestet mit <a href="https://comam.es/wh
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
<a href="https://codeberg.org/simonpipe/yellow-mastodonapi/archive/main.zip">Lade die ZIP-Datei herunter</a> und kopiere sie in deinen system/extensions Ordner. <a target="blank_" href="https://github.com/annaesvensson/yellow-update">Erfahre mehr über Erweiterungen</a>.
|
<a href="https://git.thepipes.ch/simon/yellow-mastodonapi/archive/main.zip">Lade die ZIP-Datei herunter</a> und kopiere sie in deinen system/extensions Ordner. <a target="blank_" href="https://github.com/annaesvensson/yellow-update">Erfahre mehr über Erweiterungen</a>.
|
||||||
|
|
||||||
## Funktionsweise
|
## Funktionsweise
|
||||||
|
|
||||||
|
|
@ -30,7 +30,7 @@ Alle Einstellungen befinden sich in `system/extensions/yellow-system.ini`:
|
||||||
*Finde die ID eines Snac oder Mastodon Accounts: Gib "https://DEINE_INSTANZ_URL/api/v1/accounts/lookup?acct=PROFILNAME" in deinen Browser ein.*
|
*Finde die ID eines Snac oder Mastodon Accounts: Gib "https://DEINE_INSTANZ_URL/api/v1/accounts/lookup?acct=PROFILNAME" in deinen Browser ein.*
|
||||||
*Finde die ID eines GoToSocial-Accounts <a href="https://codeberg.org/simonpipe/yellow-mastodonapi/src/branch/main/help-de.md">(siehe hier)</a>*
|
*Finde die ID eines GoToSocial-Accounts <a href="https://codeberg.org/simonpipe/yellow-mastodonapi/src/branch/main/help-de.md">(siehe hier)</a>*
|
||||||
|
|
||||||
`MastodonapiAccessToken` = optional für einen Mastodon-Account, zwingend für einen GoToSocial-Account <a href="https://codeberg.org/simonpipe/yellow-mastodonapi/src/branch/main/help-de.md">(Wie komme ich zu einem Token?)</a>
|
`MastodonapiAccessToken` = optional für einen Mastodon-Account, zwingend für einen GoToSocial-Account <a href="https://git.thepipes.ch/simon/yellow-mastodonapi/src/branch/main/help-de.md">(Wie komme ich zu einem Token?)</a>
|
||||||
`MastodonapiUpdateInterval` = Zeitintervall zwischen automatischen Updates in Minuten (Standard: 30)
|
`MastodonapiUpdateInterval` = Zeitintervall zwischen automatischen Updates in Minuten (Standard: 30)
|
||||||
`MastodonapiLimit` = Anzahl der Toots, die pro Durchgang abgerufen werden (Standard: 20)
|
`MastodonapiLimit` = Anzahl der Toots, die pro Durchgang abgerufen werden (Standard: 20)
|
||||||
`MastodonapiHashtag` = leer lassen für alle Beiträge; oder mit #hashtag filtern
|
`MastodonapiHashtag` = leer lassen für alle Beiträge; oder mit #hashtag filtern
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<p align="right"><a href="https://codeberg.org/simonpipe/yellow-mastodonapi/src/branch/main/readme-de.md">Deutsch</a> <a href="https://codeberg.org/simonpipe/yellow-mastodonapi/src/branch/main/readme.md">English</a></p>
|
<p align="right"><a href="https://git.thepipes.ch/simon/yellow-mastodonapi/src/branch/main/readme-de.md">Deutsch</a> <a href="https://git.thepipes.ch/simon/yellow-mastodonapi/src/branch/main/readme.md">English</a></p>
|
||||||
|
|
||||||
# Mastodonapi 0.9.8
|
# Mastodonapi 0.9.8
|
||||||
|
|
||||||
|
|
@ -6,7 +6,7 @@ Import your toots into your blog. Tested with <a href="https://comam.es/what-is-
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
<a href="https://codeberg.org/simonpipe/yellow-mastodonapi/archive/main.zip">Download ZIP file</a> and copy it into your `system/extensions` folder. <a target="blank_" href="https://github.com/annaesvensson/yellow-update">Learn more about extensions</a>.
|
<a href="https://git.thepipes.ch/simon/yellow-mastodonapi/archive/main.zip">Download ZIP file</a> and copy it into your `system/extensions` folder. <a target="blank_" href="https://github.com/annaesvensson/yellow-update">Learn more about extensions</a>.
|
||||||
|
|
||||||
## How to
|
## How to
|
||||||
|
|
||||||
|
|
@ -30,7 +30,7 @@ All settings are in `system/extensions/yellow-system.ini`:
|
||||||
*Find the ID of a Snac or Mastodon account: Enter "https://YOUR_INSTANCE_URL/api/v1/accounts/lookup?acct=PROFILNAME" in your browser.*
|
*Find the ID of a Snac or Mastodon account: Enter "https://YOUR_INSTANCE_URL/api/v1/accounts/lookup?acct=PROFILNAME" in your browser.*
|
||||||
*Find the ID of a GoToSocial account <a href="https://codeberg.org/simonpipe/yellow-mastodonapi/src/branch/main/help-en.md">(see here)</a>*
|
*Find the ID of a GoToSocial account <a href="https://codeberg.org/simonpipe/yellow-mastodonapi/src/branch/main/help-en.md">(see here)</a>*
|
||||||
|
|
||||||
`MastodonapiAccessToken` = optional for a Mastodon account, mandatory for a GoToSocial account <a href="https://codeberg.org/simonpipe/yellow-mastodonapi/src/branch/main/help-en.md">(How do I get a token?)</a>
|
`MastodonapiAccessToken` = optional for a Mastodon account, mandatory for a GoToSocial account <a href="https://git.thepipes.ch/simon/yellow-mastodonapi/src/branch/main/help-en.md">(How do I get a token?)</a>
|
||||||
`MastodonapiUpdateInterval` = time interval between automatic updates in minutes (default: 30)
|
`MastodonapiUpdateInterval` = time interval between automatic updates in minutes (default: 30)
|
||||||
`MastodonapiLimit` = number of Toots retrieved per run (default: 20)
|
`MastodonapiLimit` = number of Toots retrieved per run (default: 20)
|
||||||
`MastodonapiHashtag` = leave blank for all posts; or filter with #hashtag
|
`MastodonapiHashtag` = leave blank for all posts; or filter with #hashtag
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue