Wordpress archive

Articles on the Expression Engine blogging system.

Connecting to an external database from within a Wordpress post

For the article I wrote recently on web design galleries, I compiled a table of the galleries in a MySQL database. To be able to display the table and the associated charts and other statistics that went with it, I needed to be able to connect to this external database from within Wordpress.

More on Connecting to an external database from within a Wordpress post

Catching content copiers with Wordpress

I recently had one of the articles from this site copied and posted on someone else’s site (a practice sometimes also known as site scraping). But thanks to a couple of Wordpress’ in-built features and also a handy plugin, I soon found about it.

More on Catching content copiers with Wordpress

Content negotiation

Content-Negotiation is a mechanism defined in the HTTP specification that makes possible to serve different “versions” of a document (or more generally of a resource) at the same URL, so that user agents can choose which version fit their capacities the best. W3C

More on Content negotiation

User-defined accesskeys

This site enables users to define their own accesskeys. The PHP script that does the work comes courtesy of Dan Champion at Blether. Dan’s article on how to use the script is fairly straight-foward except that when combined with a Wordpress site, a couple of modifications are required.

More on User-defined accesskeys