deefic:

herdivineshadow:

deefic:

Phase Two of Tumblr-to-WordPress migration.

So Phase One was bulk importing old posts and writing a wp-cron task to continue to import new posts: done and check.

Phase Two has been writing a second, daily, wp-cron task that:

  1. deletes posts from Tumblr older than n days (currently 90, but I might bring it down later), and
  2. imports Tumblr reblogs as trackbacks, and replies as comments.

So far so good, but this is the destructive part (i.e. if the plugin fucks up now, I can’t get back the content it deletes), so fingers crossed!

Phase Three will be actually opening up the WP blog, and redirecting the old Tumblr URLs in its direction. (… Probably.)

Phase Four is reintroducing the WordPress-to-Tumblr crossposting functionality.

Phase Six is profit. Too easy.

!!

That second half of Phase One is a thing I should do. IT IS SENSE MAKING. You are some kind of wordpress-Jedi. Or something.

Hah! I don’t know about that.

I can send you the plugin code if you want? It’s a bit of a mess, and it requires the OAuth module run in PHP… but it might help?

I’ll take it! 😀 herdivineshadow(at)gmail etc etc 

AWESOME.

deefic:

Phase Two of Tumblr-to-WordPress migration.

So Phase One was bulk importing old posts and writing a wp-cron task to continue to import new posts: done and check.

Phase Two has been writing a second, daily, wp-cron task that:

  1. deletes posts from Tumblr older than n days (currently 90, but I might bring it down later), and
  2. imports Tumblr reblogs as trackbacks, and replies as comments.

So far so good, but this is the destructive part (i.e. if the plugin fucks up now, I can’t get back the content it deletes), so fingers crossed!

Phase Three will be actually opening up the WP blog, and redirecting the old Tumblr URLs in its direction. (… Probably.)

Phase Four is reintroducing the WordPress-to-Tumblr crossposting functionality.

Phase Six is profit. Too easy.

!!

That second half of Phase One is a thing I should do. IT IS SENSE MAKING. You are some kind of wordpress-Jedi. Or something.

deefic:

herdivineshadow:

deefic:

[…]

Sense-making! I did not know about WordPress not accepting certain punctuation in (probably because… it’s not something I’ve ever thought about) but that does make sense! 

My tumblr-to-wordpress plugin has been running for 3 days? 4 days so far? Still going. I have… a lot of tumblr to get through. 

The punctuation in WordPress’ tag “names” is fairly relaxed. Moreso than Tumblr’s, in fact. But its URLs (slugs) are much stricter.

What are you using for your Tumblr-to-WordPress conversion plugin? The official one, or something else?

Related: I’ve been noticing a lot more pingbacks from blogs with names like “Tumblr Backup” in the last week or so. Hrm…

Yeah, that’s the one I’m using. It’s just that I have over 10k tumbls I think. Done now though 😀

I think with the whole Yahoo deal, and what they’ve done to things they’ve bought in the past (I’m…loathe to go and look at what gone on with flickr’s recent redesign)… it’s pretty much everyone thinking “WELL, if Yahoo screw this up, I need a backup”

deefic:

herdivineshadow:

deefic:

So this is what Badfic!’s tag cloud looked like after importing everything from Tumblr to WordPress. I don’t know why it decided ''... ... ...'' was a different tag to ''... ... ...'' and ''... ... ...'' (all the other tags imported okay).

Things I learnt from this exercise: WordPress orders tags alphabetically, not by chronological order like Tumblr does. So sadly all my tag essays are now word soup.

While I don’t really do tag essays, the “…” thing has me baffled too. Because right… I’m pretty certain I’ve not used that many.

On reflection, I think it’s because WordPress judges “tag uniqueness” by the slug it generates, and WordPress slugs only contain, IIRC, [a-z0-9-_]. So when it encounters ''...'', it ends up with an empty string as the slug, meaning it falls back on using the taxonomy ID. If you’re entering the tag in via the client, it’s not such a big deal, because it displays the text but passes the internal ID. But when I did the import in the plugin, I was only passing the text strings from Tumblr. So it seems whatever processes WordPress uses to match tags against existing taxonomies involves a slug conversion/sanitisation before comparison, meaning it gets confused in situations where the slug ends up with an empty string. So it plays things “safe”, and makes a new tag every time.

… That probably made no sense whatsoever. It makes sense in my head, I swear!

Sense-making! I did not know about WordPress not accepting certain punctuation in (probably because… it’s not something I’ve ever thought about) but that does make sense! 

My tumblr-to-wordpress plugin has been running for 3 days? 4 days so far? Still going. I have… a lot of tumblr to get through. 

Badfic!: littlelostsock: alisdee replied to your post: alisdee replied to your…

Badfic!: littlelostsock: alisdee replied to your post: alisdee replied to your…