我正在使用 InstaPaper API
我正在使用这个字符串来提取文章的内容。
$Bookmark_Text = $connection->getBookmarkText($Bookmark['bookmark_id']);
不幸的是,它拉动了整个 html,基本上把 HTML 结构放在了我的 HTML 中。
例子。
<html>
<head></head>
<body>
<html>
<head>Instapaper Title</head>
<body>InstaPaper Article Content</body>
</html>
</body>
</html>
关于如何获取“Instapaper 文章内容”的任何想法
谢谢!