0
Wordpress RSS 피드를로드하여 PHP의 다른 웹 사이트에 삽입하십시오.Wordpress에서 simplexml_load_file의 데이터가 누락되었습니다.
simplexml_load_file('http://blog.sporttoury.com/feed');
하지만 게시물의 이미지, 카테고리 또는 텍스트를 가져올 수 없습니다.
SimpleXMLElement {#955 ▼
+"title": "Website. Description of the website"
+"link": "http://blog.website.com/liktothepost"
+"pubDate": "Fri, 17 Feb 2017 07:56:43 +0000"
+"category": SimpleXMLElement {#1131}
+"guid": "http://blog.website.com/?p=400"
+"description": SimpleXMLElement {#953}
}
무엇이 잘못 되었습니까?