sssalvi
09 Sep 2010, 04:35 AM
I am a novice in web programming.
With a lot of effort I have tried to develop a forum for Satellite Earth Station using a free phpbb forum provider.
I now wish to embed some useful real time data available in the net @ http://www.swpc.noaa.gov/ftpdir/latest/wwv.txt containing following :
=========
:Product: Geophysical Alert Message wwv.txt
:Issued: 2010 Sep 09 0901 UTC
# Prepared by the US Dept. of Commerce, NOAA, Space Weather Prediction Center
#
# Geophysical Alert Message
#
Solar-terrestrial indices for 08 September follow.
Solar flux 75 and mid-latitude A-index 8.
The mid-latitude K-index at 0900 UTC on 09 September was 0 (04 nT).
No space weather storms were observed for the past 24 hours.
No space weather storms are expected for the next 24 hours.
==============
Specifically I want to put following line in my website:
Current SOLAR FLUX = 75
I tried following code after modifying one of the readymade widgets without knowing what it means in software.
<div align="center">
<iframe src="http://www.swpc.noaa.gov/ftpdir/latest/wwv.txt"
</div>
But it embedded full document. How do I display only the required field?
Attempted $string , echo substr etc but no luck.
Can anyone help me in this please.
With a lot of effort I have tried to develop a forum for Satellite Earth Station using a free phpbb forum provider.
I now wish to embed some useful real time data available in the net @ http://www.swpc.noaa.gov/ftpdir/latest/wwv.txt containing following :
=========
:Product: Geophysical Alert Message wwv.txt
:Issued: 2010 Sep 09 0901 UTC
# Prepared by the US Dept. of Commerce, NOAA, Space Weather Prediction Center
#
# Geophysical Alert Message
#
Solar-terrestrial indices for 08 September follow.
Solar flux 75 and mid-latitude A-index 8.
The mid-latitude K-index at 0900 UTC on 09 September was 0 (04 nT).
No space weather storms were observed for the past 24 hours.
No space weather storms are expected for the next 24 hours.
==============
Specifically I want to put following line in my website:
Current SOLAR FLUX = 75
I tried following code after modifying one of the readymade widgets without knowing what it means in software.
<div align="center">
<iframe src="http://www.swpc.noaa.gov/ftpdir/latest/wwv.txt"
</div>
But it embedded full document. How do I display only the required field?
Attempted $string , echo substr etc but no luck.
Can anyone help me in this please.