chiark / gitweb /
Create pelican_toot.py
authorMaurizio Paglia <mpaglia0@gmail.com>
Wed, 16 Nov 2022 13:34:11 +0000 (14:34 +0100)
committerGitHub <noreply@github.com>
Wed, 16 Nov 2022 13:34:11 +0000 (14:34 +0100)
pelican_toot.py [new file with mode: 0644]

diff --git a/pelican_toot.py b/pelican_toot.py
new file mode 100644 (file)
index 0000000..5029149
--- /dev/null
@@ -0,0 +1,14 @@
+# -*- coding: utf-8 -*-
+"""
+Post new articles on Mastodon
+"""
+
+import string
+
+import logging
+logger = logging.getLogger(__name__)
+
+from pelican import signals
+
+# https://github.com/bear/python-twitter/wiki
+import Mastodon.py