This Java applet fetches your selected news items and sorts them by timestamp at a
specified rate from a public domain that offers RSS feeds (Really Simple Syndication).
You can click on the news item to go to a separate link that contains more details.
Cut and paste the code in this commented HTML example, LiveNewsRSS.html)
Parameters include news source URL, grid-style overall layout, refresh rate, data field size,
script location, border color, font type / size / color.
Move the mouse into the panel and click on a news item to link to a URL.
[Special Installation Instructions and Disclaimer]:
- In addition to standard setup procedures by uploading all the files to your web directory,
the script LiveNewsRSS.cgi written in PERL needs to be installed in the directory
where CGI scripts are allowed and PERL is supported. It seems that most of the current web
hosting services provide the PERL / CGI support, so it is just a matter of putting the script
in the right place. The first line of the script may need to be modified if your system
installs PERL somewhere else.
- If you insist on using other script languages other than PERL, all you
need to do is process a 'url' parameter passed from our Java applet and replace '---' with
a '&' and output the first header line followed by lines of real data.
- This software fetches news data from a public domain, so data availability depends on
the public source. We do not produce or alter any news content by ourselves.
- There are 3 data columns being displayed for each symbol. Adding up the values in the
'sizelist' parameter is exactly the width of a stock symbol. In this example, the sum of
160 455 15 is 630, so you
should set the applet width to 630. The height of a news item is the value of
the applet height divided by the max number of most recent news items .
In this example, applet height is 240 and we have 20 max items.
Therefore, each row has a height = 240 / 20 = 12, tall enough to contain the font size.