teranex weblog - webloghttps://budts.be/2018-03-12T21:07:00+01:00budts.be v5: Pelican2018-03-12T21:07:00+01:002018-03-12T21:07:00+01:00Jeroen Budtstag:budts.be,2018-03-12:/weblog/2018/03/budtsbe-v5<p>It's been 5 years since I wrote my last blogpost. Until today.</p>
<p>The past years my interest in blogging declined. Combined with the regular burden of Drupal security updates, I seriously considered to simply scrap everything and replace the website with a simple one-pager. Although a lot of my older blog-posts are not very useful (to say the least) or are very out of date, some of these bring memories of long gone times. Needles to say I didn't like the idea of deleting everything from these past 15 years.</p>
<p>Meanwhile I also have the feeling that social networks, Facebook in particular, have too much control over the content we create. This gave me the idea to start using this blog again. By writing content on my own blog, I can take control back and still easily post it to Facebook, Twitter and so on. A few days later <a href="https://dri.es/to-pesos-or-to-posse">Dries wrote a post about his very similar plans</a>. Apparently this idea even has a name: The <a href="https://indieweb.org/">IndieWeb movement</a>.</p>
<p>I decided …</p><p>It's been 5 years since I wrote my last blogpost. Until today.</p>
<p>The past years my interest in blogging declined. Combined with the regular burden of Drupal security updates, I seriously considered to simply scrap everything and replace the website with a simple one-pager. Although a lot of my older blog-posts are not very useful (to say the least) or are very out of date, some of these bring memories of long gone times. Needles to say I didn't like the idea of deleting everything from these past 15 years.</p>
<p>Meanwhile I also have the feeling that social networks, Facebook in particular, have too much control over the content we create. This gave me the idea to start using this blog again. By writing content on my own blog, I can take control back and still easily post it to Facebook, Twitter and so on. A few days later <a href="https://dri.es/to-pesos-or-to-posse">Dries wrote a post about his very similar plans</a>. Apparently this idea even has a name: The <a href="https://indieweb.org/">IndieWeb movement</a>.</p>
<p>I decided I would go the route of the static site generators. After reading articles and comparisons about Jekyll, Hugo, Pelican and Hexo I felt that Pelican, together with Jekyll, came closest to the features I wanted. In the end I choose Pelican because it is written in Python and some other small differences with Jekyll. Converting all my blog-posts from Drupal turned out to be easier than I expected. To do this I wrote a small <a href="https://github.com/teranex/budts.be/tree/master/sites/all/modules/budts_be/drupal_pelican_exporter">Drupal module with two Drush commands</a>. One to export the nodes and another to export all the comments.</p>
<p>The new theme was inspired by my love for <a href="https://www.vim.org/">Vim</a>, the <a href="https://github.com/teranex/dotvim/blob/master/colors/molokai.vim">Molokai</a> colorscheme, <a href="http://vimwiki.github.io/">Vimwiki</a> and <a href="https://en.wikipedia.org/wiki/Markdown">Markdown</a>.</p>
<p>So... We'll see what the future brings. Maybe a new post will appear from time to time again. Or maybe this will be the first and last post for another 5 years. Time will tell... But at least I won't have to worry about Drupal security updates anymore. And writing blog-posts as simple Markdown files is refreshing.</p>Budts.be: version 3 is here2010-12-21T20:49:00+01:002010-12-27T21:16:00+01:00Jeroen Budtstag:budts.be,2010-12-21:/weblog/2010/12/budtsbe-version-3-is-here<p>Today I'm happy to launch the new version of my weblog. (Oh and also the rest of the website, although some content still needs to be updated.) This is version 3 of the weblog, not counting my very first weblog at blogger.com. Although it's only been 1.5 year since I <a href="http://budts.be/weblog/2009/01/weblog-op-wordpress">switched from Nucleus CMS to Wordpress</a>, I once again switched over to another CMS: <a href="http://drupal.org/">Drupal</a>. Not because I was unhappy with Wordpress (it's a really nice system), but Drupal gives me a lot more flexibility. Flexibility which I needed to implement some new ideas I had for this version of the weblog and my website in general.</p>
<p>I have always maintained a few different sites, running on a plethora of applications. I had my photo website (fotos.budts.be), which ran on <a href="http://www.zenphoto.org/">ZenPhoto</a>; I had lightyear.be with the activity stream, running on <a href="http://sourceforge.net/projects/gregarius/">Gregarius</a> with some self-hacked ruby code to write the final stream; Then I had my cv-site (budts.be/jeroen), which was mainly just static html …</p><p>Today I'm happy to launch the new version of my weblog. (Oh and also the rest of the website, although some content still needs to be updated.) This is version 3 of the weblog, not counting my very first weblog at blogger.com. Although it's only been 1.5 year since I <a href="http://budts.be/weblog/2009/01/weblog-op-wordpress">switched from Nucleus CMS to Wordpress</a>, I once again switched over to another CMS: <a href="http://drupal.org/">Drupal</a>. Not because I was unhappy with Wordpress (it's a really nice system), but Drupal gives me a lot more flexibility. Flexibility which I needed to implement some new ideas I had for this version of the weblog and my website in general.</p>
<p>I have always maintained a few different sites, running on a plethora of applications. I had my photo website (fotos.budts.be), which ran on <a href="http://www.zenphoto.org/">ZenPhoto</a>; I had lightyear.be with the activity stream, running on <a href="http://sourceforge.net/projects/gregarius/">Gregarius</a> with some self-hacked ruby code to write the final stream; Then I had my cv-site (budts.be/jeroen), which was mainly just static html with some PHP-hackery; Joining the club was also gluefish.net, which was built with some <i>other</i> static html and PHP-code; and finally I had this weblog on Wordpress. Clearly a mess :)</p>
<p>So now all these sites are integrated in one Drupal site. The cool thing about this is that all my content is now available on the website as real content, or 'nodes' to use the correct Drupal-speak. That's right, <a href="/weblog/">blogposts</a> are nodes, normal <a href="/jeroen/cv">pages</a> are nodes, <a href="/fotos">photos</a> are nodes, <a href="/activity-stream/tweet">tweets</a> are nodes, <a href="/activity-stream/delicious_bookmark">delicious-bookmarks</a> are nodes<a href="#note-0001">*</a>, <a href="/projects">project pages</a> are nodes, (allmost) everything is a node. This has the advantage that I can tag nearly everything on the website with the same <a href="/tagadelic">set of tags</a> so you and I can easily read all of the content about something. And it also allows <a href="/search">easy searching</a>.</p>
<!--break-->
<p>I have been happy for a very (very!) long time with the look of my weblog. But finally repainting the walls was a welcome change. In fact, I only got inspired to create a new look for the website when I discovered and started using the magnificent <a href="http://winterdom.com/2008/08/molokaiforvim">Molokai theme for Vim</a>. I really like the dark background and all the vibrant colors on top of it.</p>
<h2>Some technical background</h2>
<p>For those interested, here is some info on the Drupal modules I used etc. The theme is based on the Tao theme, and uses the <a href="http://webhost.bridgew.edu/etribou/layouts/skidoo_redux/">Skidoo Redux</a> css layout. The following contributed modules are used: Custom Breadcrumbs, Feeds, GeSHi Filter, Image, Custom Pagers, Global Redirect, Gravatar Integration, Menu Block, Pathauto, Search 404, Project & Project issue tracking, Tagadelic, Views</p>
<p>To import my activity stream, currently from Twitter and Delicious, I use the Feeds module. However to be able to store the hashtags from my tweets as taxonomy terms I wrote a small plugin for the Feeds module. I will make this code available after adding a few more features.</p>
<p id="note-0001">* All my delicious tweets are imported as nodes as well, so I'll be prepared when Yahoo pulls the plug on delicious. Although I'd prefer them not to, obviously.</p>Convert a Nucleus blog to Wordpress2009-01-13T21:10:00+01:002010-12-18T12:31:00+01:00Jeroen Budtstag:budts.be,2009-01-13:/weblog/2009/01/convert-a-nucleus-blog-to-wordpress<p>As you could read in my previous post, I converted my weblog from <a href="http://nucleuscms.org">Nucleus CMS</a> to <a href="http://wordpress.org">Wordpress</a>. This article illustrates how I did it.</p>
<h2>Import Nucleus content</h2>
<p>I started by looking for <a href="http://sourceforge.net/projects/nuc2wp/">a converter for Nucleus to Wordpress</a>. I was happy to find one for Wordpress 2.1. Because I wanted to do most of the work while being offline (on the train), I then setup a local environment. This was very easy with <a href="http://www.apachefriends.org/en/xampp.html">XAMPP</a>. After having the Magic LAMP running, I created a local database and imported all my Nucleus tables. Then I installed Wordpress 2.1 in my local environment and started the conversion. It must have been my lucky day, everything seemed to work and my Nucleus content (items, comments, users, trackbacks etc) were imported into Wordpress. After the import i could easily update Wordpress 2.1 to 2.7.</p>
<h2>The Theme</h2>
<p>The next important step: convert my carefully crafted ( ;-) ) Nucleus skin to a Wordpress theme. I thought this would be rather time consuming, but actually it …</p><p>As you could read in my previous post, I converted my weblog from <a href="http://nucleuscms.org">Nucleus CMS</a> to <a href="http://wordpress.org">Wordpress</a>. This article illustrates how I did it.</p>
<h2>Import Nucleus content</h2>
<p>I started by looking for <a href="http://sourceforge.net/projects/nuc2wp/">a converter for Nucleus to Wordpress</a>. I was happy to find one for Wordpress 2.1. Because I wanted to do most of the work while being offline (on the train), I then setup a local environment. This was very easy with <a href="http://www.apachefriends.org/en/xampp.html">XAMPP</a>. After having the Magic LAMP running, I created a local database and imported all my Nucleus tables. Then I installed Wordpress 2.1 in my local environment and started the conversion. It must have been my lucky day, everything seemed to work and my Nucleus content (items, comments, users, trackbacks etc) were imported into Wordpress. After the import i could easily update Wordpress 2.1 to 2.7.</p>
<h2>The Theme</h2>
<p>The next important step: convert my carefully crafted ( ;-) ) Nucleus skin to a Wordpress theme. I thought this would be rather time consuming, but actually it only took me 10 hours (on the train) to completely convert my skin. I started from the default Wordpress theme, which was very helpful to see how everything works. Other details in this step are less important, because they are specific to my theme.</p>
<h2>Cool URI's never change</h2>
<p>Because I get quite a few incoming links from Google and other sites, I wanted to keep the Nucleus FancyURL's working and redirect visitors of the 'old' urls to the new ones. To get this working I took a few steps. A FancyURL in Nucleus looks like <code>http://budts.be/weblog/item/123</code>. However a url in wordpress looks like <code>http://budts.be/weblog/2009/01/my-post</code>. So first I had to find the mapping between the old Nucleus ID's every item and it's new Wordpress permalink. To do so I used a hackish SQL query on the database:</p>
<div class="highlight"><pre><span></span><span class="k">select</span> <span class="n">CONCAT</span><span class="p">(</span><span class="s1">'$items['</span><span class="p">,</span><span class="n">n</span><span class="p">.</span><span class="n">inumber</span><span class="p">,</span><span class="s1">'] = "'</span><span class="p">,</span><span class="k">year</span><span class="p">(</span><span class="n">w</span><span class="p">.</span><span class="n">post_date</span><span class="p">),</span><span class="s1">'/'</span><span class="p">,</span>
<span class="k">month</span><span class="p">(</span><span class="n">w</span><span class="p">.</span><span class="n">post_date</span><span class="p">),</span><span class="s1">'/'</span><span class="p">,</span><span class="n">w</span><span class="p">.</span><span class="n">post_name</span><span class="p">,</span><span class="s1">'/";'</span><span class="p">)</span> <span class="k">from</span> <span class="n">wp_posts</span> <span class="n">w</span><span class="p">,</span>
<span class="n">nucleus_item</span> <span class="n">n</span> <span class="k">where</span> <span class="n">n</span><span class="p">.</span><span class="n">ibody</span> <span class="o">=</span> <span class="n">w</span><span class="p">.</span><span class="n">post_content</span>
</pre></div>
<p>The query missed a few items, but i guess a 90% ratio is good enough (the earth won't end if a few items aren't correctly mapped, right?). This query gives output such as:</p>
<div class="highlight"><pre><span></span><span class="cp"><?php</span>
<span class="nv">$items</span><span class="p">[</span><span class="mi">549</span><span class="p">]</span> <span class="o">=</span> <span class="s2">"2005/10/het-wordt-weeral-herfst/"</span><span class="p">;</span>
<span class="nv">$items</span><span class="p">[</span><span class="mi">550</span><span class="p">]</span> <span class="o">=</span> <span class="s2">"2005/11/digg/"</span><span class="p">;</span>
<span class="nv">$items</span><span class="p">[</span><span class="mi">551</span><span class="p">]</span> <span class="o">=</span> <span class="s2">"2005/11/how-to-tuesday-disable-autorun-on-windows/"</span><span class="p">;</span>
</pre></div>
<p>This is the code that I copy pasted in a new PHP-file with the name 'redirector.php'. This PHP-script looks like:</p>
<div class="highlight"><pre><span></span><span class="cp"><?php</span>
<span class="k">if</span> <span class="p">(</span><span class="nv">$_GET</span><span class="p">[</span><span class="s2">"type"</span><span class="p">]</span> <span class="o">==</span> <span class="s2">"category"</span><span class="p">)</span> <span class="p">{</span>
<span class="nx">redirectCategory</span><span class="p">(</span><span class="nb">intval</span><span class="p">(</span><span class="nv">$_GET</span><span class="p">[</span><span class="s2">"id"</span><span class="p">]));</span>
<span class="p">}</span>
<span class="k">if</span> <span class="p">(</span><span class="nv">$_GET</span><span class="p">[</span><span class="s2">"type"</span><span class="p">]</span> <span class="o">==</span> <span class="s2">"item"</span><span class="p">)</span> <span class="p">{</span>
<span class="nx">redirectItem</span><span class="p">(</span><span class="nb">intval</span><span class="p">(</span><span class="nv">$_GET</span><span class="p">[</span><span class="s2">"id"</span><span class="p">]));</span>
<span class="p">}</span>
<span class="k">print</span> <span class="s2">"euhr.. hmm yeah.. this doesn't look very good."</span><span class="p">;</span>
<span class="k">function</span> <span class="nf">redirectCategory</span><span class="p">(</span><span class="nv">$categoryID</span><span class="p">)</span> <span class="p">{</span>
<span class="nv">$categories</span> <span class="o">=</span> <span class="k">array</span><span class="p">();</span>
<span class="nv">$categories</span><span class="p">[</span><span class="mi">1</span><span class="p">]</span> <span class="o">=</span> <span class="s2">"general/"</span><span class="p">;</span>
<span class="nv">$categories</span><span class="p">[</span><span class="mi">2</span><span class="p">]</span> <span class="o">=</span> <span class="s2">"eten/noodles/"</span><span class="p">;</span>
<span class="o">...</span>
<span class="nv">$categories</span><span class="p">[</span><span class="mi">24</span><span class="p">]</span> <span class="o">=</span> <span class="s2">"muziek/"</span><span class="p">;</span>
<span class="k">if</span> <span class="p">(</span><span class="nb">array_key_exists</span><span class="p">(</span><span class="nv">$categoryID</span><span class="p">,</span> <span class="nv">$categories</span><span class="p">))</span> <span class="p">{</span>
<span class="nb">header</span><span class="p">(</span><span class="s1">'Location: /weblog/category/'</span><span class="o">.</span><span class="nv">$categories</span><span class="p">[</span><span class="nv">$categoryID</span><span class="p">]);</span>
<span class="p">}</span> <span class="k">else</span> <span class="p">{</span>
<span class="nb">header</span><span class="p">(</span><span class="s1">'Location: /weblog/'</span><span class="p">);</span>
<span class="p">}</span>
<span class="p">}</span>
<span class="k">function</span> <span class="nf">redirectItem</span><span class="p">(</span><span class="nv">$itemID</span><span class="p">)</span> <span class="p">{</span>
<span class="nv">$items</span> <span class="o">=</span> <span class="k">array</span><span class="p">();</span>
<span class="nv">$items</span><span class="p">[</span><span class="mi">26</span><span class="p">]</span> <span class="o">=</span> <span class="s2">"2003/09/pingtest/"</span><span class="p">;</span>
<span class="nv">$items</span><span class="p">[</span><span class="mi">27</span><span class="p">]</span> <span class="o">=</span> <span class="s2">"2003/09/dit-is-cht-gestoord-maar-wel-grappig/"</span><span class="p">;</span>
<span class="nv">$items</span><span class="p">[</span><span class="mi">28</span><span class="p">]</span> <span class="o">=</span> <span class="s2">"2003/09/nog-meer-noodles/"</span><span class="p">;</span>
<span class="o">...</span>
<span class="nv">$items</span><span class="p">[</span><span class="mi">583</span><span class="p">]</span> <span class="o">=</span> <span class="s2">"2008/04/antwerp-10-miles/"</span><span class="p">;</span>
<span class="nv">$items</span><span class="p">[</span><span class="mi">585</span><span class="p">]</span> <span class="o">=</span> <span class="s2">"2008/05/een-huis-kopen-t-is-niet-gelijk-naar-den-bakker-gaan/"</span><span class="p">;</span>
<span class="k">if</span> <span class="p">(</span><span class="nb">array_key_exists</span><span class="p">(</span><span class="nv">$itemID</span><span class="p">,</span> <span class="nv">$items</span><span class="p">))</span> <span class="p">{</span>
<span class="nb">header</span><span class="p">(</span><span class="s1">'Location: /weblog/'</span><span class="o">.</span><span class="nv">$items</span><span class="p">[</span><span class="nv">$itemID</span><span class="p">]);</span>
<span class="p">}</span> <span class="k">else</span> <span class="p">{</span>
<span class="nb">header</span><span class="p">(</span><span class="s1">'Location: /weblog/'</span><span class="p">);</span>
<span class="p">}</span>
<span class="p">}</span>
</pre></div>
<p>Still one thing about the SQL query: it produces dates such as 2009/2/foo-bar, while it should be 2009/<b>0</b>2/foo-bar (although both seem to work in Wordpress). So before pasting the output of the query in the redirector.php script I first did a find/replace (with regular expressions) on the output with <a href="http://jedit.org">jEdit</a>, by searching for <code>"200([0-9])/([0-9])/</code> and replacing it with <code>"200$1/0$2/</code>. For the category mapping (also in the redirector.php-script) i used a similar query.</p>
<p>The next step is some .htaccess-magic. So before the first default Wordpress RewriteCond I added the following rules:</p>
<div class="highlight"><pre><span></span><span class="c"># cool uri's never expire (old nucleus blog url's)</span>
<span class="c"># fancy urls</span>
<span class="nb">RewriteRule</span> blog/[0-9]+/item/([0-9]+).*$ redirector.php?type=item&id=$1 [R,L]
<span class="nb">RewriteRule</span> blog/.*$ <span class="sx">/weblog/</span> [R,L]
<span class="nb">RewriteRule</span> member/.*$ <span class="sx">/weblog/</span> [R,L]
<span class="nb">RewriteRule</span> archive(/[0-9])?/([0-9]{4})-([0-9][0-9]).*$ <span class="sx">/weblog/</span>$2/$3/ [R,L]
<span class="nb">RewriteRule</span> item/([0-9]+).*$ redirector.php?type=item&id=$1 [R,L]
<span class="nb">RewriteRule</span> category/([0-9]+)(/.*)?$ redirector.php?type=category&id=$1 [R,L]
<span class="c"># feeds</span>
<span class="nb">RewriteRule</span> atom\.php <span class="sx">/weblog/feed/atom/</span> [R,L]
<span class="nb">RewriteRule</span> xml-rss.?\.php <span class="sx">/weblog/feed/</span> [R,L]
<span class="nb">RewriteRule</span> xml-rss-comments\.php <span class="sx">/weblog/comments/feed/</span> [R,L]
</pre></div>
<p>These rules try to rewrite as much as possible, sometimes by redirecting to the redirector.php script to find the correct mapping. If a good redirect can not be done or found (in case of a mapping), the visitor is redirected to the home-page.</p>
<p>I guess that describes the steps I took to convert my blog from Nucleus to Wordpress. Now it is plugin-playing and -discovering time :).</p>Weblog op Wordpress2009-01-12T18:01:00+01:002010-12-18T12:31:00+01:00Jeroen Budtstag:budts.be,2009-01-12:/weblog/2009/01/weblog-op-wordpress<p>Zoals sommige mensen op Facebook al hebben opgemerkt heb ik m'n weblog overgezet van <a href="http://nucleuscms.org">Nucleus CMS</a> naar <a href="http://wordpress.org">Wordpress</a>. Eigenlijk ben ik nog volop bezig met het overzetten want er zitten nog een hoop foutjes en ruwe kantjes in. Die worden de komende dagen/weken weggewerkt.</p>
<p>Toen ik 6 jaar geleden met een eigen weblog begon, kwam ik al snel uit bij Nucleus. Er waren toen immers nog niet veel alternatieven. Wordpress bestond al wel, maar was nog heel erg jong. Bovendien was er een vrij levendige community rond Nucleus die het leuk maakte om het project te gebruiken en rond te hangen op de forums. Ik heb toen zelf ook mee aan de core van Nucleus geprogrammeerd. De laatste jaren ben ik echter mijn interesse in PHP verloren, en daarmee ook mijn bijdragen aan Nucleus. Ondertussen is Wordpress enorm gegroeid en heeft ondertussen veel meer features dan Nucleus. Stiekem was ik er al wel een half jaar over aan het nadenken om over te stappen op Wordpress, maar het leek …</p><p>Zoals sommige mensen op Facebook al hebben opgemerkt heb ik m'n weblog overgezet van <a href="http://nucleuscms.org">Nucleus CMS</a> naar <a href="http://wordpress.org">Wordpress</a>. Eigenlijk ben ik nog volop bezig met het overzetten want er zitten nog een hoop foutjes en ruwe kantjes in. Die worden de komende dagen/weken weggewerkt.</p>
<p>Toen ik 6 jaar geleden met een eigen weblog begon, kwam ik al snel uit bij Nucleus. Er waren toen immers nog niet veel alternatieven. Wordpress bestond al wel, maar was nog heel erg jong. Bovendien was er een vrij levendige community rond Nucleus die het leuk maakte om het project te gebruiken en rond te hangen op de forums. Ik heb toen zelf ook mee aan de core van Nucleus geprogrammeerd. De laatste jaren ben ik echter mijn interesse in PHP verloren, en daarmee ook mijn bijdragen aan Nucleus. Ondertussen is Wordpress enorm gegroeid en heeft ondertussen veel meer features dan Nucleus. Stiekem was ik er al wel een half jaar over aan het nadenken om over te stappen op Wordpress, maar het leek me nogal veel werk.</p>
<p>Nu ik weer iedere dag met de trein naar Brussel spoor en ik mijn laptop een tweede jeugd heb gegeven met <a href="http://ubuntu.com">Ubuntu</a> heb ik mijn tanden er uiteindelijk dan toch maar ingezet. Het overzetten op zich ging zelfs vlotter dan ik had verwacht. Over de technische kan daarvan schrijf ik later nog een post.</p>
<p>Nu ik Wordpress gebruik plan ik ook enkele kleinere zaken aan te passen. Zo zou ik OpenID en Gravatar willen ondersteunen. Ook plan ik om meer technische zaken in het engels te schrijven. Hierbij zal de tagging feature van Wordpress dan weer handig zijn, omdat ik posts in het nederlands met 'nl' kan taggen, en posts in het engels met 'en', en je hiervoor dan ook aparte feeds kan opvragen (betere voorstellen altijd welkom :) ).</p>
<p>Ondertussen staat de trein stil in het station van Berchem en geniet ik verder van 'If I Should Lose You' van Hank Mobley. Nog twee haltes, een korte autorit met tussenstop bij de bakker voor worstenbrood, en dan kan ik voor de eerste echte keer op de 'Publish'-knop van Wordpress klikken...</p>Hosting2005-09-06T23:47:00+02:002014-07-30T09:05:00+02:00Jeroen Budtstag:budts.be,2005-09-06:/weblog/2005/09/hosting<p>Een tijdje terug las ik op het weblog van Cloping <a href="http://www.clopin.be/archives/2005/07/15/hosting/">een artikel over hosting</a>. Het ging er vooral over dat Belgische hosting toch wel veel duurder is dan hosting in de USA. Toen ik zelf ook wat begon rond te kijken verschoot ik eigenlijk ook wel van het grote verschillen tussen hetgeen je hier krijgt en wat je voor datzelfde bedrag in de VS kan krijgen.</p>
<p>Nu ben ik er over aan het denken om van hosting-ISP te veranderen. Na wat rondgezocht te hebben lijken JaguarPC (<i>GigaDeal X5</i>) en <a href="http://dreamhost.com">Dreamhost</a> (<i>Crazy Domain Insane</i>) me wel te bevallen. En nu hoor je m'n vraag natuurlijk al komen :) Wie heeft er ervaring met één of beide van deze ISP's?</p>
<p>Wat ik zoal belangrijk vind: PHP (liefst 4 & 5 vermits sommige app's nog problemen lijken te hebben met PHP 5), IMAP, e-mail forwarding, Spamfilter (momenteel gebruik'k spamassassin en dat werkt goed), FTP, .htaccess, MySQL, subdomeinen, cronjobs, eventueel Python (voor Trac) en Ruby. Bij Dreamhost heb je ook een eigen Jabber-server wat me erg …</p><p>Een tijdje terug las ik op het weblog van Cloping <a href="http://www.clopin.be/archives/2005/07/15/hosting/">een artikel over hosting</a>. Het ging er vooral over dat Belgische hosting toch wel veel duurder is dan hosting in de USA. Toen ik zelf ook wat begon rond te kijken verschoot ik eigenlijk ook wel van het grote verschillen tussen hetgeen je hier krijgt en wat je voor datzelfde bedrag in de VS kan krijgen.</p>
<p>Nu ben ik er over aan het denken om van hosting-ISP te veranderen. Na wat rondgezocht te hebben lijken JaguarPC (<i>GigaDeal X5</i>) en <a href="http://dreamhost.com">Dreamhost</a> (<i>Crazy Domain Insane</i>) me wel te bevallen. En nu hoor je m'n vraag natuurlijk al komen :) Wie heeft er ervaring met één of beide van deze ISP's?</p>
<p>Wat ik zoal belangrijk vind: PHP (liefst 4 & 5 vermits sommige app's nog problemen lijken te hebben met PHP 5), IMAP, e-mail forwarding, Spamfilter (momenteel gebruik'k spamassassin en dat werkt goed), FTP, .htaccess, MySQL, subdomeinen, cronjobs, eventueel Python (voor Trac) en Ruby. Bij Dreamhost heb je ook een eigen Jabber-server wat me erg leuk lijkt. Ook CVS is aanwezig bij Dreamhost, wat een ander pluspunt kan zijn, hoewel CVS voor mij persoonlijk helemaal heeft afgedaan voor <a href="http://darcs.net">DARCS</a>. Dus de mogelijkheid om DARCS repo's op de server te gebruiken via SSH is ook meer dan welkom.</p>
<p>Wat ik me verder nog afvraag: hoe zit dat juist met .be-domeinnamen? Momenteel heb ik er twee en die staan bij dezelfde ISP als m'n hosting. Ik heb echter gebrepen dat zowel JaguarPC als Dreamhost geen .be's rechtstreeks kunnen beheren (lijkt me ook logisch). Maar hoe gaat dat dan juist in z'n werk? Worden de .be's bij een ISP in belgië geregistreerd (bijvoorbeeld <a href="http://domeincentrale.be/">domeincentrale</a>) en wordt de DNS naar de hosting-ISP doorverwezen zodat je evengoed vandaar alles kan aanpassen?</p>Nieuwe layout2005-06-01T22:50:00+02:002010-12-18T12:31:00+01:00Jeroen Budtstag:budts.be,2005-06-01:/weblog/2005/06/nieuwe-layout<div class="figureWithCaption alignLeft">
<img src="/weblog/media/weblog/20050601-weblog-versie1.png" alt="TeRanEX Weblog - versie 1" />
<div>TeRanEX Weblog - versie 1</div>
</div>
<p>Het is gelukt! Een nieuwe layout :). 'k Heb ongeveer een jaar rondgelopen met de gedachte dat het toch eens tijd was voor een nieuwe layout maar 't kwam er nooit echt van.</p>
<p>Met de nieuwe layout zijn er ook nog een paar andere nieuwigheden. In reacties kan je nu zowat alle BB-codes gebruiken die je maar kan bedenken. Dit aan de hand van de <a href="http://dev.budts.be/releases/abbc_parser/">ABBC Parser Plugin</a>, gebaseerd op <a href="http://software.unclassified.de/content.php?page_id=code.php.abbc">AdvancedBBCode Parser</a>. Verder kan je, als je <a href="/weblog/members">geregistreerd</a> bent, een avatar in je profiel instellen die naast je reacties verschijnt. Achter de schermen is er natuurlijk nog heel wat meer veranderd, hoofdzakelijk op plugin-gebied.</p>
<p>De layout zelf is gebaseerd op '<a href="http://webhost.bridgew.edu/etribou/layouts/skidoo/">skidoo lean</a>'. Een knappe CSS layout voor 2 en 3 kolommen.</p>
<p>Met speciale dank aan <a href="http://smalltalking.com/">Moraes</a> voor enkele goede tips en <a href="http://fuckhedz.com">Jef Pober</a> voor de Profile plugin (die ik evenwel helemaal heb verbouwd..).</p><div class="figureWithCaption alignLeft">
<img src="/weblog/media/weblog/20050601-weblog-versie1.png" alt="TeRanEX Weblog - versie 1" />
<div>TeRanEX Weblog - versie 1</div>
</div>
<p>Het is gelukt! Een nieuwe layout :). 'k Heb ongeveer een jaar rondgelopen met de gedachte dat het toch eens tijd was voor een nieuwe layout maar 't kwam er nooit echt van.</p>
<p>Met de nieuwe layout zijn er ook nog een paar andere nieuwigheden. In reacties kan je nu zowat alle BB-codes gebruiken die je maar kan bedenken. Dit aan de hand van de <a href="http://dev.budts.be/releases/abbc_parser/">ABBC Parser Plugin</a>, gebaseerd op <a href="http://software.unclassified.de/content.php?page_id=code.php.abbc">AdvancedBBCode Parser</a>. Verder kan je, als je <a href="/weblog/members">geregistreerd</a> bent, een avatar in je profiel instellen die naast je reacties verschijnt. Achter de schermen is er natuurlijk nog heel wat meer veranderd, hoofdzakelijk op plugin-gebied.</p>
<p>De layout zelf is gebaseerd op '<a href="http://webhost.bridgew.edu/etribou/layouts/skidoo/">skidoo lean</a>'. Een knappe CSS layout voor 2 en 3 kolommen.</p>
<p>Met speciale dank aan <a href="http://smalltalking.com/">Moraes</a> voor enkele goede tips en <a href="http://fuckhedz.com">Jef Pober</a> voor de Profile plugin (die ik evenwel helemaal heb verbouwd..).</p>Nucleus 3.2!2005-03-07T22:56:00+01:002010-12-18T12:31:00+01:00Jeroen Budtstag:budts.be,2005-03-07:/weblog/2005/03/nucleus-32<p><a href="http://www.nucleuscms.org/download.php"><img src="http://nucleuscms.org/styles/skins/nucleus/img/sidebanner.png" alt="Download Nucleus 3.2!" class="alignRight" /></a>vanavond is <a href="http://www.nucleuscms.org/item/3028">Nucleus 3.2</a> gelanceerd. Verbeteringen zijn onder andere: verbeterde anti-spam functionaliteit, fouten bij formulieren worden nu boven het formulier getoond ipv op een nieuwe pagina, <a href="http://www.google.com/googleblog/2005/01/preventing-comment-spam.html">rel="nofollow"</a> geimplementeerd, een erg knappe nieuwe standaard skin, ledenregistratie met account activatie via e-mail, en nog een hele reeks andere aanpassingen, die je kan bekijken in <a href="http://nucleuscms.org/documentation/history.html">het changelog</a></p>
<p>Deze release komt echter niet alleen. <a href="http://www.nucleuscms.org">De website</a> is immers ook in een volledig nieuw en wel h??l erg knap jasje gestoken.</p>
<p>Met dank aan alle ontwikkelaars van Nucleus: <a href="http://demuynck.org">Wouter</a>, <a href="http://roelg.nl/">Roel</a>, <a href="http://xiffy.nl/weblog">Xiffy</a>, <a href="http://edmondhui.homeip.net/blog/">Admun</a>, <a href="http://nupusi.com/">Bert</a>, <a href="http://www.trentadams.com/">Trent</a>, <a href="http://rakaz.nl/">Niels</a>, <a href="http://adrenalinsports.nl">Irmo</a>, <a href="http://wiki.gednet.com/HomePage">Jeff</a>, <a href="http://stanch.net">Ivan</a>, <a href="http://fuckhedz.com">Jef Pober</a>, <a href="http://www.tipos.com.br/">Moraes</a> en <a href="http://forum.nucleuscms.org">de zovele anderen</a></p><p><a href="http://www.nucleuscms.org/download.php"><img src="http://nucleuscms.org/styles/skins/nucleus/img/sidebanner.png" alt="Download Nucleus 3.2!" class="alignRight" /></a>vanavond is <a href="http://www.nucleuscms.org/item/3028">Nucleus 3.2</a> gelanceerd. Verbeteringen zijn onder andere: verbeterde anti-spam functionaliteit, fouten bij formulieren worden nu boven het formulier getoond ipv op een nieuwe pagina, <a href="http://www.google.com/googleblog/2005/01/preventing-comment-spam.html">rel="nofollow"</a> geimplementeerd, een erg knappe nieuwe standaard skin, ledenregistratie met account activatie via e-mail, en nog een hele reeks andere aanpassingen, die je kan bekijken in <a href="http://nucleuscms.org/documentation/history.html">het changelog</a></p>
<p>Deze release komt echter niet alleen. <a href="http://www.nucleuscms.org">De website</a> is immers ook in een volledig nieuw en wel h??l erg knap jasje gestoken.</p>
<p>Met dank aan alle ontwikkelaars van Nucleus: <a href="http://demuynck.org">Wouter</a>, <a href="http://roelg.nl/">Roel</a>, <a href="http://xiffy.nl/weblog">Xiffy</a>, <a href="http://edmondhui.homeip.net/blog/">Admun</a>, <a href="http://nupusi.com/">Bert</a>, <a href="http://www.trentadams.com/">Trent</a>, <a href="http://rakaz.nl/">Niels</a>, <a href="http://adrenalinsports.nl">Irmo</a>, <a href="http://wiki.gednet.com/HomePage">Jeff</a>, <a href="http://stanch.net">Ivan</a>, <a href="http://fuckhedz.com">Jef Pober</a>, <a href="http://www.tipos.com.br/">Moraes</a> en <a href="http://forum.nucleuscms.org">de zovele anderen</a></p>Vanaf nu: dagelijkse nieuwsbrief!2004-08-06T14:33:00+02:002010-12-18T12:31:00+01:00Jeroen Budtstag:budts.be,2004-08-06:/weblog/2004/08/vanaf-nu-dagelijkse-nieuwsbrief<p>Vanaf nu is het mogelijk om dagelijks (rond 10 uur 's morgends) een mailtje te ontvangen met de update van dit blog, zodat je steeds op de hoogte blijft :-)<br />
Inschrijven kan je doen met het formuliertje aan de rechterkant<br /><br /></p>
<p>Als je zelf een weblog hebt dat op Nucleus draait kan je daaraan ook heel makkelijk zo'n nieuwsbrief aan toevoegen. Om deze nieuwsbrief-functionaliteit aan nucleus toe te voegen heb ik de NP_MyNewsletter plugin geschreven. Meer info vind je op <a href="http://wiki.budts.be/NpMyNewsletter">http://wiki.budts.be/NpMyNewsletter</a> en op <a href="http://dev.budts.be/nucleus/news/45">http://dev.budts.be/nucleus/news/45</a> (voor een kort overzicht van de functionaliteit).</p><p>Vanaf nu is het mogelijk om dagelijks (rond 10 uur 's morgends) een mailtje te ontvangen met de update van dit blog, zodat je steeds op de hoogte blijft :-)<br />
Inschrijven kan je doen met het formuliertje aan de rechterkant<br /><br /></p>
<p>Als je zelf een weblog hebt dat op Nucleus draait kan je daaraan ook heel makkelijk zo'n nieuwsbrief aan toevoegen. Om deze nieuwsbrief-functionaliteit aan nucleus toe te voegen heb ik de NP_MyNewsletter plugin geschreven. Meer info vind je op <a href="http://wiki.budts.be/NpMyNewsletter">http://wiki.budts.be/NpMyNewsletter</a> en op <a href="http://dev.budts.be/nucleus/news/45">http://dev.budts.be/nucleus/news/45</a> (voor een kort overzicht van de functionaliteit).</p>Wie leest mijn blog?2004-05-21T14:16:00+02:002010-12-18T12:30:00+01:00Jeroen Budtstag:budts.be,2004-05-21:/weblog/2004/05/wie-leest-mijn-blog<p>(4000/31)<em>0.5 + (1500/100)</em>0.25 = ~100 bezoekers per dag??<br />
<br />
Morgen is mijn <a href="http://wiki.budts.be/NpCounter2">tellertje</a> op mijn blog één maand oud. Als ik dat getalletje moet geloven zou er op een maand tijd 4000 bezoekers op mijn blog geweest zijn. Hier worden wel een hele hoop bots en spider bijgeteld, hoewel de meest bekende er door de plugin wel worden uitgefilterd.<br />
Maar stel dat 50% van de bezoekers in feite bots zijn,
<!--break-->
dan zijn het nog 2000 bezoekers op een maand. Als je dat deelt door 31 komt dat uit op 65 bezoekers per dag. Dat vind ik wel veel, hoewel er veel mensen via google op mijn blog komen.<br />
Verder moet ik de hits op de RSS-feeds nog meetellen. Dat tellertje staat na 10 dagen op ongeveer 1500. Dat zijn dus 150 hits per dag. De feeds worden echter door veel bots opgehaald dus stel dat er daarvan slechts 25% door echte mensen in hun aggregator wordt opgehaald dan zijn dat er nog 38 per dag.<br />
Dat zou …</p><p>(4000/31)<em>0.5 + (1500/100)</em>0.25 = ~100 bezoekers per dag??<br />
<br />
Morgen is mijn <a href="http://wiki.budts.be/NpCounter2">tellertje</a> op mijn blog één maand oud. Als ik dat getalletje moet geloven zou er op een maand tijd 4000 bezoekers op mijn blog geweest zijn. Hier worden wel een hele hoop bots en spider bijgeteld, hoewel de meest bekende er door de plugin wel worden uitgefilterd.<br />
Maar stel dat 50% van de bezoekers in feite bots zijn,
<!--break-->
dan zijn het nog 2000 bezoekers op een maand. Als je dat deelt door 31 komt dat uit op 65 bezoekers per dag. Dat vind ik wel veel, hoewel er veel mensen via google op mijn blog komen.<br />
Verder moet ik de hits op de RSS-feeds nog meetellen. Dat tellertje staat na 10 dagen op ongeveer 1500. Dat zijn dus 150 hits per dag. De feeds worden echter door veel bots opgehaald dus stel dat er daarvan slechts 25% door echte mensen in hun aggregator wordt opgehaald dan zijn dat er nog 38 per dag.<br />
Dat zou dus neerkomen op ongeveer 100 mensen iedere dag die via een website bezoek of vanuit hun aggregator informatie van mijn weblog raadplegen. Dat lijkt mij wel héél veel...</p>NP_Counter2: update naar v0.42004-05-11T23:53:00+02:002010-12-18T12:30:00+01:00Jeroen Budtstag:budts.be,2004-05-11:/weblog/2004/05/np_counter2-update-naar-v04<p><img src="/media/wikimedia/20040422-npcounter2-02.png" alt="screenshot" class="alignLeft" />Ik heb een nieuwe update gemaakt van mijn NP_Counter2 plugin voor <a href="http://nucleuscms.org">Nucleus</a>. Nieuw in versie 0.4:<ul><li>Vanaf nu is er ook een 'feedcounter' waarmee kan geteld worden hoeveel keer de feeds (rss, atom,...) reeds zijn gedownloaded.</li><li>7 extra bots/spiders toegevoegd zodat deze niet meer worden meegeteld</li><li>Vanaf nu is het ook mogelijk om de teller te laten zien zonder dat deze opgehoogd wordt en om de teller op te hogen zonder dat hij wordt weergegeven.</li></ul>Je vind de plugin nog steeds op <a href="http://wiki.budts.be/NpCounter2">http://wiki.budts.be/NpCounter2</a><br /></p><p><img src="/media/wikimedia/20040422-npcounter2-02.png" alt="screenshot" class="alignLeft" />Ik heb een nieuwe update gemaakt van mijn NP_Counter2 plugin voor <a href="http://nucleuscms.org">Nucleus</a>. Nieuw in versie 0.4:<ul><li>Vanaf nu is er ook een 'feedcounter' waarmee kan geteld worden hoeveel keer de feeds (rss, atom,...) reeds zijn gedownloaded.</li><li>7 extra bots/spiders toegevoegd zodat deze niet meer worden meegeteld</li><li>Vanaf nu is het ook mogelijk om de teller te laten zien zonder dat deze opgehoogd wordt en om de teller op te hogen zonder dat hij wordt weergegeven.</li></ul>Je vind de plugin nog steeds op <a href="http://wiki.budts.be/NpCounter2">http://wiki.budts.be/NpCounter2</a><br /></p>