Plug-in Manager

I have written before about the Movable Type plug-ins I use for this site; at this moment I am using seven different plug-ins.

The more plug-ins you use, the more difficult it becomes to maintain the site. Because once in a while new versions appear, and I don’t want to scan seven (eight if you include MT itself) sites to see if updates are available.

But now there is the MT Plug-ins Manager. I downloaded the files, placed them on the server and fired up the page. A neat list with all available plug-ins appeared.

Since I didn’t install my plug-ins with this tool, the plug-in manager did not know yet which plug-ins I already have installed. So I went to the Manual Registration section, where I could specify the version number and plug-in name of each file in my plugins directory.

After entering these details I went back to my main page, and noticed an update button next to the IfEmpty plug-in. I was using version 1.1, while the latest version is 1.11. I clicked the button, waited some seconds and my plug-in was updated.

This is great!!! No more downloading from different sites, unzipping, FTP-ing,… One click on the button does the job.

Saying goodbye

Bye

Tomorrow evening my parents will be flying back home.

They have been living with us for one week now, and it has been really wonderful. At this moment they are enjoying the weather in the swimming pool, just like most other afternoons.

Before going home, they will say goodbye to my in-laws.

They can get along very well, despite of the huge communication problems they have.

Tonight we will surely play some cards (for the last time) and have a small dinner. Tomorrow they will pack their backs, go one more time to the swimming pool, and catch the airplane.

We will surely miss them; our house will be more empty without them. But the good news is that we will see them again when we will visit the Netherlands next month.

Comment form problems

I am having some problems in the comment form of my individual archives.

After entering a comment, the form correctly sets the mtcmtauth, mtcmtmail and mtcmthome cookies.

But if I view the page later, the contents of these cookies are not loaded into their respective fields (I’ve tried it with Moz and IE6). My browser tells me that document.comments_form.email is zero or not an object. Of course I checked my template, but I cannot find anything strange.

The <form> element has id=“comments_form”, and the field is also nicely called email.

I don’t know where to look further anymore. Can somebody have a look at this page, and help me with the solution?

My parents are here

Yesterday evening my parents arrived for a short holiday in our house. I came home from work a little bit late, so I had to run a little bit to be ready before they arrived. I cleaned the last things, ironed our clothes and prepared a spinach/salmon quiche and a salad with cheese and apple.

When MJ arrived with them, I showed them around in our house. My mother only had seen it before we started the reconstruction, and though my father had visited us in January, enough things have changed in the mean time.

At half past ten we started our supper, which was even for us a little bit late. Fortunately my parents had eaten some krentenbollen (anybody knows the translation?) in the airplane. After supper we talked a little bit and we showed them our holiday photo’s from Croatia.

This morning before going to work, I prepared the table for breakfast. While they were eating, I gave them our map of Lleida and explained them where our house is and where they can find interesting things. I also explained them how to make coffee and gave them the keys of the house. I am sure that they will be alright.

Braintags update notifications

Some of you receive a message whenever I update this site. You can become a member of my update list by filling in your details on the form on my first page. I am using an external service (Bloglet) to handle these messages.

But now that I have my new provider, I am taking things in my own hands again. I have created a MailMan mailing list to which I will add all people receiving messages . At this moment I am still testing—in fact, this post is a test to see whether the notifications arrive to the list—and as soon as everything works, I will change the form on my site, so new subscription will automatically be added to the list.

Movable Type supports a notification list, but has no mechanism to manage this list. I will have to add, remove and change all addresses by hand, and since I am lazy I looked for a way to automate this. So now the only e-mail address in the MT notification list is the mailing list address. After that, MailMan will take care about distributing the message to all interested persons.

MailMan also provides a management interface where the recipients of my messages can configure their accounts.

[Update 12.08.2003] The test performed by this message worked flawlessly, so I deleted the Bloglet service and replaced the subscription form by a MailMan form. In the mean time I was able to help some other people setting up MailMan for their subscriptions by pointing them to the FAQ How do I create a newsletter/announcement/one-way list?.

Preparing for our visitors

After a quiet weekend in the swimming pool, the time has come to work a little bit. This week we will receive four visitor from abroad: my parents from August 12 ’till 19 and Roberto and Francesca on Wednesday and Thursday.

So that means preparing the beds, thinking about what we are going to eat, shopping, inviting my in-laws to have a supper at our house, … Fortunately, Maria José is working on a summer schedule, so she has a little bit more time than I have for these kind of things.

The thing that we don’t know yet is what to do this weekend (we have three free days) since it is too hot to stay in the city. The options are beach or mountains, my parents can decide.

Changing hosting provider #4

It has been three days ago since I switched my site to the new server. Little by little the visitors switched as DNS servers synchronised all over the world. And little by little I noticed some problems on my site.

These problems were related the two changes I made in the set-up of my site: I moved my photo gallery from its subdirectory /photos to its own sub-domain photos.braintags.com and I changed all URLs of the individual archives from entry_name.html to entry_name/index.shtml.

The first change broke all links to the photos (and what is a photo gallery without photos?) which I corrected by editing all 51 entries. Furthermore I still have to create a symbolic link to some files from my main site, like robots.txt.

The second change broke nothing on my site, but some links to my pages on other sites (Google!) broke terribly. Therefore I decided to us my good friend mod_rewrite to serve people the right page. All I had to do was to create a rule to redirect requests for /archives/yyyy/mm/entry_name.html to /archives/yyyy/mm/entry_name/. So I created the following rule:

# Redirect old URI’s to future-proof directories RewriteCond %{REQUEST_FILENAME} !-f RewriteRule (archives/[0-9]{4}/[0-9]{2}/.*).html$ $1/ [R=permanent]

This did a good job, except for two problems: it also redirected the URI of my monthly archives to archives/yyyy/mm/index/ and it added a slash in front of the URI, so the URL would look like http://jeroensangers.com//archives/… The first problem was easily solved:

# Redirect old URI’s to future-proof directories RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !index.s?html$ RewriteRule (archives/[0-9]{4}/[0-9]{2}/.*).html$ $1/ [R=permanent]

For the second problem I am still looking for a solution.

Changing hosting provider #3

Welcome!

If you’re reading this message, the server transfer was successfully finished. Exporting and importing all entries went without problems. Within 15 minutes I had copied all my texts to the new server. For sure there are some broken links (the coming period I am going to make them future-proof), but I will fix that the coming days.

Now all I have to do is wait until the DNS settings have been copied to all DNS servers over the world, and ask my old provider to drop jeroensangers.com.

Changing hosting provider #2

Change of plans…

Yesterday I told that I was going to redesign my templates and style before switching to the new hosting provider. After one day of design work, I realise that I want so many changes that the rewrite is going to take weeks.

The style I was using until now was based on the default templates of Movable Type, which I adapted by adding and deleting some things, until it looked almost like what I wanted. What I am doing now, is starting with an empty file and adding one by one the elements I want to see. This is a slowly process, since I cannot spend the whole day working on this—I wish I could!

So now I decided that I am going to copy everything as it is now to the new location, and continue the rewrite on the background. Therefore I disabled comments on the most popular entries (to disable comments on all entries I need to edit them one-by-one. There is a script that can do this, but is requires PHP and MySQL, two of the reasons I am switching to another provider).

Now I have to copy the templates and do an export and import of the data. If everything works well, you will read the next message from the new server.

Changing hosting provider #1

After I purchased an account for this site last weekend, I have been exploring the possibilities and planning how to switch my site to the new server. I prefer to think a little bit before I start copying recklessly.

The thing that took most of my time is making choices, since I have now so many more options than I had before. For example, I have three options to access my e-mail with a web client (NeoMail, horde or SquirrelMail), and three options to analyse the access statistics (AWStats, webalizer, Urchin).

Besides making choices, I have been experimenting on setting up a mailing list for the notifications, created a subdomain for my photo gallery, blocked some IP addresses, activated SpamAssasin on my e-mail, …

All these options are comfortably available through cPanel, something I have never seen before, but which I liked immediately.

Of course I started installing Movable Type, this time using a MySQL database to store all the information.

This gave me also the opportunity to play a little bit with MySQL. After setting up MT, I configured my three weblogs (Braintags, Braintags Gallery and Braintags Static Content), but did not yet copy the style sheets. I want to use this site conversion to update all my templates and styles. I am thinking about using a three-column layout for my main page, since the current sidebar is too long.

Besides that, I want to integrate my photo gallery by using a likewise style. So the next week I will be playing HTML-Kit and TopStyle Pro.

Once this is done, I will export and import all the date and change the DNS record so you all can see the new site (without pop-up banners!!).