使用PHP rss阅读器访问博客中的图像

使用PHP rss阅读器访问博客中的图像,php,image,rss,Php,Image,Rss,我正在尝试在PHP5中构建一个门户。我想通过RSS阅读器访问给定博客URL中的图像 我可以访问博客的内容,但无法获取图像。要访问图像的url,必须在item元素中查找图像元素 <image> <url>http://www.w3schools.com/images/logo.gif</url> <title>W3Schools.com</title> <link>http://www.w3schoo

我正在尝试在PHP5中构建一个门户。我想通过RSS阅读器访问给定博客URL中的图像


我可以访问博客的内容,但无法获取图像。

要访问图像的url,必须在item元素中查找图像元素

 <image>
    <url>http://www.w3schools.com/images/logo.gif</url>
    <title>W3Schools.com</title>
    <link>http://www.w3schools.com</link>
  </image>

http://www.w3schools.com/images/logo.gif
W3Schools.com
http://www.w3schools.com
以下是完整的示例:

<channel>
  <title>W3Schools Home Page</title>
  <link>http://www.w3schools.com</link>
  <description>Free web building tutorials</description>
  <image>
    <url>http://www.w3schools.com/images/logo.gif</url>
    <title>W3Schools.com</title>
    <link>http://www.w3schools.com</link>
  </image>
  <item>
    <title>RSS Tutorial</title>
    <link>http://www.w3schools.com/rss</link>
    <description>New RSS tutorial on W3Schools</description>
  </item>
</channel>

W3学校主页
http://www.w3schools.com
免费网页建设教程
http://www.w3schools.com/images/logo.gif
W3Schools.com
http://www.w3schools.com
RSS教程
http://www.w3schools.com/rss
新的学校RSS教程

如果RSS源不包含图像元素,则RSS提供商将不会在RSS中发送相关图像。

您所说的“访问图像”是什么意思?非常感谢您的输入。我如何才能获得在线提供图像的博客的输入。例如:-