aboutsummaryrefslogtreecommitdiffstats
path: root/convert.py
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2024-03-01 19:30:48 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2025-06-15 01:30:23 +0200
commit5e9255895beb0a19a51a746620e405bade67261f (patch)
treed5ac2dcb78532af61f08e5cfba32fa36d18a6700 /convert.py
parent9a64ce61eb27a9a331e50325c3acbb26571c85b1 (diff)
downloadhaunt-blog-5e9255895beb0a19a51a746620e405bade67261f.tar.gz
haunt-blog-5e9255895beb0a19a51a746620e405bade67261f.tar.bz2
haunt-blog-5e9255895beb0a19a51a746620e405bade67261f.zip
Add blog post licenses for dllud.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'convert.py')
-rwxr-xr-xconvert.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/convert.py b/convert.py
index f5f4e62..4ca1db8 100755
--- a/convert.py
+++ b/convert.py
@@ -157,6 +157,13 @@ def get_metadata(html_file_path):
def get_licenses(soup):
if get_author(soup) == 'GNUtoo':
return 'CC-BY-3.0 OR CC-BY-4.0'
+ # I got the agreement of dllud though XMPP on the 1 March 2024:
+ # <gnutoo-laptop>: Also You wrote several blog posts, do you
+ # agree to license them under both CC-BY-SA 3.0 (unported) and
+ # CC-BY-SA 4.0 (international) ?
+ # <dllud>: yes I do agree
+ elif get_author(soup) == 'dllud':
+ return 'CC-BY-3.0 OR CC-BY-4.0'
else:
return None