我在我的网站中使用了以下指向 RSS Feed 的链接: http://net.tutsplus.com/articles/news/how-to-build-a-super-duper-news-scroller/
实际上,这个链接非常好。但是我在自定义 RSS Feed 大小以使其适合我的网站时遇到了问题。 我想从 http://www.ted.com/ 获取 RSS 我添加了以下链接作为 RSS Feed 的来源:
$feed = new SimplePie('http://feeds.feedburner.com/TEDTalks_video');
我做的一切都正确,但我现在的问题是当我将 CSS 文件修改为以下内容时:
#widget { overflow: hidden; background: #e3e3e3; padding: 1em; border: 1px solid #c5c5c5; height: 300px; /* You should adjust this height for your project. */ width: 300px; position: relative; float: left; min-width: 210px; -moz-border-radius-bottomright: 10px; }
我无法完全从 RSS 源获取图像和标题。 我不会,所以请帮助我。
最佳答案
自定义提交RSS,http://www.submit-rss.com/download.html :)
关于php - 在我的网站中自定义 RSS 提要,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5849292/