From 81d0d609e47d5cdfab3d5db2eff6ec91b5d2773b Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Mon, 19 Dec 2022 22:48:27 -0600 Subject: add new entry, fix ??? to == syntax for 'mark' --- bs | 2 +- db/db_blog.psv | 3 +- live/blog/a/rewrote_pyssg_again.html | 142 ++++++++++++++++++++++++++++++ live/blog/a/xmpp_server_with_prosody.html | 6 +- live/blog/g/gogodot_jam3_devlog_1.html | 6 ++ live/blog/index.html | 4 +- live/blog/rss.xml | 18 +++- live/blog/sitemap.xml | 8 +- live/blog/tag/@english.html | 4 +- live/blog/tag/@short.html | 4 +- live/blog/tag/@tools.html | 4 +- live/blog/tag/@update.html | 4 +- src/blog/a/rewrote_pyssg_again.md | 14 +++ src/blog/a/xmpp_server_with_prosody.md | 4 +- 14 files changed, 208 insertions(+), 15 deletions(-) create mode 100644 live/blog/a/rewrote_pyssg_again.html create mode 100644 src/blog/a/rewrote_pyssg_again.md diff --git a/bs b/bs index 1e3da74..ec625ee 100755 --- a/bs +++ b/bs @@ -2,7 +2,7 @@ PYSSG_XYZ_DIR=$HOME/luevano.xyz -pyssg --config $PYSSG_XYZ_DIR/config.yaml -b --debug +pyssg --config $PYSSG_XYZ_DIR/config.yaml -b if [ $? -ne 0 ]; then echo "Failed to build the site." diff --git a/db/db_blog.psv b/db/db_blog.psv index 8618792..97e81c3 100644 --- a/db/db_blog.psv +++ b/db/db_blog.psv @@ -6,7 +6,7 @@ a/mail_server_with_postfix.md|1616299559.6570284|1623137344.8639452|b589ec8fd628 a/new_blogging_system.md|1622172099.117893|1622173322.4337702|b4a00df409794ab3d8e824004c2d486b|english,short,tools,update a/asi_nomas_esta_quedando.md|1622795043.0874712|0.0|dcbec925288c5dd8f2bd9a6e70406978|short,spanish,update a/acomodada_la_pagina_de_arte.md|1623006369.6071973|1623006525.2665823|50a2280134b5349bfb6d1c517e37a26f|short,spanish,update -a/xmpp_server_with_prosody.md|1623216270.0372887|1627809865.4920528|0c539e4fb106e1355b358e8dd1b7ab46|english,server,tools,tutorial +a/xmpp_server_with_prosody.md|1623216270.0372887|1671510819.3465965|4d2ceae4c6a6b4d723fc8a2bf5771462|english,server,tools,tutorial a/tenia_esto_descuidado.md|1626594710.918819|0.0|76d45ca201ef36002e0c9c87e7a800e5|short,spanish,update a/hoy_toco_desarrollo_personaje.md|1627452655.5560262|0.0|b891e8efe4e9a5c3f342f9e84e20437a|spanish a/vpn_server_with_openvpn.md|1627810022.100739|1627812788.832212|7df7d2d05cb07a5d83284f41f3ce9054|english,server,tools,tutorial @@ -17,3 +17,4 @@ g/starting_gamedev_blogging.md|1652764794.9016073|1653179221.26956|2d6665cebea06 g/godot_project_structure.md|1653182170.4395845|1653366918.4756405|a7b153df43631f17864cd8ab67aca60f|english,gamedev,short g/flappybird_godot_devlog_1.md|1653795523.5988536|1653795876.8388574|8a4f723fbb20718ad5238fd28aaf28e2|english,gamedev,godot g/gogodot_jam3_devlog_1.md|1654852625.58801|0.0|f8767cd4023a7a7c0ccf5388cdef049b|english,gamedev,gamejam,godot +a/rewrote_pyssg_again.md|1671510665.5266156|0.0|9174dbccf61263045159de182e274af4|english,short,tools,update diff --git a/live/blog/a/rewrote_pyssg_again.html b/live/blog/a/rewrote_pyssg_again.html new file mode 100644 index 0000000..faff8bb --- /dev/null +++ b/live/blog/a/rewrote_pyssg_again.html @@ -0,0 +1,142 @@ + + + + + + + +Rewrote pyssg again -- Luevano's Blog + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ +
+

Rewrote pyssg again

+ +

I’ve been wanting to change the way pyssg reads config files and generates HTML files so that it is more flexible and I don’t need to have 2 separate build commands and configs (for blog and art), and also to handle other types of “sites”; because pyssg was built with blogging in mind, so it was a bit limited to how it could be used. So I had to kind of rewrite pyssg, and with the latest version I can now generate the whole site and use the same templates for everything, quite neat for my use case.

+

Anyways, so I bought a new domain for all pyssg related stuff, mostly because I wanted somewhere to test live builds while developing, it is of course pyssg.xyz; as of now it is the same template, CSS and scripts that I use here, probably will change in the future. I’ll be testing new features and anything pyssg related stuff.

+

I should start pointing all links to pyssg to the actual site instead of the github repository (or my git repository), but I haven’t decided how to handle everything.

+ + + + +
+ +
+ + + + \ No newline at end of file diff --git a/live/blog/a/xmpp_server_with_prosody.html b/live/blog/a/xmpp_server_with_prosody.html index 261531f..7f7b168 100644 --- a/live/blog/a/xmpp_server_with_prosody.html +++ b/live/blog/a/xmpp_server_with_prosody.html @@ -76,7 +76,7 @@

Create an XMPP server with Prosody compatible with Conversations and Movim

-

Recently I set up an XMPP server (and a Matrix one, too) for my personal use and for friends if they want one; made one for ???EL ELE EME???, for example. So, here are the notes on how I set up the server that is compatible with the Conversations app and the Movim social network. You can see my addresses in contact and the XMPP compliance/score of the server.

+

Recently I set up an XMPP server (and a Matrix one, too) for my personal use and for friends if they want one; made one for EL ELE EME for example. So, here are the notes on how I set up the server that is compatible with the Conversations app and the Movim social network. You can see my addresses in contact and the XMPP compliance/score of the server.

One of the best resources I found that helped me a lot was Installing and Configuring Prosody XMPP Server on Debian 9, and of course the Arch Wiki and the oficial documentation.

As with my other entries, this is under a server running Arch Linux, with the Nginx web server and Certbot certificates. And all commands here are executed as root (unless specified otherwise)

Prerequisites

@@ -411,7 +411,7 @@ Component "vjud.your.domain" "vjud" name = "User Directory" vjud_mode = "opt-in" -

You ???HAVE??? to read all of the configuration file, because there are a lot of things that you need to change to make it work with your server/domain. Test the configuration file with:

+

You HAVE to read all of the configuration file, because there are a lot of things that you need to change to make it work with your server/domain. Test the configuration file with:

luac5.2 -p /etc/prosody/prosody.cfg.lua
 

Notice that by default prosody will look up certificates that look like sub.your.domain, but if you get the certificates like I do, you’ll have a single certificate for all subdomains, and by default it is in /etc/letsencrypt/live, which has some strict permissions. So, to import it you can run:

@@ -601,7 +601,7 @@ systemctl enable prosody.service