NEW LISTINGS  HOT LISTINGS  TOP RATED  EDITOR PICK  ADD A LISTING  UPDATE A LISTING  GET RATED  UPGRADE A LISTING
  HOME     MY ACCOUNT     POWER SEARCH     REGISTER     MEMBER LIST     SUGGEST CATEGORY  

Average Visitor Rating: 0.00 (out of 5)
Number of ratings: 0 Votes

Visitor Rating

Retrieve stock and mutual fund info easily and flexibly
9093 Retrieve stock and mutual fund info easily and flexibly http://www.27.org/getstockquote/ The script (or "scriptlet", I guess) uses Paul Jamieson Fenwick's wonderful Finance::Quote Perl module. The rational behind making the script was basically to have an easy interface to the module and an easy (and easily configurable) way to get stock quotes for my rather meager portfolio of tech stocks (although after what's happened to the NASDAQ so far this April, I'm not sure anymore if I want to see what's happening to my stocks...). I wanted to be able to get certain quote info from within another script I have, yet I also wanted a plain old server-side includes to return more detailed information from my HTML "home page", all without having to edit the script itself. In addition, I wanted to get quote data on one or more than one stock as needed, again without editing the script or hacking together a new quotes script every time I wanted different data. So I get this by "packaging" Finance::Quote's functionality in a Perl "wrapper" that I can easily call from someplace else.

The script would probably be most useful for anyone that doesn't want to write Perl CGI scripts or is just too lazy to bother (in the Good Sense). If you want to get different stock data in many places all from one source, then getstockquote will probably save you some time. One future use of it for me is to have a page which gives many very terse quotes, each of which are linked to more detailed single quote info. With this script I can do all that using just plain old HTML.
CGI and Perl > Scripts and Programs > Web Fetching Oct 11, 2006

Write a Review   Add to My Favorite   Refer it to Friend   Report Broken Link  

Bookmark Retrieve stock and mutual fund info easily and flexibly:


Other links at CGI and Perl > Scripts and Programs > Web Fetching
News Clipper allows web designers to automatically integrate dynamic information from the Internet into their own web pages. It allows individual users to create custom newspapers, or businesses to enliven otherwise static web pages. Its tag language gives users control of data acquisition, manipulation, and presentation, and can be extended by writing new "handlers".

News Clipper operates as an off-line pre-processor for HTML files, running as a cron job in the background to keep web pages up-to-date, but not causing delays in page downloads. Web developers insert content in a particular style by using News Clipper commands like this
Category:

This script fetches the backend file from The Linux Review server every 60 minutes (default) and saves it locally. On request, the local file is read and healines printed in a formatted manner. The script is useful for including headlines in html pages.
Files included in the package:


README -- Read this file
linuxreview.cgi -- The main file (chmod it to 755)
linuxreview.out -- The local file (chmod it to 777)
update.txt -- The age file (chmod it to 777)
license.txt -- The GPL license (read before you play with this script)
Setup procedure :


Place files in the required directory (often cgi-bin).
Chmod the linuxreview.cgi to 755, and update.txt, linuxreview.out to 777.
Open linuxreview.cgi using any text editor and change variable values, if required.
Please do not tax the Linux Review server by fetching fresh files very frequently.
Include headlines in your web pages by using the following placed in brackets:
Category:

JSMFeed.pl is a Perl script that converts RSS XML feeds into standard browser side JavaScript in JSMsg convention. It takes a URL to an RSS feed as input and outputs a JavaScript file containing all the information from the RSS feed in JSMsg format. It can be called directly from the
Join Mailing List
Joining mailing list will entitle you to receive occasional emails informing you of news and updates to the site and any special offers that may be of interest to you.



Top 10
Directory Statistics

Links: 19869
Categories: 1275
Registered Users: 783
Mailing List Subscribers: 2049
Unique Outgoing Hits: 233700

Pagerank Statistics
PR 10
1 site(s)
PR 9
11 site(s)
PR 8
49 site(s)
PR 7
208 site(s)
PR 6
654 site(s)
PR 5
1698 site(s)

PHP News