The Venetian




The Venetian

Originally uploaded by eirikso.

Just testing the blog functionallity from flickr. The picture is taken inside The Venetian Hotel in Las Vegas. A truly insane place.

I have been in Venice in Italy and was somewhat disapointed because I found it too crowded with tourists (…a strange thing to say, as I visited Venice as a tourist myself – but don’t we all want to be the only tourist at the places we visit…?). It was difficult to find people actually living in the city and restaurants made for the people living there. Venice is truly beautiful, and all places that have no cars is kind of tranquil in their own way. Still, I prefer to meet real people and visit real cafes and restaurants when I travel to a city.

…the Venetian in Las Vegas and Venice in Italy have as much in common as a fake Rolex and its real counterpart, still it is kind of interesting to have visited both places.

The Venetian

BotCheck for WordPress 1.5

Edit:
I have had problems with BotCheck preventing trackbacks. I have deactivated it and try another plugin. More on that issue here!

You find an update on this issue here:
BotCheck 1.1 fixed

BotCheck

I am using BotCheck to prevent comment spam. This works fine in WordPress 1.5. I had to do some small changes to get BotCheck Version 1.0 work in 1.5

You have to change the comments.php-file in your current theme directory. My comments.php look like this:
comments.php

So, it works and I am happy, but BotCheck is now upgraded to version 1.1. So, I tried to upgrade, but got an error:

Parse error: parse error, unexpected T_ELSE in
…../wp-content/themes/wwweiriksocom/comments.php on line 98

Somebody at some point said “if it works, don’t fix it”, so I am back to version 1.0 with the fix in my comments.php mentioned here.

I will check back to www.blueeye.us to see if someone replies to my comment. I have probably done something very stupid, and the fix is probably very easy…

BotCheck for WordPress 1.5

Le Mangevins in Toulouse

©2005 Svein Aronsen

On a visit to Toulouse in 2002 I sent a SMS to a friend of mine, Aslak Hellesøy. He has been living in Toulouse, and I asked for a place to eat. He recommended Le Mangevins.

We reserved a table, and that evening we had a dinner to remember. The atmosphere in this place is very special. Look out for the crazy and extremely talented cook running his “spectacle” at some point during the evening. In addition to the special adventure of just visiting the place you will get a truly excellent meal.

I know that restaurants can change very fast, but I still recomended the place for my boss when he set of for Toulouse in february this year. He was not disappointed! He also managed to snap a picture of the fantastic cook and actually get a short video clip of the “spectacle”.

©2005 Svein Aronsen ©2005 Svein Aronsen

Le Mangevins
Adresse : 46, rue du Pharaon
Telephone : +33 (0)5 61 52 79 16

Videoclip of the “spectacle”:
(You will need QuickTime or mpegAble to play the file)

Video of the spectacle
(Right-click and download)

Picture and video copyright Svein Aronsen

Le Mangevins in Toulouse

How to install the Exhibit plugin in WordPress 1.5 on Dreamhost

It is a completely and utterly fantastic plugin for WordPress. It makes it extremely easy to upload pictures, make thumbnails, downscale and watermark. All from the standard WordPress web GUI in a very user friendly system.

It took some time before I could find the controls in the WEB-gui. I had to apply a fix for the way DreamHost run PHP. What you do is:

For Exhibit, you might find this useful (a user[1] contribution to Dreamhost’s really quite useful[2] KnowledgeBase)

In exhibit10.php, there is a block of code near the very beginning (line 46) that says:

$_SERVER[‘SCRIPT_NAME’]=

$_SERVER[‘REQUEST_URI’]);

Remove that whole block and replace it with:

$_SERVER[‘SCRIPT_NAME’] = $_SERVER[‘SCRIPT_URL’];

Before I found that, I couldn’t get Exhibit to appear in the admin interface

[1] Not me – found it after much head-scratching and googling
[2] Understatement – it’s an excellent resource for DH users

In addition to this you have to do a fix for WordPress 1.5:

In the file “exhibit10.php”, around line 130, you should find this line:

$this->tableexhibit = $table_prefix . $this->exhibit_db_table;

I replaced this line with this:

$this->tableexhibit = “wp_exhibit”;

I found these fixes here:
http://wordpress.org/support/topic.php?id=8501
And here:
http://wordpress.org/support/topic.php?id=24124#post-136294

The thumbnails at the top of this post are inserted using the Exhibit plugin.

How to install the Exhibit plugin in WordPress 1.5 on Dreamhost

Too much technology

This blog is right now extremely technology focused. It seems unlikely, but I actually have interests in addition to being a part time complete nerd. One area of extreme interest is food. I have a separate food blog, but it is in Norwegian. So, right now I just felt like I needed some warmth in this blog. So here you are. Norwegian shrimps. French wine. Bread. Butter. The recipe of today. I promise to come back with more food, wine, coffee, cigars, music, movies and travel…

Too much technology

How to include stable RSS-feeds in the template of your WordPress blog

To include the new feed links discussed here and here, I have changed the file called “footer.php” in the directory of my current theme:

Change this:
bloginfo(‘rss2_url’)
to
bloginfo(‘url’); ?>/index.php?feed=rss2

and

bloginfo(‘comments_rss2_url’)
to
bloginfo(‘url’); ?>/index.php?feed=rss2&withcomments=1

In addition to this you have to change the file called “single.php”. In line 29.

You can find an edited version of “footer.php” here.
You can find an edited version of “single.php” here.

How to include stable RSS-feeds in the template of your WordPress blog

Update on the RSS-problem in WordPress

The very kind lucero at the WordPress support forum posted a fix for the problem with norwegian characters:

echo utf8_encode(html_entity_decode($title));

instead of echo $title;

in wp-includes/feed-functions.php line 12

will fix this problem.

Fantastic! It solved the problem with norwegian characters breaking the feed. If I now could get some more feed readers to accept my feeds everything would be fine! Right now Mozilla Thunderbird is the only reader that accept the feeds… I have no idea why. This was not a problem with my MovableType blogs.

I need to find a solution!

Update on the RSS-problem in WordPress