Here’s the first automatic blog post to Mastodon with, I hope, restricted commenting features. (I removed the ability to comment some time ago, so I’m not sure what will happen next. I hope it means comments stay on Mastodon).
Category: meta
Basic security
One of the basic requirements of me using the free ‘IP2Location’ WordPress plugin for my blog is that its authors ask for attribution, which is fair. So here it is:
I just installed and configured the country blocking plugin from https://www.ip2location.com. I found it after a quick web search led me to this page: https://blog.hubspot.com/website/wordpress-plugin-to-block-countries.
The setup procedure is pretty simple: install it from the WordPress dashboard, sign up for a free account at IP2Location to install the database and stuff, and setup the block rules for countries or IP addresses.
(I didn’t want to pay Wordfence to extend their so-far excellent monitoring and blocking service, at least not yet).
DEVONthink
I’ve moved all of my notes and bookmarks from the Obsidian writing/knowledgebase app into the similar DEVONthink document manager.
Although I’ve known of it for years I’ve resisted DEVONthink mainly because of its cost.
Over those years I’ve spent time with Microsoft OneNote (cross-platform & web), Drafts (iOS & Mac) and Obsidian (cross-platform). But, just as for personal use I’ve previously moved from the Omnifocus task manager to pretty much everything else – and always back again – I have the feeling I should probably have trialled this when I first found it.
One of DEVONthink’s strengths is its ability to simultaneously synchronise with a number of document stores. I’m considering (if my shared web hosting plan allows) attempting to store one copy as WEBDAV, with one in a Dropbox folder.
At least there’s no appreciable lag using iCloud – opening Obsidian could take literal minutes.
And I’m collecting RSS feeds into it instead of using a dedicated reader. RSS, yeah.
Obsidian
[!Info]
This is a test of the Obsidian to WordPress plugin.
I’ve been using a really great notes app called Drafts on my iPhones since 2013, and lately on my Mac.
Someone I know on Mastodon mentioned a couple of days ago that they were taking a fresh look at another notes app/service called Obsidian.
Obsidian doesn’t keep all the notes in one file like Drafts, it instead saves in plain text files – in my case I’ve chosen to save as Markdown – and enables the creation of links between any number of files. Drafts does it too, but it’s an app with less scope and file portability.
Obsidian works on multiple platforms whereas Drafts appears only on Apple hardware. I’m using it in Apple hardware but it can be installed on Androids, Linux and Windows.
Links:
- https://obsidian.md
- https://curtismchale.ca/2022/02/02/publish-obsidian-documents-to-wordpress/
- https://getdrafts.com
#blog , #write
Privacy policy
I have a ‘Privacy policy’ for you to read. It’s mercifully brief and to the point.
Migration v2
I'm transferring Markdown blog posts from my GitHub Pages repository (repo) into my WordPress blog, this way:
- Open MWeb for iOS (a Markdown editor with publishing capability.)
- Make
_posts
and_images
folders and copy all the posts and images from my local copy of the repo into each. - Open each post in MWeb.
- Check for links to old blogs:
- If none found then strip the YAML post header, ensure the post date matches the original and publish to WordPress.
- If links found, hold until later and publish the earlier, link-free posts first.
- I also attempt to use the original post date but know I've failed on at least a couple of occasions. It's not massively important.
Blog posts to migrate:
Date | Remaining |
---|---|
2019-04-06 | 360 |
2019-04-10 | 207 |
2019-04-12 | 187 |
2019-04-15 | 117 |
2019-04-22 | 57 |
2019-04-27 | 16 |
(Table updates at various milestones.)
Footnotes
Footnotes.[efn_note]Haz footnotes![/efn_note]
Import
I now need to figure out how to import the posts and pages (and images and audio recordings) from my GitHub Pages blog. The RSS plugins I’ve tried so far don’t do the job so I need to search deeper.
I’ve figured out how I can use Python[efn_note](Extract the date from the post name, the title from the YAML.)[/efn_note] but I’m unable to install the necessary module at my web host and on my phone.
Hello world!
The default post read:
“Welcome to WordPress. This is your first post. Edit or delete it, then start writing!”So I did. (I was blogging irregularly starting in 2014 and have a ‘final’ post in my WordPress.com blog from 2010.)
RSS
I've changed the blog post feed address my Python script uses to post to a couple of networks – crucially without testing or modifying the history files.
Expect either failure or multiple reposts (i.e. failure.)