This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%doc> | |
Template engine: Mako | |
Usage: | |
{{% pixelfed status=https://instance.domain/p/user/postnr %}} | |
Optional parameters: | |
width (default: 400) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{# | |
Template engine: Jinja2 | |
Usage: | |
{{% pixelfed status=https://instance.domain/user/postnr %}} | |
Optional parameters: | |
width (default: 400) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"http://mate-desktop.org/": "Nikola v7.6.1-v7.8.15", | |
"https://wxpython.org/": "Nikola v8.0.0+", | |
"http://stephaniehiga.com/": "Nikola v7.0.0-v7.6.0", | |
"http://mistlab.ca/": "Nikola v8.0.0+", | |
"http://tedyin.com/": "Nikola v8.0.0+", | |
"http://henry4k.de/": "Not a Nikola site", | |
"http://srcco.de/": "Nikola v7.0.0-v7.6.0", | |
"http://talc1.loria.fr/synalp/": "connection timeout", | |
"https://93i.de/": "Probably a Nikola site", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{# | |
Template engine: Jinja2 | |
Usage: | |
{{% mastodon status=https://instance.domain/@user/tootnr %}} | |
Optional parameters: | |
width (default: 600) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%doc> | |
Template engine: Mako | |
Usage: | |
{{% mastodon status=https://instance.domain/@user/tootnr %}} | |
Optional parameters: | |
width (default: 600) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
from collections import Counter | |
from mastodon import Mastodon | |
''' | |
register app in "Settings -> Development (when in doubt consult your friendly instance admin)" | |
instantiate Mastodon with given key/secret (=client_cred.secret) and | |
access token (=access_token.txt) and instance url |