[Imc-oceania] small hack on drupal install to get sydney imc syndicated to imc-oceania site
andy at cat.org.au
andy at cat.org.au
Sat Apr 8 16:32:56 UTC 2006
hi
i made a small hack to sydney's feature feed syndicated properly onto
imc-oceania site
the rss output should be backwards compatible so hopefully other sites
sharing this code arent affected.
sydneys features are now on oceania ;)
andy
patch follows
andy at kahlo:/usr/local/drupal-4.6.6/modules$ diff node.module
node.module.backup
1159d1158
< $extra = array_merge($extra, array(array('key' => 'dc:date',
'value' => date('r', $item->created))));
1174c1173
< $output .= "<rss version=\"". $channel["version"] . "\"
xml:base=\"". $base_url ."\"
xmlns:dc=\"http://purl.org/dc/elements/1.1/\">\n";
---
> $output .= "<rss version=\"". $channel["version"] . "\"
> xml:base=\"". $base_url ."\">\n";
as you can see the original node.module is in a file
node.module.backup, if you need to revert
More information about the Imc-oceania
mailing list