titles[0]; $record["summary"] = $z->abstract_note; $record["content"] = $z->content_note; $record["url"] = $z->link_url; $record["logo_url"] = $z->thumbnail_url; $query = "select distinct date_import from entrepot_source_".$z->source_id." where recid=".$item; $result = pmb_mysql_query($query,$dbh); if ($result) { $row = pmb_mysql_fetch_object($result); $record["publication_date"] = $row->date_import; } $record["descriptors"] = array(); $record["tags"] = array(); $records[] = $record; } } } return $records; } public function get_available_selectors(){ global $msg; return array( "docwatch_selector_external_sources" => $msg['dsi_docwatch_selector_external_sources'] ); } } // end of docwatch_datasource_external_sources