Link Two HTML Doc's Together

windows

Guest
I am having trouble with the following site here and the weather image at the bottom not being to the correct size. The image is hotlinked from another site for which I have permission to do! The image is automatically generated by scripts target="_blank">here, there is this piece of code:<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><font face="Arial"><center><TABLE BORDER=1 CELLPADDING=5 CELLSPACING=1 BGCOLOR="FFFFFF"><br /><TR><TH colspan=4><B><FONT SIZE=+2 color="#0000FF">Weather Data</FONT></B></TH></TR><br /><TR><TH colspan=4><B><FONT SIZE=+1 color="#5">LAST READING AT TIME: 3:40 AM  DATE: 21 December 2007 ,Time of next update: 03:45 AM</FONT></B></TH></TR><br /><tr><td><FONT SIZE=+1>Current Weather<FONT SIZE=+0></td><td>Night time\Dry</FONT></td><br /><td><font color="#009900"><FONT SIZE=+1>Current Temperature </td><td><font color="#009900"><b>3.8&deg;C (38.8&deg;F)</b>,  Apparent temp 2.7 &deg;C</FONT></font></td></tr><br /><tr><td><FONT SIZE=+1><FONT COLOR="#FF0000">Maximum Temperature </FONT><FONT SIZE=+0> (since midnight)</td><td><FONT COLOR="#FF0000">4.0 &deg;C at: 12:00 AM</font></FONT></td><br /><td><FONT SIZE=+1><FONT COLOR="#3333FF">Minimum Temperature </FONT><FONT SIZE=+0> (since midnight)</td><td><FONT COLOR="#3333FF">3.2 &deg;C at: 12:48 AM</font></FONT></td><br /><tr><td><FONT SIZE=+1>Average windspeed<FONT SIZE=+0> (ten minute)</td><td>0.0 kts (0.0 kmh)</FONT></td><br /><td><FONT SIZE=+1>Wind Direction<FONT SIZE=+0> (ten minute)</td><td>ENE (70&deg;)</FONT></tr></td><br /><tr><td><FONT SIZE=+1>Windchill Temperature </td><td>3.8&deg;C</FONT></td><br /><td><FONT SIZE=+1><font color="#009900">Maximum Gust </font><FONT SIZE=+0> (last hour)</td><td><font color="#009900">0.0 kts (0.0 kmh) at: 3:00 AM</font></FONT></td></tr><br /><tr><td><FONT SIZE=+1><font color="#009900">Maximum Gust </font><FONT SIZE=+0> (since midnight)</td><td><font color="#009900">0.0 kts (0.0 kmh) at: 1:52 PM</font></FONT></td><br /><td><FONT SIZE=+1>Maximum 1 minute average <FONT SIZE=+0> (since midnight)</td><td>0.0 kts (0.0 kmh) at: 1:57 PM</FONT></td></tr><br /><tr><td><FONT SIZE=+1>Rainfall <FONT SIZE=+0> (last hour)</td><td>0.00 in. (0.0 mm)</FONT></td><br /><td><FONT SIZE=+1><FONT COLOR="#245CD2">Rainfall </font><FONT SIZE=+0> (since midnight)</td><td><FONT COLOR="#245CD2">0.00 in. (0.0 mm) ---</font></FONT></td></tr><br /><tr><td><FONT SIZE=+1>Rainfall <FONT SIZE=+0>This month </td><td>0.00 in. (0.0 mm) </FONT></td><br /><td><FONT SIZE=+1>Rainfall <FONT SIZE=+0>To date this year </td><td>0.00 in. (0.0 mm)</FONT></td></tr><br /><tr><td><FONT SIZE=+1>Maximum rain per minute <FONT SIZE=+0> (last hour)</td><td>0.00 in/min </FONT></td></td><br /><td><FONT SIZE=+1>Maximum rain per hour <FONT SIZE=+0> (last 6 hours)</td><td>0.00 in/hour</FONT></td></tr></td><br /><tr><td><FONT SIZE=+1><font color="#FF9900">Yesterdays rainfall </font></td><td><font color="#FF9900">0.00 in</font></FONT></td><br /><td><FONT SIZE=+1>DewPoint </td><td><font color="#FF9900">2.3&deg;C (Wet Bulb :3.2&deg;C )</font></FONT></td></tr><br /><tr><td><FONT SIZE=+1>Humidity </td><td>90 %, Humidex 2.3 &deg;C</FONT></td><br /><td><FONT SIZE=+1><font color="#CC33CC">Barometer </font><FONT SIZE=+0>corrected to msl</td><td><font color="#CC33CC">1021.0 mb</font></FONT></td></tr><br /><tr><td><FONT SIZE=+1>Pressure change </td><td>0.0 mb  (last hour)</FONT></td><br /><td><FONT SIZE=+1>Trend (last hour)</td><td>STEADY</FONT></td></tr><br /><tr><td><FONT SIZE=+1>Pressure change <FONT SIZE=+0> (last 12 hours)</td><td>-3.0 mb</FONT></td><br /><td><FONT SIZE=+1>Pressure change <FONT SIZE=+0> (last 6 hours)</td><td>-3.0 mb</FONT></td><br /></table></center><!--c2--></div><!--ec2--><br /><br />Now, the details above (last reading, temperature, etc) obviously change every 5 minutes too (same as the script created image). How can I link a page style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />.<br /><br />I am in good contact with that sites webmaster therefore style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />.<!--content-->
I presume the data is being fed via javascript to your site? If that's the case then you're normally at the mercy of the serving site and the HTML they use (in this case tag soup!).<br /><br />What I'd suggest is talking to the site owner to see if they can feed you the tabularised data with none of the excess font tags etc - you should then be able to style the table, tr's, th's and td's your way.<!--content-->
That would be the best path to take I know, unfortunately I'm not sure how experienced the webmaster of that site is to know how to do this... I will get in contact with him though and ask <img src="http://www.webdesignerforum.co.uk/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />.<!--content-->
Right I have found out it is possible to upload the RAW data without any tags as a .txt file... How can I then extract this information from the txt file and format it to my page styles?<!--content-->
Do you have server side scripting? PHP, ASP?<br />That'd be the best. Then you make the script load the text file and extract the data based style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />...<br /><br />Atm I need to get over to the other server and physically change some of the upload settings, so trying to figure out the WD software style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />.<br /><br />Thanks for the help so far, I'm sure I'll be back!<!--content-->
 
Top