]> git.r.bdr.sh - rbdr/blog.unlimited.pizza/blob - archive/1670625662876/more-blog-tooling.gmi
blog-sync-up-1670761332852
[rbdr/blog.unlimited.pizza] / archive / 1670625662876 / more-blog-tooling.gmi
1 # More Blog Tooling
2
3 I created an automation[1] to share link from pinboard[2] on here. Once I find a link I'd like to share, I add the tag `linkblog` plus my thoughts in the description field, and this script will fetch, generate a `gmi` and add it to the blog. Once it's done it replaces the tag with `linkblog-posted` so it doesn't find it next time around.
4
5 => https://git.sr.ht/~rbdr/pinboard-linkblog-updater [1] Pinboard Linkblog Updater
6 => https://pinboard.in/ [2] Pinboard
7
8 A problem with getting this to work is that blog[3] was just local, so I had to add some remote functionality. Now every time I add or update the blog, it will first fetch from git and push the changes. That way, I can publish content directly from the computer, and have a cron running the linkblog updater on the VPS.
9
10 => https://git.sr.ht/~rbdr/blog [3] Blog
11
12 At this point I think it's worth re-evaluating how blog itself is built, as it is beginning to feel a bit clunky: When it was conceived, the project was intended to take markdown files and keep track of 3 of them so I could `rsync` them later. Now it keeps an archive as a gemlog, publishes an rss feed, allows publishing, and has remote sync: surely it's worth a rethink.
13
14 Anyway, adding remote functionality opens up the possibility of publishing via iPad or phone, so I think I'll go work on that instead.