[geeklog-cvs] Geeklog-1.x/plugins/staticpages services.inc.php, 1.12, 1.13
Dirk Haun
dhaun at qs1489.pair.com
Mon Jul 28 15:35:49 EDT 2008
Update of /cvsroot/geeklog/Geeklog-1.x/plugins/staticpages
In directory qs1489.pair.com:/tmp/cvs-serv13199/plugins/staticpages
Modified Files:
services.inc.php
Log Message:
Use <atom:published>. Thanks to Daniel Jalkut for the reminder ...
Index: services.inc.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/staticpages/services.inc.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** services.inc.php 28 Jun 2008 21:20:34 -0000 1.12
--- services.inc.php 28 Jul 2008 19:35:46 -0000 1.13
***************
*** 567,570 ****
--- 567,571 ----
// This date format is PHP 5 only,
// but only the web-service uses the value
+ $output['published'] = date('c', strtotime($output['sp_date']));
$output['updated'] = date('c', strtotime($output['sp_date']));
$output['id'] = $page;
***************
*** 623,626 ****
--- 624,628 ----
if($args['gl_svc']) {
// This date format is PHP 5 only, but only the web-service uses the value
+ $output_item['published'] = date('c', strtotime($output_item['sp_date']));
$output_item['updated'] = date('c', strtotime($output_item['sp_date']));
$output_item['id'] = $output_item['sp_id'];
More information about the geeklog-cvs
mailing list