【发布时间】:2011-02-18 14:41:19
【问题描述】:
我正在使用readability 的代码从网页中提取 HTML。如何在页面上显示?
$content = grabArticle($webpage);
echo $content;
ERROR => Object of class DOMElement could not be converted to string...
【问题讨论】:
-
你想展示什么?元素的内容?标签名称?包含元素的 HTML?