define('MAGPIE_OUTPUT_ENCODING' , 'UTF-8');
require_once 'rss_fetch.inc';
include_once 'rss_utils.inc';
$url = 'http://nanbanya.blog77.fc2.com/?xml';
$url2 = 'http://www.h-tsujiguchi.jp/blog/rss/index.rdf';
$rss = fetch_rss($url);
$rss2 = fetch_rss($url2);
?>
備長炭焙煎珈琲 南蛮屋 樹(いつき)調布店・下高井戸店 ホームページ
//$dateをm/d(日本語曜日)の形式で返します
function formatJpDateSjis($date){
$d = split("-",$date );
$i = date("D",mktime(0,0,0,$d[1],$d[2],$d[0]));
if($i == "Mon"){
$youbi = "月";
}else if($i == "Tue"){
$youbi = "火";
}else if($i == "Wed"){
$youbi = "水";
}else if($i == "Thu"){
$youbi = "木";
}else if($i == "Fri"){
$youbi = "金";
}else if($i == "Sat"){
$youbi = "土";
}else if($i == "Sun"){
$youbi = "日";
}
//if(syukujitu($d[0]."-".$d[1]."-".$d[2])){$youbi.="・祝";}
return (int)$d[0]."年".(int)$d[1]."月".(int)$d[2]."日(". $youbi.")" ;
}
?>