Vladville is Back

Misc, System Admin, Vladville
13 Comments

Woohoo, bigger and better than ever. Over the weekend I finally threw away Google's Blogger service and ported all of my posts and comments over to my own servers. The upside is that there are a whole lot more features and things I can do with Vladville now that I could not do with Blogger. The downside: spam. I feel its a good tradeoff and I am sure it will be easier to handle than all the downtime and mistakes Blogger used to make.

So here it is – fully powered by WordPress on CentOS Linux 4.3. There is still a Windows 2003 box behind the SBS Show for media streaming but that will soon either disappear or be upgraded, I have not fully decided how I'll be streaming future media content off Vladville – but you can bet there will be a LOT!

The move was very simple. Porting the Vladville theme to WordPress was less than amusing but after seeing what this can do I will be changing the theme again to something more Web 2.0ish. I would like to thank my friend Pablo Averbuj for helping me out yesterday with Apache Rewrites. You see, Blogger publishes the Atom XML as /rss/vladville.xml – its something thats in thousands and thousands of RSS feeds out there. Well, WordPress publishes feeds as /feed/rss2 or /?feed=rss. Since there was no way to do an internal redirect that would work here is the actual Rewrite rule Pablo came up with:

 <IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^rss/vladville.xml /index.php?feed=rss2 [P,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

The interesting rule is the one that is matching requests to /rss/vladville.xml and redirecting them to /index.php?feed=rss2. We tried this over and over and over again and could not get it to do internal redirection. Finally Pablo threw in a P in there (for proxy) and it works. What more can you ask for?  Here is an interesting conversation we had after we decided it was good enough:

Pablo: So you're returning RSS2 but aren't they expecting Atom?

Vlad: Yes.

Pablo: Eh, F em if they can't take a joke 🙂

So if your feed is broken happy belated April Fools day. For different feeds from Vladville (if its broken) use the following:

http://www.vladville.com/feed/rss2

http://www.vladville.com/feed/atom

That ought to do it! 

13 Responses to Vladville is Back

  1. cscriber says:

    Looks nice, dig the categories.

  2. JEdwards says:

    Looks the same man 🙂 Actually, I like the new archive printout. On your sidebar “previous posts” part doesn’t have any of your recent posts. Also, your images look wacked. Might want to check that out.

  3. Tim Barrett says:

    Categories, wikis, RSS2… our little blogger has grown up (wipes away tear).

  4. happyfunboy says:

    what…no polka dots?

    screw you guys…

    i’m goin’ home!

  5. KrisSwinnen says:

    So where is the “vlog” now?

  6. Stacey C. says:

    Neat trick I’ll digg it since we’re planning to move our internal CMS to WordPress.

  7. Sarah says:

    Yea! No more blogger! Nice move!

  8. Charles M says:

    Vlad,

    Why CentOS over Windows?

  9. Rich says:

    Yeah, why Linux?

  10. vlad says:

    In all honesty, it came down to price and functionality.

    My site had come to a point where it was so popular that I had a choice of scaling it via Linux for free or Windows at a significant cost. There are certain things I wanted to do with Vladville from day one which is why the apps on the previous site were driven by SQL Server 2000. However, with release of R2 and SQL 2005 I had a choice to make and it boiled down to two factors on which Microsoft lost me:

    1. Pay a lot of money (clustered SQL + F/E, B/E web & media servers)
    2. Develop in an environment that I’m familiar with

    At the end of the day I chose to spend $$ elsewhere and base future projects on Ajax+PHP.

    Suffice to say I still have not completed the move but expect to have the last F/E box on CentOS by SMB Nation East in May for the first series of media.

  11. marrizo says:

    Welcome to the dark side 🙂

  12. someone says:

    good decision. I am using Linux as server OS since years. It´s a better server platform – in my point of view. I would prefer Debian or Gentoo – but it´s a matter of taste.

  13. Dhani says:

    maybe I could (as another wordpress users will) recommended you this site:

    http://www.wp-plugins.net/

    it’s full of usefull addons like this one (for fighting spam, work really well too):

    http://wp-plugins.net/plugin/SK2/

    good luck… 🙂

Comments are closed.