Category Archives: Code

Tech Note: Cloudbusting

My blog runs on a piece of software called WordPress. I love WordPress; it’s well designed, easy to use, easy to maintain. It’s good for serving blogs but it’s also great for creating small simple web sites. I’ve recommended it … Continue reading

Posted in Computers, Software, Wordpress | Tagged , , | Leave a comment

Twitter and Facebook Have Not Killed Their RSS Feeds, Completely

Yesterday there was a fuss about alarming news that Facebook and Twitter had both killed off their RSS feeds (“completely”). This led to much hand-wringing, name-calling and gnashing-of-teeth.

Posted in Code, Computers | Tagged , , , | Leave a comment

Getting Around Same-Origin Policy in Web Browsers

Web browsers enforce a security policy called “Same Origin Policy” in order to protect their users from attacks by malicious web sites. The “Same Origin” policy requires that any attempt by Javascript on a web page to access a web … Continue reading

Posted in Ajax, Code, Security | Tagged , , , , , , , | 2 Comments

Nutrition Labels for WordPress

Download I’ve just released a plugin for WordPress, wp-nutrition-label. It provides a WordPress shortcode which generates an HTML FDA-style nutrition label. For instance,

Posted in Code, Wordpress | Leave a comment

How to Quote a Shortcode in WordPress

WordPress offers a handy mechanism called a “shortcode”, which is a kind of macro. Shortcodes are supplied by WordPress itself and by plugins that extend WordPress’ functionality. You use a shortcode by simply writing it in your post or page … Continue reading

Posted in Code, Wordpress | Leave a comment