saintx adlı üyeden alıntı: mesajı görüntüle
<?php
	
	$base = "http://www.diyanet.gov.tr/";
	
	$url = "http://www.diyanet.gov.tr/tr/icerik/duyuru";
	
	$response = file_get_contents($url);
	
	$results = array();
	
	if(strlen($response) > 0) {
		$list = preg_match("#\<div\sclass\=\"list\"\>(.*?)\<div\sclass\=\"paging\"\>#si", $response, $matches) ? end($matches) : null;
		
		if(!is_null($list)) {
			$items = preg_match_all("#\<div\sclass\=\"listitem\"\>(.*?)href\=\"(.*?)\"(.*?)src\=\"(.*?)\"(.*?)\<p\>(.*?)\<\/p\>(.*?)\<\/div\>#si", $list, $matches) ? array($matches[2], $matches[4], $matches[6]) : null;
			
			if(!is_null($items)) {
				foreach(end($items) as $key => $value) {
					$item = (object) array(
						"href" => null,
						"src" => null,
						"p" => null
					);
					
					$item->href = $base . "tr/icerik" . $items[0][$key];
					$item->src = $base . ltrim($items[1][$key], "/");
					$item->p = preg_match("#\<span\>(.*?)\<\/span\>#si", html_entity_decode(trim($items[2][$key])), $matches) ? trim(end($matches)) : null;
					
					$results[] = $item;
					
					unset($item);
				}
			}
		}
	}?>
üstadım bu şekilde dediğiniz gibi değiştirdim ama hiç veri almadı

adres: http://bozyazimuftulugu.gov.tr/deneme2.php