搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

how to show RSS in an iframe or div?

  • 2 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 WaxyChicken

more options

I'm writing my own hard drive HTML for my homepage and need to disable the RSS XML Live Bookmarks prompt so that i can display the feed in an iFrame or DIV.

I do NOT need instructions about how to "view source" from the menu, only how to disable the Live Bookmarks subscription HTML prompt.

I'm writing my own hard drive HTML for my homepage and need to disable the RSS XML Live Bookmarks prompt so that i can display the feed in an iFrame or DIV. I do NOT need instructions about how to "view source" from the menu, only how to disable the Live Bookmarks subscription HTML prompt.

被采纳的解决方案

Still the easiest way that I can think of is to use the view-source protocol.

Maybe you can load that page code via an XMLHttpRequest.

A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.

The helpers at that forum are more knowledgeable about web development issues.
You need to register at the MozillaZine forum site in order to post at that forum.


<html><head><title>IFRAME</title></head><body>
<p id="p1">
<a href="#pHRF">http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml#</a>
</p>
<iframe id="f1" src="view-source:http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml#" height="95%" width="100%">
</iframe>
</body></html>

(I will lock previous thread about this subject)

定位到答案原位置 👍 0

所有回复 (2)

more options

选择的解决方案

Still the easiest way that I can think of is to use the view-source protocol.

Maybe you can load that page code via an XMLHttpRequest.

A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.

The helpers at that forum are more knowledgeable about web development issues.
You need to register at the MozillaZine forum site in order to post at that forum.


<html><head><title>IFRAME</title></head><body>
<p id="p1">
<a href="#pHRF">http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml#</a>
</p>
<iframe id="f1" src="view-source:http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml#" height="95%" width="100%">
</iframe>
</body></html>

(I will lock previous thread about this subject)

由cor-el于修改

more options

Thanks Corel! you came through for me! :)