Patrick's Blog
OpenWrt on a Linksys WRT54G
September 27th, 2005Update: I decided to move this article from the blog to its own page, as I guess there are a lot of people interested in this article. You can find it here.
Update 2: I’ve just added some links, which helped me a lot installing and configuring OpenWrt on my router. You can find them here.
Posted in linux | Comments Off
New PGP public key
September 8th, 2005I just generated a new PGP public key. You can find it here.
Posted in website | Comments Off
Integrate WordPress blog into your website
September 5th, 2005As I reported two days ago, the news on galaxysoft.ch are now dynamically created from my WordPress blog. I’d like to share the small script I’ve written for this purpose. The blog class: blog aggregation class.
To use this you need PHP 5. The function grabRSS can then be called e.g. by grabRSS("http://www.example.com/blog/wp-feed.php", 5) to get the latest 5 entries of the WordPress blog located at www.example.com. Instead of just echo”ing the blog entries I decided to save them in an instance of the class BlogEntry and then to return an array of BlogEntry‘s. You can then for example use a Smarty template to really show them on your website.
Where I assigned the array the function grabRSS returned to the Smarty variable $WEBSITE_NEWS.
Posted in website | Comments Off
Blog online
September 3rd, 2005I now installed the excellent blog software from WordPress. I don’t plan to use this blog to post about my personal life, but rather for publishing smaller code snippets or post news related to this website. The news section on the index is now dynamically generated from the latest blog entries.
Posted in website | Comments Off
New website partially online
September 2nd, 2005The new website is now finally online (at least the important parts). Improvements include: a better PHP/Smarty codebase, a new webhoster, PHP 5 and a new design. I hope with the site now up and running, I can provide updates more often. Smaller things of the page are still in development (e.g. the logo or the index), but I hope I can finalize this remaining parts in the next few days.
Posted in website | Comments Off