Archive for December, 2007

openid enabled

Thursday, December 27th, 2007

openID is now enabled on ds both for leaving comments and for being my server… well it was already a server, but it’s back on there now.. and linked to wordpress

number of pages up

Thursday, December 27th, 2007

I have about half of the pages I’m going to keep up back up. The notable page that I’m dropping is the Occult page. I’m dropping all links to it. Two reasons… a) I really don’t believe in that stuff anymore… if I ever did… it was always academic anyway. I only use it as handy ways to mention things that I really do believe in. b) It gives the wrong impression… I’m more a hard science guy than anything else, but I kind of like to talk in metaphor, especially when talking about things that you can’t really know about.

first post in the new journal

Wednesday, December 26th, 2007

I’ve decided to redo ds.initiated.com entirely and I’m moving toward the future with a content management system here in WordPress. I’ll also close my livejournal, but I wanted to copy everything over from it. There is a tool included to do such a thing but it’s incomplete. It won’t do private stuff and it won’t import tags. Here are the lines to add to get that working… well it only does 1 tag and you have to have the same tags defined, before the import, in WordPress.

But ya.. the private thing was HUGE.

./wp-admin/import/livejournal.php

preg_match(‘|<security>(.*?)</security>|is’, $post, $post_status);
$post_status = strip_tags($post_status[0]);
if($post_status == ‘usemask’) $post_status = ‘private’;
if($post_status != ‘private’) $post_status = ‘publish’;

preg_match(‘|<taglist>(.*?)</taglist>|is’, $post, $post_category);
$post_category = array(get_cat_ID(strip_tags($post_category[0])));