Archive for February 7th, 2005

February 7th, 2005

Classic

Permalink | Comment (0) ~ Whatever!

More here

February 7th, 2005

Fixing up the Domain Name and URLs

Permalink | Comment (0) ~ Movable Type

I really hated what my Trackback URL used to look like. I mean… it looked like an old Compuserve email address. Something like su1298432.online.us.com. Fugly.

I fixed this by creating a new sub-domain on my host’s control panel for domains and made…

trackback.zoinger.com = su1298432.online.ugly.url

and changed the pointer to the GIPath in the MT.cfg file to trackback.zoinger.com.

However, before I came up with this solution, I had thought I had read that 1and1 didn’t support sub-domains (obviously, I was wrong). In trying to come up with a work around, I ran into this gem of a post by Már Örlygsson. The how-to on future-proofing your URLs in Movable Type. His post is filed under a really trick URL (mouse over the link to check out a future-proofed URL). I’ve implemented a bunch of the URL future-proofing discussed in this post to my site. I like it.

Contained within Már’ post, is a reference to the most excellent Brad Choate and his Regex plugin. You have to download the file and read the readme.txt file if you want to know what Regex does (here’s a link to a local copy of the readme.txt file for version 1.61). I’ll paraphrase a bit from the readme.txt too:

@@

Here’s an example (place at the top of your template):

s|:+D|<img src="/images/smiley.gif"/>|g

The above will replace all occurrences of :+D with an IMG tag that displays a smiley.gif instead.

@@

So, I guess you might be wondering what the previous post, test was about? I was testing out this Regex substitution. I made an entry that said nothing but :+D in the body, and it rendered as the smiley image. Cool… not the smiley… the fact that you can define your own substitution elements. Gotta work on some of these.

And I obviously got my domain transfered from Yahoo! to 1and1 to fix what I was bitching about here .

February 7th, 2005

test

Permalink | Comment (0) ~ Movable Type


Technorati Profile |