Web

WordPress pagination test

This is just a test post to test pagination in WordPress. Pagination is unfortunately a function that not all theme creators implement. You can paginate by using the <!–nextpage–> Quicktag. More information about wordpress pagination can be found in WordPress documentation http://codex.wordpress.org/Template_Tags/wp_link_pages.

Read More
Linux

Make your blogs RSS feed mobile phone friendly

By using the Google Reader you can make your RSS feed mobile/cellular phone friendly and easy to read. All you need to do is add you RSS feed address to the end of this address http://www.google.com/reader/m/view/feed/[you RSS feed address] Example http://www.google.com/reader/m/view/feed//feed/ Result The RSS feed links are clickable and you can continue reading them in […]

Read More
Web

Shortening Apache Configs using mod_macro

It is possible to use macros in the Apache config files to shorten them and make them easier to read and manage. To use this you have to install mod_macro if it’s not already installed in your distribution. Sample mod_macro usage <Macro VHost $customer $domain> <VirtualHost $domain:80> ServerName $domain ServerAlias www.$domain DocumentRoot /vaw/www/$customer/htdocs/$domain/ ScriptAlias /cgi-bin/ […]

Read More
Scripting

Updating WordPress using a bash script

If you have shell access to your webserver this script can be used to upgrade your WordPress installation to the latest version quickly. Always remeber to backup your database and installation files before running it! Do change the bold text to reflect your WordPress Internet address before you run the script. #!/bin/bash CURDIR=$(pwd) SITE=”http://yoursite.com/wordpress” echo […]

Read More
Web

Premailer: preflight for HTML e-mail

Premailer is a script accessible from the web that turns external CSS webpage into inline, improving the rendering of HTML e-mail. This makes it possible to make a webpage and then run it througt this script to make a HTML e-mail.

Read More