/srv/irclogs.ubuntu.com/2018/08/03/#lubuntu-devel.txt

tsimonq2wxl: ooooooooooh I got it working00:00
-lugito:#lubuntu-devel- [rBLOG5d14f8019189: Add user.yaml to .gitignore.] tsimonq2 (Simon Quigley) committed: https://phab.lubuntu.me/rBLOG5d14f801918900:00
-lugito:#lubuntu-devel- [rBLOG2501630d4e67: Edit the code portion of the 16.04.5 post.] tsimonq2 (Simon Quigley) committed: https://phab.lubuntu.me/rBLOG2501630d4e6700:00
-lugito:#lubuntu-devel- [rBLOGe3dc9b38e1fb: Move to a posts subdirectory.] tsimonq2 (Simon Quigley) committed: https://phab.lubuntu.me/rBLOGe3dc9b38e1fb00:09
wxloooh00:11
wxlpython wordpress library00:11
wxltoo easy00:11
tsimonq2ikr00:12
wxlso 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/rBLOG93e33e185ed900:13
wxlwordpress just takes markdown???00:13
tsimonq2wxl: Nope.00:13
tsimonq2Like 82.00:13
tsimonq2*Line00:13
tsimonq2That's what converts it.00:13
wxlic00:13
tsimonq2So, you call it by calling a directory name.00:14
tsimonq2e.g. (after doing the moving around I just did) ./update-post posts/release/lubuntu-16.04.5/00:14
tsimonq2wxl: So, you put your user login info in user.yaml.00:15
tsimonq2URL is https://lubuntu.me/xmlrpc.php00:15
tsimonq2Then ofc username and password to log into wp.00:15
wxlwhere's the docs for the markdown library?00:15
tsimonq2https://github.com/Python-Markdown/markdown00:16
wxlthx00:16
tsimonq2wxl: 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.yaml00:17
wxlright00:17
tsimonq2If the title or slug doesn't match an existing post, it creates a new one. If either match, it edits the other.00:17
wxloic default output is xhtml100:18
wxlneat and oh extensions are nice, too00:19
wxlstupid ? but why do you have to feed it text=mdt and not just mdt?00:21
tsimonq2My Python programming style. :P00:21
wxlweird00:21
wxlXD00:21
tsimonq2wxl: And then I'm also working on translations as well.00:24
wxlmeaning documentation?00:24
tsimonq2No, translations of the post.00:24
wxloh foo00:24
wxlhow's that work exactly?00:25
tsimonq2So, 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
wxlthe machine translation is good enough?00:26
tsimonq2I'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:27
wxlyeah yeah i guess what i'm asking about is the actual translation process itself. this would still be via weblate?00:28
tsimonq2People would manually contribute translations, and once we have then up, at the top of the post there would be "Translations: LANG"00:28
wxlthat, right, ok00:28
tsimonq2No, people would give us Markdown-formatted translated documents.00:28
tsimonq2We'd put them under 00:28
wxloh00:28
tsimonq2er, under po00:29
-lugito:#lubuntu-devel- [rBLOGc72a60cc9e25: Escape # (sort of) correctly.] tsimonq2 (Simon Quigley) committed: https://phab.lubuntu.me/rBLOGc72a60cc9e2501:27
-lugito:#lubuntu-devel- [rBLOGc1110e2daf78: Add first newsletter.] tsimonq2 (Simon Quigley) committed: https://phab.lubuntu.me/rBLOGc1110e2daf7801:27
-lugito:#lubuntu-devel- [rBLOG34bd802c8ace: Escape # (sort of) correctly.] tsimonq2 (Simon Quigley) committed: https://phab.lubuntu.me/rBLOG34bd802c8ace01:29
-lugito:#lubuntu-devel- [rBLOG49cb7aa8b760: Add all newsletters.] tsimonq2 (Simon Quigley) committed: https://phab.lubuntu.me/rBLOG49cb7aa8b76002:11
-lugito:#lubuntu-devel- [rBLOG9a89926d2e0f: Add notice about new blog post location in the next newsletter.] tsimonq2 (Simon Quigley) committed: https://phab.lubuntu.me/rBLOG9a89926d2e0f02:15
-lugito:#lubuntu-devel- [rBLOG317ce8cd3fa1: Add support for translating posts.] tsimonq2 (Simon Quigley) committed: https://phab.lubuntu.me/rBLOG317ce8cd3fa103:18
-lugito:#lubuntu-devel- [rBLOGb3b30bb0b465: Automatically translate all posts.] tsimonq2 (Simon Quigley) committed: https://phab.lubuntu.me/rBLOGb3b30bb0b46503:35
-lugito:#lubuntu-devel- [rBLOG7000fad4d9b9: Add a function for tags.] tsimonq2 (Simon Quigley) committed: https://phab.lubuntu.me/rBLOG7000fad4d9b904:27
-lugito:#lubuntu-devel- [rBLOGfc9ca8552589: Add logic for <!--more--> and translation plug.] tsimonq2 (Simon Quigley) committed: https://phab.lubuntu.me/rBLOGfc9ca855258905:03
-lugito:#lubuntu-devel- [rBLOG4af846fc1d4a: Remove unnecessary print statement.] tsimonq2 (Simon Quigley) committed: https://phab.lubuntu.me/rBLOG4af846fc1d4a05:04
-lugito:#lubuntu-devel- [rBLOGd5a28fd2b0a9: Remove paragraph brackets around it.] tsimonq2 (Simon Quigley) committed: https://phab.lubuntu.me/rBLOGd5a28fd2b0a905:07
lubot5<tsimonq2> https://twitter.com/LubuntuOfficial/status/102540883712854016015:52
lubot5lbssousa was added by: lbssousa18:11
lubot5<Neyder> @lbssousa welcome19:30

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!