include_once('config.php');
include_once(INSTALL_PATH.'/DBRecord.class.php');
+include_once(INSTALL_PATH.'/reclib.php');
try {
mysql_query( $sqlstr );
foreach( $recs as $rec ) {
+ $title = $rec->title."(".date("Y/m/d", toTimestamp($rec->starttime)).")";
$sqlstr = "update mt_cds_object set metadata='dc:description=".$rec->description."' where dc_title='".$rec->path."'";
mysql_query( $sqlstr );
- $sqlstr = "update mt_cds_object set dc_title='".$rec->title."' where dc_title='".$rec->path."'";
+ $sqlstr = "update mt_cds_object set dc_title='".$title."' where dc_title='".$rec->path."'";
mysql_query( $sqlstr );
}
}