Walter Hupfeld 4 months ago
parent
commit
cee26095a0
  1. 14
      README.md
  2. 2
      mas-body.php
  3. 2
      mastodon-timeline.php

14
README.md

@ -8,16 +8,14 @@
Folgende Paramter müssen in den Einstellungen festgelegt werden
URI: deine Mastodon-Instanz (https://nrw.social)
User ID: - wie bekomme ich die User-ID
Limit: Anzahl der angezeigten Tröts
__URI:__ deine Mastodon-Instanz (https://nrw.social)
__User ID:__ - wie bekomme ich die User-ID
__User Name:__
__Limit:__ Anzahl der angezeigten Tröts
See more: Text für die Anzeige z.B "Mehr auf Mostodon"
instance_uri: 'https://nrw.social',
user_id: '109245751255389357',
profile_name: '@radwegehamm',
toots_limit: 6,
btn_see_more: 'Mehr auf Mastodon'
Link zum Auslesen der ID: https://prouser123.me/mastodon-userid-lookup/

2
mas-body.php

@ -23,7 +23,7 @@ function mas_body($atts) {
console.log(clientWidth);
if (clientWidth<400) {
var div = document.getElementById('style');
div.innerHTML += '<style>.mt-toot {padding:5rem 0 2rem 0}</style>';
div.innerHTML += '<style>.mt-toot {padding:5rem 0 2rem 0 !important}</style>';
}
// Account settings
document.addEventListener(\"DOMContentLoaded\", () => {

2
mastodon-timeline.php

@ -3,7 +3,7 @@
* Plugin Name: Mastodon Timeline
* Plugin URI: https://hupfeld-software.de/plugins/mastadon-timeline/#!README.md
* Description: Plugin zur Darstellung der Mastodon Timeline (benutzt https://gitlab.com/idotj/mastodon-embed-feed-timeline)
* Version: 0.03
* Version: 0.04
* Author: Walter Hupfeld
* Datum: 21.11.2022
* Author URI: http://www.hupfeld-software.de

Loading…
Cancel
Save