[00:00] <tsimonq2> wxl: ooooooooooh I got it working
[00:00] -lugito:#lubuntu-devel- [rBLOG5d14f8019189: Add user.yaml to .gitignore.] tsimonq2 (Simon Quigley) committed: https://phab.lubuntu.me/rBLOG5d14f8019189
[00:00] -lugito:#lubuntu-devel- [rBLOG2501630d4e67: Edit the code portion of the 16.04.5 post.] tsimonq2 (Simon Quigley) committed: https://phab.lubuntu.me/rBLOG2501630d4e67
[00:09] -lugito:#lubuntu-devel- [rBLOGe3dc9b38e1fb: Move to a posts subdirectory.] tsimonq2 (Simon Quigley) committed: https://phab.lubuntu.me/rBLOGe3dc9b38e1fb
[00:11] <wxl> oooh
[00:11] <wxl> python wordpress library
[00:11] <wxl> too easy
[00:12] <tsimonq2> ikr
[00:13] <wxl> so it seems like you're just feeding the markdown into wordpress or am i just seeing things/
[00:13] -lugito:#lubuntu-devel- [rBLOG93e33e185ed9: Move things around more.] tsimonq2 (Simon Quigley) committed: https://phab.lubuntu.me/rBLOG93e33e185ed9
[00:13] <wxl> wordpress just takes markdown???
[00:13] <tsimonq2> wxl: Nope.
[00:13] <tsimonq2> Like 82.
[00:13] <tsimonq2> *Line
[00:13] <tsimonq2> That's what converts it.
[00:13] <wxl> ic
[00:14] <tsimonq2> So, you call it by calling a directory name.
[00:14] <tsimonq2> e.g. (after doing the moving around I just did) ./update-post posts/release/lubuntu-16.04.5/
[00:15] <tsimonq2> wxl: So, you put your user login info in user.yaml.
[00:15] <tsimonq2> URL is https://lubuntu.me/xmlrpc.php
[00:15] <tsimonq2> Then ofc username and password to log into wp.
[00:15] <wxl> where's the docs for the markdown library?
[00:16] <tsimonq2> https://github.com/Python-Markdown/markdown
[00:16] <wxl> thx
[00:17] <tsimonq2> wxl: So, the way making a post works is that you put a post in Markdown format in new-dir/post.md and metadata in new-dir/info.yaml
[00:17] <wxl> right
[00:17] <tsimonq2> If the title or slug doesn't match an existing post, it creates a new one. If either match, it edits the other.
[00:18] <wxl> oic default output is xhtml1
[00:19] <wxl> neat and oh extensions are nice, too
[00:21] <wxl> stupid ? but why do you have to feed it text=mdt and not just mdt?
[00:21] <tsimonq2> My Python programming style. :P
[00:21] <wxl> weird
[00:21] <wxl> XD
[00:24] <tsimonq2> wxl: And then I'm also working on translations as well.
[00:24] <wxl> meaning documentation?
[00:24] <tsimonq2> No, translations of the post.
[00:24] <wxl> oh foo
[00:25] <wxl> how's that work exactly?
[00:26] <tsimonq2> So, there's no actual way to do translations (cleanly) in Wordpress, so I'll likely do a static site clone at l10n.lubuntu.me running on cron which goes through and grabs translations for all posts.
[00:26] <wxl> the machine translation is good enough?
[00:27] <tsimonq2> I'd have something like lubuntu-16.04.5/po/es.md output to https://l10n.lubuntu.me/xenial-5-released/es/ and then have https://l10n.lubuntu.me/xenial-5-released/ redir to https://lubuntu.me/xenial-5-released/
[00:28] <wxl> yeah yeah i guess what i'm asking about is the actual translation process itself. this would still be via weblate?
[00:28] <tsimonq2> People would manually contribute translations, and once we have then up, at the top of the post there would be "Translations: LANG"
[00:28] <wxl> that, right, ok
[00:28] <tsimonq2> No, people would give us Markdown-formatted translated documents.
[00:28] <tsimonq2> We'd put them under 
[00:28] <wxl> oh
[00:29] <tsimonq2> er, under po
[01:27] -lugito:#lubuntu-devel- [rBLOGc72a60cc9e25: Escape # (sort of) correctly.] tsimonq2 (Simon Quigley) committed: https://phab.lubuntu.me/rBLOGc72a60cc9e25
[01:27] -lugito:#lubuntu-devel- [rBLOGc1110e2daf78: Add first newsletter.] tsimonq2 (Simon Quigley) committed: https://phab.lubuntu.me/rBLOGc1110e2daf78
[01:29] -lugito:#lubuntu-devel- [rBLOG34bd802c8ace: Escape # (sort of) correctly.] tsimonq2 (Simon Quigley) committed: https://phab.lubuntu.me/rBLOG34bd802c8ace
[02:11] -lugito:#lubuntu-devel- [rBLOG49cb7aa8b760: Add all newsletters.] tsimonq2 (Simon Quigley) committed: https://phab.lubuntu.me/rBLOG49cb7aa8b760
[02:15] -lugito:#lubuntu-devel- [rBLOG9a89926d2e0f: Add notice about new blog post location in the next newsletter.] tsimonq2 (Simon Quigley) committed: https://phab.lubuntu.me/rBLOG9a89926d2e0f
[03:18] -lugito:#lubuntu-devel- [rBLOG317ce8cd3fa1: Add support for translating posts.] tsimonq2 (Simon Quigley) committed: https://phab.lubuntu.me/rBLOG317ce8cd3fa1
[03:35] -lugito:#lubuntu-devel- [rBLOGb3b30bb0b465: Automatically translate all posts.] tsimonq2 (Simon Quigley) committed: https://phab.lubuntu.me/rBLOGb3b30bb0b465
[04:27] -lugito:#lubuntu-devel- [rBLOG7000fad4d9b9: Add a function for tags.] tsimonq2 (Simon Quigley) committed: https://phab.lubuntu.me/rBLOG7000fad4d9b9
[05:03] -lugito:#lubuntu-devel- [rBLOGfc9ca8552589: Add logic for <!--more--> and translation plug.] tsimonq2 (Simon Quigley) committed: https://phab.lubuntu.me/rBLOGfc9ca8552589
[05:04] -lugito:#lubuntu-devel- [rBLOG4af846fc1d4a: Remove unnecessary print statement.] tsimonq2 (Simon Quigley) committed: https://phab.lubuntu.me/rBLOG4af846fc1d4a
[05:07] -lugito:#lubuntu-devel- [rBLOGd5a28fd2b0a9: Remove paragraph brackets around it.] tsimonq2 (Simon Quigley) committed: https://phab.lubuntu.me/rBLOGd5a28fd2b0a9
 https://twitter.com/LubuntuOfficial/status/1025408837128540160
[18:11] <lubot5> lbssousa was added by: lbssousa
 @lbssousa welcome