Go Back  HTML Forums - Free Webmaster Forums and Help Forums > WEBSITE DEVELOPMENT > Client Side Scripting
User Name:
Password:
 

Reply
Thread Tools   Display Modes
  View First Unread
 
Old 09-25-2005, 02:51 AM
  #1
mrgerbick
Fighter (Level 4)
 
Join Date: Sep 2005
Posts: 37
iTrader: (0)
mrgerbick is an unknown quantity at this point
Weather.com script

I am using the weather.com script to get the weather on my site, the page is an HTML Transitional 4.01, when I do a validations check the only errors that come up is the weather script. It works fine and everything, I just want to know if this would affect my google ranking, or for that matter, will it be indexed on google?

here is the script:
Code:
<script src='http://voap.weather.com/weather/oap/60402?template=GENXV&par=1010535204&unit=0&key=d6d3585f868c2348b1d2b14d776ababe'></script>
mrgerbick is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 09-25-2005, 03:14 AM
  #2
birdbrain
Paladin (Level 15)
 
Join Date: Sep 2005
Location: I have a bijou perch
Posts: 314
iTrader: (0)
birdbrain is an unknown quantity at this point
Hi mrgerbick,

use this it will validate for you...
Code:
<script type="text/javascript" src='http://voap.weather.com/weather/oap/60402?template=GENXV&amp;par=1010535204&amp;unit=0&amp;key=d6d3585f868c2348b1d2b14d776ababe'></script>
birdbrain is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 09-25-2005, 05:10 AM
  #3
mrgerbick
Fighter (Level 4)
 
Join Date: Sep 2005
Posts: 37
iTrader: (0)
mrgerbick is an unknown quantity at this point
I kind of figured that, so that is how I did validate it, but it is still getting errors!

here they are:

?

Info Line 300 column 113: entity was defined here.
....com/weather/oap/60402?template=GENXV&par=1010535204&unit=0&key=d6d3585f868c2
Warning Line 300 column 129: cannot generate system identifier for general entity "unit".
.../60402?template=GENXV&par=1010535204&unit=0&key=d6d3585f868c2348b1d2b14d776ab
?

Error Line 300 column 129: general entity "unit" not defined and no default entity.
.../60402?template=GENXV&par=1010535204&unit=0&key=d6d3585f868c2348b1d2b14d776ab
?

Error Line 300 column 133: reference to entity "unit" for which no system identifier could be generated.
...02?template=GENXV&par=1010535204&unit=0&key=d6d3585f868c2348b1d2b14d776ababe'
?

Info Line 300 column 128: entity was defined here.
...p/60402?template=GENXV&par=1010535204&unit=0&key=d6d3585f868c2348b1d2b14d776a
Warning Line 300 column 136: cannot generate system identifier for general entity "key".
...template=GENXV&par=1010535204&unit=0&key=d6d3585f868c2348b1d2b14d776ababe'></
?

Error Line 300 column 136: general entity "key" not defined and no default entity.
...template=GENXV&par=1010535204&unit=0&key=d6d3585f868c2348b1d2b14d776ababe'></
?

Error Line 300 column 139: reference to entity "key" for which no system identifier could be generated.
...plate=GENXV&par=1010535204&unit=0&key=d6d3585f868c2348b1d2b14d776ababe'></scr
?

Info Line 300 column 135: entity was defined here.
...?template=GENXV&par=1010535204&unit=0&key=d6d3585f868c2348b1d2b14d776ababe'><
mrgerbick is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 09-25-2005, 05:28 AM
  #4
birdbrain
Paladin (Level 15)
 
Join Date: Sep 2005
Location: I have a bijou perch
Posts: 314
iTrader: (0)
birdbrain is an unknown quantity at this point
Quote:
I kind of figured that
Sorry, I do not understand.
What is it that you figured?

The line of amended code that I supplied validates.
birdbrain is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 09-25-2005, 05:37 AM
  #5
birdbrain
Paladin (Level 15)
 
Join Date: Sep 2005
Location: I have a bijou perch
Posts: 314
iTrader: (0)
birdbrain is an unknown quantity at this point
Hi mrgerbick,

if you disbelieve me, here is the full code that I validated...
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>validation test</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
</head>
<body>

<script type="text/javascript" src='http://voap.weather.com/weather/oap/60402?template=GENXV&amp;par=1010535204&amp;unit=0&amp;key=d6d3585f868c2348b1d2b14d776ababe'></script>

</body>
</html>
C&P this code and test it for yourself.
birdbrain is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 09-25-2005, 06:36 AM
  #6
mrgerbick
Fighter (Level 4)
 
Join Date: Sep 2005
Posts: 37
iTrader: (0)
mrgerbick is an unknown quantity at this point
Quote:
Originally Posted by birdbrain
Hi mrgerbick,

if you disbelieve me, here is the full code that I validated...
I do not disbelieve you. When I said I figured that, I was just referring to adding the text/javascript to the line of code.

It validates when it is an XHTML document, mine is a HTML Transitional 4.01, which does not validate that code. I am not sure why.
mrgerbick is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 09-25-2005, 06:53 AM
  #7
birdbrain
Paladin (Level 15)
 
Join Date: Sep 2005
Location: I have a bijou perch
Posts: 314
iTrader: (0)
birdbrain is an unknown quantity at this point
mrgerbick,

what I expected you to do was use the code that I provided for you.

It will validate for ALL DOCTYPES.

The amendmrnts that I made to the code were more than just...

type="text/javascript"

So I will repeat the code with all the amendments highlighted for your edification.

Code:
<script type="text/javascript" src='http://voap.weather.com/weather/oap/60402?template=GENXV&amp;par=1010535204&amp;unit=0&amp;key=d6d3585f868c2348b1d2b14d776ababe'></script>
I trust that this will meet with your satisfaction.
birdbrain is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 09-25-2005, 01:52 PM
  #8
mrgerbick
Fighter (Level 4)
 
Join Date: Sep 2005
Posts: 37
iTrader: (0)
mrgerbick is an unknown quantity at this point
I apologize about jumping the gun last night. Yes, it did work & get validated! It was late, I was was frustrated. I do apologize.

Thank you for all your help.
mrgerbick is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 09-25-2005, 02:09 PM
  #9
birdbrain
Paladin (Level 15)
 
Join Date: Sep 2005
Location: I have a bijou perch
Posts: 314
iTrader: (0)
birdbrain is an unknown quantity at this point
No problem, you're welcome.
birdbrain is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote

Reply
KEEP TABS
SPONSORS
 
Boxedart
 
 


 
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
  
 
 
 



 
  POSTING RULES
 
 
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Thread Tools
Display Modes

Forum Jump

 

All times are GMT -5. The time now is 03:29 AM.

   

Mascot team created by Drawshop.com

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Server Monitoring by ENIACmonitor 0.01
HTMLforums.com © Big Resources, Inc. Web Design by BoxedArt.com
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.