Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

how to show RSS in an iframe or div?

  • 2 svar
  • 1 har detta problem
  • 34 visningar
  • Senaste svar av 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.

Vald lösning

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)

Läs svaret i sitt sammanhang 👍 0

Alla svar (2)

more options

Vald lösning

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)

Ändrad av cor-el

more options

Thanks Corel! you came through for me! :)