猫の本
$name = $Hit->Name;
$description = $Hit->Description;
$url = $Hit->Url;
$small = $Hit->Image->Small;
$medium = $Hit->Image->Medium;
$price = $Hit->Price;
//文字数を指定して抜き出す 100文字以上なら・・・を追加する
$content = mb_substr($description,0,100);
if( mb_strlen($description)>100){ $content .= ‘・・・’; }
print <<< page
page;
}
?>