Tag Archives: api

Get Child Categories of Parent Category on Single Post in Wordpress

I was hoping to find a function in the Wordpress API, that goes something like this… the_child_categories("Vermont"); // print Burlington, Brattleboro... etc if this post has any child categories of Vermont But I could not. The result that I did find, from various forums goes something like this… $parentcat = get_category_by_slug('Vermont'); foreach((get_the_category()) as $childcat): [...]
Posted in Programming, Wordpress | Also tagged , , , , | 2 Comments

My Review of Moodle 1.9 Extension Development

I wrote a review for Joseph Thibault’s Moodle News on extension development for Moodle. The book is quite good and I think an essential resource for anyone wanting to develop in Moodle. The book focuses on plugin development, but it will also give you an overview of the architecture, api and best practices. I [...]
Posted in Programming | Also tagged , , , , | Leave a comment

Updating Your Twitter Status with cURL and a Bash Function

I’m usually at the command line so I wrote a little a bash function so that i can type tweet this is really neat but kind of pointless and it will update my twitter status! some characters trip it up but in general it’s useful for most of my tweets. The tweet function just spits out the [...]
Posted in Linux, mac os x | Also tagged , , | Leave a comment

Ruby on Rails, jQuery and YUI API Docs Available as Mac OS X Dictionary Binaries

I came across an awesome tool this morning. Priit Haamer has chunked Ruby on Rails, jQuery, and some of YUI documentation into native Mac OS X dictionary binaries. This lets you search those API docs from Spotlight, TextMate, any application that uses the dictionary app! I have tested the Ruby on Rails API within TextMate. [...]
Posted in Documentation | Also tagged , , , , , | Leave a comment