Show others what you've been working on and get feedback. For in-depth case studies, check the case studies section.

Mod'ing the aggregator

I made some simple updates to the aggregator.module and the default xtemplate styles on integrationresearch.org/aggregator and thought I'd share:

The first issue was the handling of date values. The original code admitted (line 434):

** The Dublin core's default data format uses ISO 8601 which can't
      ** be parsed directly using PHP's strtotime().  It is not the only
      ** valid format so this might fail nonetheless ...

I had one feed that indeed used a different format than expected, and all its entries were hence given the current date and time. This put all 15 entries at the top of the page, pushing more relevant/recent entries down. But I noticed that at least the yyyy-mm-dd format at the front of the date field was consistent, so I added this bit of code to grab just the date, and assigned it 00:00:00 time. I don't know how many feeds this will "fix," but it worked for the feed in question and I bet it will for others that "break" the date formatter as well. Addition in bold:

if ($timestamp < 0) {
/*
** The Dublin core's default data format uses ISO 8601 which can't
** be parsed directly using PHP's strtotime(). It is not the only
** valid format so this might fail nonetheless ...
*/
list($year, $month, $day, $hour, $minute, $second) = sscanf($date, "%4d-%2d-%2dT%2d:%2d:%2d");

A new Drupal Site - A-Cappella.it

Hi all,
I'm very proud to present my first Drupal site: A-cappella.it.
It is a kind of yellow-pages on a-cappella singing, dedicated to all enthusiats of this singing genre.

It is a Drupal 4.4 system on apache/Linux, where registered users can post their contents, and share the info with others in a well-categorized way (taxonomy is GREAT !!)

Community Theatre Project

We're an on-going long-term community theatre production in Malaysia and have begun using Drupal. Our cast and crew blog on it and we hope to document the entire production process.

Our premiere is on 16 June 2004, and will feature dance, music, video, and fashion.

If any Drupal expert is interested in helping us optimize our site by providing suggestions, or even working on our back-end, we'd be VERY happy to have you along on our journey.

MySQL Backup Tool Site powered by Drupal!

Just to let you people know that the project page of my AMBT project uses Drupal.

http://ambt.sourceforge.net

Of course, the MySQL Backup Tool may be useful for quite a few Drupal users ;-). Check out the site, and keep an eye on development.

Cheers!

Pages

Subscribe with RSS Subscribe to RSS - Show off your Drupal site