Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/231.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 在我通过dlvr.it向Twitter发送的RSS提要中包含图像_Php_Twitter_Rss - Fatal编程技术网

Php 在我通过dlvr.it向Twitter发送的RSS提要中包含图像

Php 在我通过dlvr.it向Twitter发送的RSS提要中包含图像,php,twitter,rss,Php,Twitter,Rss,我有一个feed,我计划使用dlvr交付。它每6小时一次。它包含潮汐时间和一个简短的冲浪报告。我还想包括我们网络摄像头的最新图像。这是我的RSS提要的更新版本,包含了图片URL,但Twitter没有接收到图片 这是包含图像标签的提要 <?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xml:base="http://www.gowerlive.co.uk/twitterfeed-mumbles.php" xmlns

我有一个feed,我计划使用dlvr交付。它每6小时一次。它包含潮汐时间和一个简短的冲浪报告。我还想包括我们网络摄像头的最新图像。这是我的RSS提要的更新版本,包含了图片URL,但Twitter没有接收到图片

这是包含图像标签的提要

<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xml:base="http://www.gowerlive.co.uk/twitterfeed-mumbles.php" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel>
<title>Mumbles.co.uk</title>
<link>http://www.mumbles.co.uk</link>
<description>The Definitive Guide to Mumbles</description>
<language>en</language>
<item>
<title>Tide Times for Mumbles</title>
<link>http://www.mumbles.co.uk/</link>
<description>Todays tides:L02:04 H08:21 L14:23 H20:42. @ 16:00 the buoy was 4ft@6secs | Wind:gentle SW@9mph. Visit http://www.mumbles.co.uk</description>
<image>
<url>http://www.gowerlive.co.uk/netcam.jpg</url>
<title>Langland Bay</title>
<link>http://www.gowerlive.co.uk/webcams/langland-webcam</link>
</image> 
<pubDate>Wed, 6 Jun 2012 16:34:00 GMT</pubDate>
<dc:creator>Mumbles.co.uk</dc:creator>
<guid isPermaLink='false'>Wed, 6 Jun 2012 16:34:00 GMT</guid>
</item>
</channel>
</rss>
谢谢


Lee

您目前如何称呼该图像?或者,如果图像与描述不匹配,则从何处提取图像?每隔几分钟,图像会通过FTP发送到服务器,旧图像会被覆盖,但具有相同的文件名。我可以在上面的XML中添加另一个元素,其中包含指向的URL,但我不知道该如何称呼它,也找不到任何文档?