主な質問

    entry as $item) { $link = (string)$item->link->attributes()->href; // $link = mb_convert_encoding($link, "SJIS", "auto"); $title = (string)$item->title; // $title = mb_convert_encoding($title, "SJIS", "auto"); $description = (string)$item->description; $pubDate = (string)$item->published; $pubdate = date("Y年m月d日", strtotime($pubDate)); // $pubdate = mb_convert_encoding($pubdate, "SJIS", "auto"); echo "
  • $title-($pubdate)
  • \n"; } //確認 //var_dump($data); ?>