2012-04-26, 22:05:23
New website I'm building with Get-Simple, still a work in progress at the moment
http://joplin.me.uk/scott/fife%20airport/site/
I've got a few issues I'm wondering if anyone can help.
Code for weather part (it is in a component which is then included in the page using mvlcek's dynamic pages)
Any comments welcome
http://joplin.me.uk/scott/fife%20airport/site/
I've got a few issues I'm wondering if anyone can help.
- Calendar won't remove events that have already happened from the sidebar on the homepage (uses Calendar plug-in)
- Under 'Weather' on the homepage, cannot include the following PHP code (yet code works fine here: http://joplin.me.uk/scott/metar.php)
- I don't yet know if I like the design of the 'subtitle' on the news page. :o)
Code for weather part (it is in a component which is then included in the page using mvlcek's dynamic pages)
Code:
<strong>EGPH:</strong>
<?php
$metar = file("ftp://tgftp.nws.noaa.gov/data/observations/metar/stations/EGPH.TXT");
print $metar[1];
?><br />
<strong>EGPN:</strong>
<?php
$metar = file("ftp://tgftp.nws.noaa.gov/data/observations/metar/stations/EGPN.TXT");
print $metar[1];
?><br />
<strong>EGQL:</strong>
<?php
$metar = file("ftp://tgftp.nws.noaa.gov/data/observations/metar/stations/EGQL.TXT");
print $metar[1];
?>
Any comments welcome