alexwlchan: (Default)
[personal profile] alexwlchan

I continue to post regularly on Dreamwidth, so I’ve extended my previous script for turning Markdown into Dreamwidth HTML, and written another script that asks me a few questions about filters and title, then posts the entry for me.

Everything I’ve posted in the last fortnight came through this script.

Code here if you’re interested:

https://github.com/alexwlchan/junkdrawer/blob/a2a5340a08d3c75f4caf31a89c4f9af2133eb6d4/services/dreamwidth/post_entry.py

There are some weirdnesses in how the API handles filters when posting an entry, so if you want to use it I’d test it on something innocuous first. As usual, code is in the “junk drawer” repo because it’s not especially well-documented, and provided more as a “here is a useful starting point for your own script”, not a finished article.

Date: 2019-02-27 08:07 pm (UTC)
kaberett: Trans symbol with Swiss Army knife tools at other positions around the central circle. (Default)
From: [personal profile] kaberett
... do you want pointing at the DW-flavoured Markdown badger, because, like, some of it's already been written <3

Wades right in where kabarett is diplomatic

Date: 2020-03-16 08:45 pm (UTC)
jesse_the_k: <a href="https://web.archive.org/web/20040204184222/http://developer.apple.com/technotes/tn/tn1031.html">Bitmapped "dogcow" Apple Technote 1013, and appeared in many OS9 print dialogs</a> (dogcow from OS9)
From: [personal profile] jesse_the_k
Stumbled here from your website -- which is great! -- and I've written a bit about using DW's Markdown

https://jesse-the-k.dreamwidth.org/tag/markdown

as well as DW's built-in at-sign shortcut to usernames.

Profile

alexwlchan: (Default)
alexwlchan

February 2019

S M T W T F S
      12
3456789
10111213141516
17181920212223
242526 2728  

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 8th, 2025 01:05 am
Powered by Dreamwidth Studios