我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

如何在PHP中将RSS HTML转换为XML? [关闭]

I am taking RSS feeds from a website and they are giving me RSS in HTML but I want to convert it to XML using PHP to use it somewhere else as well.

Can anyone help me with this? Thanks in advance.

There's no such thing as an RSS feed in HTML. RSS is defined in an XML format, so anything you see is your browser rendering it in human-readable form.

You can use any of the PHP XML parsers to do what you're looking for.

近期文章

  • 打印数组数组的数组
  • 相同的代码,但不是两个中的一个?
  • 如何在Jquery请求期间从php运行Javascript函数?
  • 获取用户是管理员的页面
  • 使用C#.NET进行Web开发的好处[关闭]
  • Bug json解码API
  • PHP更改Color CSS
  • <?php被切断之后的所有内容[复制]
  • 每当用户登录网站时如何不断更新我的网页[关闭]
  • 仅在特定页面上加载脚本
  • sql group by days,但是从某个小时开始
  • 将laravel项目从现场搬到当地
  • 我如何在Windows上使用neo4j与php?
  • 我应该把模型创建代码放在哪里? [关闭]
  • 从PHP中的URL获取人类可读的字符串[关闭]
  • fgetcsv错误地解释数字[关闭]
  • 将数组分隔为逗号分隔的字符串
  • php - 屏蔽电话号码,无论长度如何
  • 显示特定日期尽可能交货日
  • 如何用mysqli对多维数组中的所有行值求和?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华