I hereby claim:
- I am BYK on github.
- I am byk (https://keybase.io/byk) on keybase.
- I have a public key whose fingerprint is 70DB C4D9 5802 6B46 032E AB75 A17E E621 C962 DE46
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# Blogger's backup file to WordPress' WXR converter. | |
# | |
# Only tested with posts and comments, and NOT with pages. | |
# May not be efficient for huge blogs since the script keep | |
# all content in the memory during conversion. | |
# | |
# Released as public domain. | |
# | |
# Please note that I converted the labels in Blogspot | |
# as tags in WordPress. I also hardcoded two categories for the |
let locks = []; | |
const fn = async () => { | |
let resolve; | |
locks.push(new Promise(r => (resolve=r))); | |
let lock; | |
while (locks.length > 1 && (lock = locks.shift())) | |
await lock; | |
console.log(new Date()); | |
setTimeout(resolve, 1000); |