Drupal 6 XML Sitemap for Nodes
Posted: Fri 05/02/2008 by ramiroAfter upgrading to Drupal 6 I opted for a quick and dirty XML sitemap approach. Before I was using the XML Sitemap module which is currently available for Drupal 6 as a development snapshot or directly from CVS. The module offers settings for priority and change frequency. Moreover the module allows for adding taxonomy term and user URLs to the sitemap.
I only wanted nodes and the front page to appear in the sitemap's XML output without priority or change frequency information. Having the path and pathauto modules enabled, which ensure that every node gets a meaningful and search engine friendly URL, a simple database query joining two tables is enough to get the necessary data for all published nodes.
Creating Amazon Ads that Rock with jQuery and PHP
Posted: Mon 08/06/2007 by ramiroAre you sick of annoying ads that take up large parts of the screen, pop up, under or anywhere else, move around, blink and flash? You want to learn how to create ads that rock with a few lines of simple JavaScript and PHP code? Then let me show you how.
Amazon Wish Lists with SimpleXML
Posted: Wed 07/18/2007 by ramiroI recently upgraded my server to PHP5. One of the reasons was to do more development using Web services, that often return data in XML format. Parsing XML with the PHP4 XML Parser Functions can be a very tedious task, especially when the structure of the XML document is complex. Usually you need to write event handler functions for starting and closing elements and for the actual data.
Server Upgrade: PHP5 MySQL5 eAccelerator
Posted: Fri 07/13/2007 by ramiroWhat a coincidence, I just upgraded my server to PHP5 to be able to use the PHP5 SimpleXML functions for less painstaking processing of Web services data returned as XML and now I read that PHP4 is sentenced to death. After December 31st, 2007 there will be no more releases of PHP 4.4 and after August, 8th, 2008 no more security updates.
You can find the official announcement on php.net. It's time to go PHP5. I took this opportunity to also install eAccelerator on Debian. This website is lightning fast now :D
Parsing Yahoo Pipes JSON Feeds with jQuery
Posted: Sat 07/07/2007 by ramiroIn this article I describe how you can parse and display Yahoo Pipes data returned as a JSON feed. Yahoo Pipes can be used as a data aggregator that lets you mashup online data sources, such as RSS feeds. To learn more about Yahoo Pipes and how to create them you can watch this video on how Yahoo Pipes work.