chiark
/
gitweb
/
~cjwatson
/
blog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08ef043
)
Create pelican_toot.py
author
Maurizio Paglia
<mpaglia0@gmail.com>
Wed, 16 Nov 2022 13:34:11 +0000
(14:34 +0100)
committer
GitHub
<noreply@github.com>
Wed, 16 Nov 2022 13:34:11 +0000
(14:34 +0100)
pelican_toot.py
[new file with mode: 0644]
patch
|
blob
diff --git a/pelican_toot.py
b/pelican_toot.py
new file mode 100644
(file)
index 0000000..
5029149
--- /dev/null
+++ b/
pelican_toot.py
@@ -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