Creative Commons License
This weblog is licensed under a Creative Commons License.

« August 2005 | Main | October 2005 »

September 25, 2005

Using MT 3.2 & 3rd party publishing tools

Okay, this is documented deep in Six Apart's web site, but as I spent forever trying to figure out why I couldn't log in using a 3rd party tool, I am recording here to make sure I can figure it out again one day in the future.

Log into MT
Click on your username in the top navbar to go to your profile
Scroll down to the bottom where you see "API Password"
Input the password of your choice and save. For security reasons, it should be different from your normal password
Use that password in your client software

Bah humbug, I wasted hours trying to figure out why these 3rd party editing tools would work. Once the above was sorted out, I could at least give it a go. I was looking for something that would allow me to post pictures as easily as Picasa and as Hello. Alas, it would appear that no one wants to make it easy to select a photo and create a web-friendly size and a thumbnail.

w.bloggar
Forget it, nothing but generic uploading. It's nice enough for generic text blogs, but my blogs, especially my blogs about my boys, are picture intensive.

SharpMT
Just like w.bloggar - nice enough, but designed for text only blogs, with uploads & images an afterthought. Drag & drop - forget it. Plus you have to install the latest beta of .NET framework V2 to use the newest bits - so everything gets to go slower than it should.

Qumana
You can insert an image, but it goes in full sized. Wonderfully useful with 7megapixel images. Some stuff is just broken, like categories just give "invalid login". And shell drag & drop doesn't work.

BlogJet
Okay, BlogJet tortures you by almost getting it right. It has a nice code/normal view. You can resize images. You can create a thumbnail of an image. You just can't create a thumbnail pointing to the resized image. Doh. And once again, shell drag & drop doesn't work - what is up with that?

Ecto
Okay, this one was the worst torture of all - it is SO CLOSE! Bummer is that categories don't work. And of course, drag and drop doesn't work. Actually, this one is funky because it "works" except that you can't access any of the checkboxes/edit controls for creating a thumbnail or reducing the image size. But if you browse and find a file, you can specify a thumbnail and a resized image, specify an upload directory, and BAM! Ecto inserts the proper code into your post & everything is uploaded properly. COOL!!! Sadly, when you upload another, Ecto doesn't remember the any of your settings. You have to go to the Thumbnail tab, click that you want a thumbnail, re-specify the thumbnail width, then go to the Conversion tab, click on resize, and re-specify the new width. You even get to re-specify the upload directory. Ecto - make drag & drop work, and remember settings around thumbnails and resizing, and I'm in - your product is damned cool!

Comments

September 17, 2005

Samsung Readies 32GB Memory Cards

Samsung has 16-gigabit NAND technology that will enter production 2nd half of 2006. Whoo hoo! Not only will this give us bad-ass new compact flash and SD cards (assuming you don't have a brain dead camera like my Nikon D1X that uses fat16 and can only see 2GB), but it paves the way for flash based harddrives. In the next couple of years we should see laptops with flash based drives, which will read & write faster, weigh less, and use less power. Sweeeeet!

Comments

September 13, 2005

Movable Type, Blogger Transfer, and Yahoo Hosting: The Saga

Here is the saga of how I went about getting my Blogger hosted site moved to Movable Type on my Yahoo! hosted web site. I Googled like crazy and couldn’t find any documentation, so I hope that this history/saga helps someone else not go through the same 2 day pain I went through.


How to Get Movable Type Started on Yahoo!

First off, follow along from the Moveable Type 3.2 Install and Upgrade instructions. That helps a lot.

Make a copy of the software into a directory called "mt" on your local machine

Delete mt\php\extlib\smarty\.cvsignore as Yahoo's servers barf on any file that is just an extension (funny - the windows shell won't let you create a file with a name like that, but you can open it and move it just fine)

Copy the "mt-static" subdirectory of "mt" to the root of your site

Create a cgi-bin directory at your site root, copy the "mt" directory there (but not the mt-static sub directory)

Made sure you have a "tmp" directory at the root of the FTP site as movable type relies on it

From the MySQL db admin page (typically www.yoururl.com/db), created a new database called "blogs"

Copy the file mt-config.cgi-original to mt-config.cgi

Change CGPath to CGIPath http://www.yoururl.com/cgi-bin/mt

Uncomment the five MySQL variables, database is "blogs", fill in the mysql userid & password you are using, and set DBHost to "mysql" for yahoo.

Uncomment the StaticWebPath variable, set it to http://www.yoururl.com/mt-static

Uncomment CGIMaxUpload, set to 10000000 if you want to allow the upload of big files

Perl & Send Mail: Yahoo uses the standard defaults (/usr/bin/perl & /usr/sbin/sendmail), so nothing to do there.

Run http://www.yoururl.com/moveabletype/mt-check.cgi/ if all is well, you will get back "Movable Type System Check Successful". FYI, Yahoo is missing the following functionality, all optional for movable type
Image::Magick for creating thumbnails of uploaded images.
Crypt::DSA for accelerated comment registration signin.
XML::Atom for using Atom API to post and manipulate blogs.

Lauch www.yoururl.com/cgi-bin/mt, click on the link to set up the new installation, click on "finish install" and you should have the joy of being presented with the login screen

For the first time, the userid is Melody, the password Nelson, and off you go! Create your accounts and delete the Melody one right away.

Blogger Instructions
To pull your stuff out of blogger, replace your template with:

<Blogger>
TITLE: <$BlogItemTitle$>
AUTHOR: <$BlogItemAuthor$>
DATE: <$BlogItemDateTime$>
-----
BODY:
<a name="<$BlogItemNumber$>"></a>
<$BlogItemBody$>
-----
<BlogItemCommentsEnabled>
<BlogItemComments>
COMMENT:
AUTHOR: <$BlogCommentAuthor$>
DATE: <$BlogCommentDateTime$>
<a name="<$BlogCommentNumber$>"></a>
<$BlogCommentBody$>
-----
</BlogItemComments>
</BlogItemCommentsEnabled>
--------
</Blogger>

Before you publish, go to Settings/Formatting,
change Show to 999 posts
change Timestamp Format to MM/DD/YYYY HH:MM:SS

In Settings/Comments
change Comments Timestamp Format to MM/DD/YYYY HH:MM:SS

and then do a preview. right click, view source, cut out the couple of lines of HTML at the start & beginning, then save.

The bummer is that it is getting saved with these goofy non-standard quotes & dashes, which choke movable type. So I used frontpage to do a search & replace for the quotes and commas (find a goofy one, copy it so you can CTRL_V it into the search line, and then get the replace character just by typing a ‘ or a , in the replace line.

But wait, it's worse - the default for Blogger is to have \a\n (carriage return & line feed) characters written at the end (very common), but movable type will only accept only accept a linefeed at the end. So to save the file properly, I had to punt to my old editor (open-watcom-win32-1.3.exe, look for vi.exe – I should probably blog at some point about how that editor evolved) with a feature that I turned on in about 1992 (set nowritecrlf, which allowed the editor to save files like QNX (and other unix systems) wanted to see them, with just a line feed only). BLARGH!

Then create an import directory in the mt directory, copy the file you messed with above there, and you can now use the import/export function to bring in your old blog.

StyleCatcher

I wanted to install StyleCatcher, a cool way to change your style quickly.

Because I chose to keep my mt-static directory elsewhere (per the recommendation of the MT installation), installing StyleCatcher was a pain in the butt. You have to change the settings as it botches it up - it won’t work until you do the following:
- Go to Plugins
- Click on “Show Settings” for StlyleCatcher
- Change Theme Root URL to be http://www.yoururl.com/mt-static/themes
- Change Theme Root Path to /mtstatic/themes

But wait, there’s more – it also botches up the bitmaps once you get it working (PLUGIN_STATIC_URI resolves to something goofy), so you have to modify two of the templates in /cgi-bin/mt/plugins/StyleCatcher/tmpl/ - gmscript.tmpl amd view.tmpl. In both, you have to change

to

http://www.yoururl.com/mt-static/plugins/StyleCatcher/

and then everything works great.

Stats

A cool way to track your blog stats is the statwatch plugin. I went to http://www.raquo.net/statwatch/, downloaded the software, followed the install instructions (I put <$MTStats$> into the main index template) and boom! I was getting stats. Much easier than StyleCatcher install for sure. Make sure to put the MTStats tag at the bottom of the template, I put it at the top and it created this mysterious blank line on my page that I could not figure out fore the longest time

3 Column Style & 1024x768 displays

The real bummer is that I wanted a 3 column style, and wanted to have my blogs be good for a 1024x768 display, not an 800x600 display (the default of all the MT styles). The MT styles are fuxed to 800x600 displays, so if you want a bigger screen, you have to pick a style and then manually customize it. So while StyleCatcher helped me find my style, I had to then customize the heck out of it. And now StyleCatcher is useless to me, because all the StyleCatcher styles are hardwired to 800x600 displays (why not 640x480? come on, it's only 2005, I'm sure at least 3 or 4 pc's out there are at 640x480, don't want to leave them out!!). Anyway, more on that later.

Comments

September 2, 2005

Travelstar 7K100 100GB!!


COOL! Hitachi is shipping a 7200 RPM 100 gigabyte notebook drive. I can't find it for sale online yet, but Dell is now shipping it in their XPS 2 gaming laptop - those guys seem to get all the cool stuff first. From Hitachi's web site:

- 100GB maximum capacity
- Industry's only second-generation 7200RPM hard drive
- Desktop-like performance in a mobile drive
- Power requirements similar to 5400RPM products
- 50% improvement in operational shock tolerance
- Supports both Parallel & Serial ATA 1.5Gb/s interfaces

For the longest time, there was only the 60gb 7,200 RPM drive. That was fine at first as that was also the size of the largest laptop drive, but then slowly, bigger drives came out - 80gb, then 100gb, but only at 5,400 RPM. And having had a 7,200 RPM drive for almost 2 years now, I couldn't go back - it is so much faster. Finally, finally finally, 100gb at 7,200 RPM!!!! Whoo hooo!

Comments

September 1, 2005

Need more storage!


Well, it's finally happened - I'm down to 1 terabyte on my 4.8 terabyte appliance. So naturally, when you are down to 20% free disk space, it's time to look at increasing storage.

I was considering the Promise VTrak 15200 that I set up over Christmas - but it turns out Promise has a new iSCSI device, the Promise M500i.

The M500i is twice as fast as the V15200 thanks to using internal PCI/X, a new Intel IO processor, and a new RAID implementation.

As an added bonus, Hitachi released their Deskstar 7K500 500GB 3.5" SATA 3.0Gb/s Hard Drive a few months ago, and you can now get them from newegg.com for $328!

Like the VTrak15200, the M500i takes 15 drives, and so if I go with RAID 50 with a hot spare like before, I will get 6.0 terabytes of storage out of the combo. Of course, if I wait 3 minutes, someone will release a terabyte drive and then boy will I feel foolish. But 6 terabytes should last me through to Christmas at least.

Comments