PHP Tidy 包替代品

发布于 2025-01-04 23:32:22 字数 100 浏览 1 评论 0原文

我有一个 PHP 脚本,它加载 rss 提要,通过 Tidy 解析它(以创建对象),然后像数组一样进行扫描以获取所有值。但我正在移动服务器,而新服务器没有安装 Tidy。还有其他选择吗?

I have a PHP Script that loads an rss feed, parses it through Tidy (to create the object) then gets scanned through like an array to get all the values. But I am moving servers, and the new server doesn't have Tidy installed. Are there any alternatives?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

从来不烧饼 2025-01-11 23:32:22

您可以尝试htmLawed——小而快,不需要PHP 扩展

You can try htmLawed -- small and fast and doesn't require a PHP extension

海未深 2025-01-11 23:32:22

Google 搜索“php parse rss”(去掉双引号),您会发现 PHP 中有很多库可以解析 RSS 提要。随你挑选。

以下是一些:

RSS PHP

喜鹊RSS

Google for "php parse rss" (less the double quotes) and you'll find lots of libraries in PHP to parse an RSS feed. Take your pick.

Here are a few:

RSS PHP

Magpie RSS

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文