Archive for the ‘blurps’ Category

Wife swap

Saturday, June 2nd, 2007

Does anybody know what happened with “Wife swap” reality show in Slovenia? Did it happen and I haven’t noticed or was it canceled due to lack of interest? It was announced last December and was supposed to happen this spring. Did it?

By the way, its homepage was obviously killed – with the show?

Blogorola has ping – Apache rewriting with time

Saturday, June 2nd, 2007

Had says, that Blogorola got a ping interface at http://api.blogorola.com/ping.
I hope this means that it won’t be requesting the feed every 2 minutes anymore. It’s should be getting a 304, but anyways…

Update #1: I posted a post in Slovenian. I have no idea what I was thinking. And I also figured out that it’s getting a 302, cause my feed is at Feedburner, a Google company

Update #2: Hope floats. Blogorola’s “ItsyBitsy – spider” made 57 requests in the last 8 hours or so. My server doesn’t care much, cause it only serves a 302 and redirects to the FeedBurner hosted feed. What about yours? Are you willing to put up with this?

If you’re using Apache and mod_rewrite (chances are that you are) you can use mod rewrite to make sure the requests don’t go through to your backend and database with something like this:

RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^ItsyBitsy
RewriteCond %{TIME_HOUR} >00
RewriteCond %{TIME_HOUR} <06
RewriteRule . http://blackhole/ [R=307,L]

Add this to the .htaccess file in your WordPress folder (it should already be there) or basically anywhere on the server to disallow access to the spider at all times except at night when other traffic is low.

You could also use this to allow the spider to access the feed only when you're actually writing - e.g. you usually write your posts between 20 and 22 so you can allow access then, and send it to the "blackhole" at other times. You can also use this to server it different feeds at different times for whatever reason...

See more about rewriting with time at the Apache conf page or the rewrite guide.

Flash video not loading

Friday, May 25th, 2007

My colleagues have just found out that when loading a Flash video file into Flash, the URL must end with “.flv”.

Flash doesn’t check the type – if the URL does not end with “.flv” it won’t even request the file. This could lead to an endless battle between the Flash developer and the web developer because the static version would work and the online version wouldn’t. The Flash developer requests a static .flv file on the disk but when the web developer changes the request to a CMS based file the video doesn’t load.

So, when using a CMS what you’d do is add a “&ext=.flv” or even just “&.flv” to the CMS provided URL (eg. /loadContent.php?id=123) for it to load. You can do that in Flash or in the code that passes the video URL to the player.

Funny.

Update: While checking other sites that load dynamic .flv files I found out that it might just look if the “.flv” is in the URL. Still funny though.

Carwash

Wednesday, May 23rd, 2007

Washing cars seems to be very popular among popular people lately. My car usually needs a fresh car wash so when you’re making a video about it please contact me.

Mixed first impressions

Monday, April 30th, 2007

I registered at Mix07 a few hours ago. I got a disappointing shopping bag packed with stuff – for example a Windows logo 128M USB key.

On the other hand I got a cool pen that has a light on the other side that reads Mix07, Vista ultimate, the expression tools and a t-shirt.

I chose the ‘business’ tag and left ‘design’ and ‘development’ in the bag.

The wireless seems to work – we’ll see how it holds up tomorrow.

It’s a bit cold.

WPF is now Silverlight

Thursday, April 19th, 2007

Microsoft renamed WPF (which was a codename really) to Silverlight. Since that’s still longer than Flash I suggest we find it a short name.
Slight?
Sil?
Sight?

Flash files are .swf and are called swiffs. What’s the extension on Silverlight files?
.wpf?
.sll?
.sil?

I guess Sil could work…