Frontpage - inserting an RSS feed

J

jd-Seacoast

I would like to show an RSS feed from Weather.com. They provide the code
such as the following, but it doesn't actually display when I insert it into
the HTML area of my web page. Does anyone know how to display and RSS feed
in FrontPage like this?

I'm new to RSS, so I'm probably missing something important.

Here's the code Weather.com generated:

<div id="wx_module_3788">
<a href="http://www.weather.com/weather/local/03833">Exeter Weather
Forecast, NH (03833)</a>
</div>

<script type="text/javascript">

/* Locations can be edited manually by updating 'wx_locID' below. Please
also update */
/* the location name and link in the above div (wx_module) to reflect any
changes made. */
var wx_locID = '03833';

/* If you are editing locations manually and are adding multiple modules
to one page, each */
/* module must have a unique div id. Please append a unique # to the div
above, as well */
/* as the one referenced just below. If you use the builder to create
individual modules */
/* you will not need to edit these parameters. */
var wx_targetDiv = 'wx_module_3788';

/* Please do not change the configuration value [wx_config] manually -
your module */
/* will no longer function if you do. If at any time you wish to modify
this */
/* configuration please use the graphical configuration tool found at */
/* https://registration.weather.com/ursa/wow/step2 */
var
wx_config='SZ=180x150*WX=FHW*LNK=SSNL*UNT=F*BGI=boat*MAP=null|null*DN=Seacoasthospice.org*TIER=0*PID=1044942963*MD5=f4c8dbd580f0dffda188e7209bd5232a';

document.write('<scr'+'ipt
src="'+document.location.protocol+'//wow.weather.com/weather/wow/module/'+wx_locID+'?config='+wx_config+'&proto='+document.location.protocol+'&target='+wx_targetDiv+'"></scr'+'ipt>');
</script>
 
T

Trevor Lawrence

I was a bit curious, so I pasted the code into a new file - I named it
test.html

It opened perfectly and displayed a weather report - for Exeter, I assume.

Of course, it is not a complete html file, but the defaults assumed by IE6
enabled it to work OK

I wonder. Are you using the Code or HTML view in FP?
 
J

jd-Seacoast

I put this in the code on my home page, within a section of a table.

Hmmm, I tried creating a Test.html file and just inserting the code in there
- that didn't seem to show anything but the code in Preview.

Trevor Lawrence said:
I was a bit curious, so I pasted the code into a new file - I named it
test.html

It opened perfectly and displayed a weather report - for Exeter, I assume.

Of course, it is not a complete html file, but the defaults assumed by IE6
enabled it to work OK

I wonder. Are you using the Code or HTML view in FP?
--
Trevor Lawrence
Canberra
Microsoft MVP - FrontPage
MVP Web Site http://trevorl.mvps.org





jd-Seacoast said:
I would like to show an RSS feed from Weather.com. They provide the code
such as the following, but it doesn't actually display when I insert it
into
the HTML area of my web page. Does anyone know how to display and RSS
feed
in FrontPage like this?

I'm new to RSS, so I'm probably missing something important.

Here's the code Weather.com generated:

<div id="wx_module_3788">
<a href="http://www.weather.com/weather/local/03833">Exeter Weather
Forecast, NH (03833)</a>
</div>

<script type="text/javascript">

/* Locations can be edited manually by updating 'wx_locID' below.
Please
also update */
/* the location name and link in the above div (wx_module) to reflect
any
changes made. */
var wx_locID = '03833';

/* If you are editing locations manually and are adding multiple modules
to one page, each */
/* module must have a unique div id. Please append a unique # to the
div
above, as well */
/* as the one referenced just below. If you use the builder to create
individual modules */
/* you will not need to edit these parameters. */
var wx_targetDiv = 'wx_module_3788';

/* Please do not change the configuration value [wx_config] manually -
your module */
/* will no longer function if you do. If at any time you wish to modify
this */
/* configuration please use the graphical configuration tool found at */
/* https://registration.weather.com/ursa/wow/step2 */
var
wx_config='SZ=180x150*WX=FHW*LNK=SSNL*UNT=F*BGI=boat*MAP=null|null*DN=Seacoasthospice.org*TIER=0*PID=1044942963*MD5=f4c8dbd580f0dffda188e7209bd5232a';

document.write('<scr'+'ipt
src="'+document.location.protocol+'//wow.weather.com/weather/wow/module/'+wx_locID+'?config='+wx_config+'&proto='+document.location.protocol+'&target='+wx_targetDiv+'"></scr'+'ipt>');
</script>
 
T

Thomas A. Rowe

Use Preview in Browser, not the Preview tab

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


jd-Seacoast said:
I put this in the code on my home page, within a section of a table.

Hmmm, I tried creating a Test.html file and just inserting the code in there
- that didn't seem to show anything but the code in Preview.

Trevor Lawrence said:
I was a bit curious, so I pasted the code into a new file - I named it
test.html

It opened perfectly and displayed a weather report - for Exeter, I assume.

Of course, it is not a complete html file, but the defaults assumed by IE6
enabled it to work OK

I wonder. Are you using the Code or HTML view in FP?
--
Trevor Lawrence
Canberra
Microsoft MVP - FrontPage
MVP Web Site http://trevorl.mvps.org





jd-Seacoast said:
I would like to show an RSS feed from Weather.com. They provide the code
such as the following, but it doesn't actually display when I insert it
into
the HTML area of my web page. Does anyone know how to display and RSS
feed
in FrontPage like this?

I'm new to RSS, so I'm probably missing something important.

Here's the code Weather.com generated:

<div id="wx_module_3788">
<a href="http://www.weather.com/weather/local/03833">Exeter Weather
Forecast, NH (03833)</a>
</div>

<script type="text/javascript">

/* Locations can be edited manually by updating 'wx_locID' below.
Please
also update */
/* the location name and link in the above div (wx_module) to reflect
any
changes made. */
var wx_locID = '03833';

/* If you are editing locations manually and are adding multiple modules
to one page, each */
/* module must have a unique div id. Please append a unique # to the
div
above, as well */
/* as the one referenced just below. If you use the builder to create
individual modules */
/* you will not need to edit these parameters. */
var wx_targetDiv = 'wx_module_3788';

/* Please do not change the configuration value [wx_config] manually -
your module */
/* will no longer function if you do. If at any time you wish to modify
this */
/* configuration please use the graphical configuration tool found at */
/* https://registration.weather.com/ursa/wow/step2 */
var
wx_config='SZ=180x150*WX=FHW*LNK=SSNL*UNT=F*BGI=boat*MAP=null|null*DN=Seacoasthospice.org*TIER=0*PID=1044942963*MD5=f4c8dbd580f0dffda188e7209bd5232a';

document.write('<scr'+'ipt
src="'+document.location.protocol+'//wow.weather.com/weather/wow/module/'+wx_locID+'?config='+wx_config+'&proto='+document.location.protocol+'&target='+wx_targetDiv+'"></scr'+'ipt>');
</script>
 
J

jd-Seacoast

Thanks for your help! I'm almost there... I can see the hyperlink when I
preview it, but I can't see the actual weather. Users would need to click on
the hyperlink.

Thomas A. Rowe said:
Use Preview in Browser, not the Preview tab

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


jd-Seacoast said:
I put this in the code on my home page, within a section of a table.

Hmmm, I tried creating a Test.html file and just inserting the code in there
- that didn't seem to show anything but the code in Preview.

Trevor Lawrence said:
I was a bit curious, so I pasted the code into a new file - I named it
test.html

It opened perfectly and displayed a weather report - for Exeter, I assume.

Of course, it is not a complete html file, but the defaults assumed by IE6
enabled it to work OK

I wonder. Are you using the Code or HTML view in FP?
--
Trevor Lawrence
Canberra
Microsoft MVP - FrontPage
MVP Web Site http://trevorl.mvps.org





I would like to show an RSS feed from Weather.com. They provide the code
such as the following, but it doesn't actually display when I insert it
into
the HTML area of my web page. Does anyone know how to display and RSS
feed
in FrontPage like this?

I'm new to RSS, so I'm probably missing something important.

Here's the code Weather.com generated:

<div id="wx_module_3788">
<a href="http://www.weather.com/weather/local/03833">Exeter Weather
Forecast, NH (03833)</a>
</div>

<script type="text/javascript">

/* Locations can be edited manually by updating 'wx_locID' below.
Please
also update */
/* the location name and link in the above div (wx_module) to reflect
any
changes made. */
var wx_locID = '03833';

/* If you are editing locations manually and are adding multiple modules
to one page, each */
/* module must have a unique div id. Please append a unique # to the
div
above, as well */
/* as the one referenced just below. If you use the builder to create
individual modules */
/* you will not need to edit these parameters. */
var wx_targetDiv = 'wx_module_3788';

/* Please do not change the configuration value [wx_config] manually -
your module */
/* will no longer function if you do. If at any time you wish to modify
this */
/* configuration please use the graphical configuration tool found at */
/* https://registration.weather.com/ursa/wow/step2 */
var
wx_config='SZ=180x150*WX=FHW*LNK=SSNL*UNT=F*BGI=boat*MAP=null|null*DN=Seacoasthospice.org*TIER=0*PID=1044942963*MD5=f4c8dbd580f0dffda188e7209bd5232a';

document.write('<scr'+'ipt
src="'+document.location.protocol+'//wow.weather.com/weather/wow/module/'+wx_locID+'?config='+wx_config+'&proto='+document.location.protocol+'&target='+wx_targetDiv+'"></scr'+'ipt>');
</script>
 
J

jd-Seacoast

I see the problem - the feed is looking for a different domain - so what you
gave me works just fine once that is corrected.

Thank you!!

jd-Seacoast said:
Thanks for your help! I'm almost there... I can see the hyperlink when I
preview it, but I can't see the actual weather. Users would need to click on
the hyperlink.

Thomas A. Rowe said:
Use Preview in Browser, not the Preview tab

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


jd-Seacoast said:
I put this in the code on my home page, within a section of a table.

Hmmm, I tried creating a Test.html file and just inserting the code in there
- that didn't seem to show anything but the code in Preview.

:

I was a bit curious, so I pasted the code into a new file - I named it
test.html

It opened perfectly and displayed a weather report - for Exeter, I assume.

Of course, it is not a complete html file, but the defaults assumed by IE6
enabled it to work OK

I wonder. Are you using the Code or HTML view in FP?
--
Trevor Lawrence
Canberra
Microsoft MVP - FrontPage
MVP Web Site http://trevorl.mvps.org





I would like to show an RSS feed from Weather.com. They provide the code
such as the following, but it doesn't actually display when I insert it
into
the HTML area of my web page. Does anyone know how to display and RSS
feed
in FrontPage like this?

I'm new to RSS, so I'm probably missing something important.

Here's the code Weather.com generated:

<div id="wx_module_3788">
<a href="http://www.weather.com/weather/local/03833">Exeter Weather
Forecast, NH (03833)</a>
</div>

<script type="text/javascript">

/* Locations can be edited manually by updating 'wx_locID' below.
Please
also update */
/* the location name and link in the above div (wx_module) to reflect
any
changes made. */
var wx_locID = '03833';

/* If you are editing locations manually and are adding multiple modules
to one page, each */
/* module must have a unique div id. Please append a unique # to the
div
above, as well */
/* as the one referenced just below. If you use the builder to create
individual modules */
/* you will not need to edit these parameters. */
var wx_targetDiv = 'wx_module_3788';

/* Please do not change the configuration value [wx_config] manually -
your module */
/* will no longer function if you do. If at any time you wish to modify
this */
/* configuration please use the graphical configuration tool found at */
/* https://registration.weather.com/ursa/wow/step2 */
var
wx_config='SZ=180x150*WX=FHW*LNK=SSNL*UNT=F*BGI=boat*MAP=null|null*DN=Seacoasthospice.org*TIER=0*PID=1044942963*MD5=f4c8dbd580f0dffda188e7209bd5232a';

document.write('<scr'+'ipt
src="'+document.location.protocol+'//wow.weather.com/weather/wow/module/'+wx_locID+'?config='+wx_config+'&proto='+document.location.protocol+'&target='+wx_targetDiv+'"></scr'+'ipt>');
</script>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Weather.com plug in 0
Weather.com module insert 3

Top