|
BlogShares Grabber
About:
BlogShares Grabber is a stand alone PHP script that will go out to BlogShares
and grab your site's (or someone else's, dending on how you want to set it up)
current Price, P/E status, Total Shares and Avaiable Shares. It will also get your portfolio value! You only have to change two lines of code (or serveral if you dont want all the stats shown) and just
add one line of PHP code to your page to make it work.
Current version:
1.6.3 (July 4th, 2003)
Known errors:
None known at this time.
Change log:
1.6.3 (July 4th, 2003)
More search changes. Thanks to Jennet for the updated code!
1.6.1 (May 1st, 2003)
Updated the search string to reflect the changes on BS site. Should work now.
1.6 (April 29th, 2003)
Fixed the Portfolio bug.
Added Real Worth display and option and updated one row of the MySQL table.
1.5.1 (April 23rd, 2003)
Changed the price search line to do a count so it wouldn't output a null character.
Also was able to trim off a couple characters from the search.
1.5 (April 8th, 2003)
Added 2 different cache systems, text file and MySQL.
You can have it either pull the information real time, or have it cache it once an hour.
MySQL cache can be configured not to delete the caches.
This is if you want to expand on this code and make graphs or something.
1.4 (April 7th,2003)
Made the variable name better to insure no conflicts with other PHP scripts.
Added Shares and Available output. This will tell you how many total shares there are and how many shares are available.
Added comments for people that want to learn more about PHP.
Added Portfolio value. This will display your portfolio's total value.
Added configuration to allow people to select what they want to display.
1.3 (April 6th, 2003)
Changed the error code display for when BlogShares.com isn't up and running and
will not kill loading of the rest of the page.
If the site is up, but not giving the Price and P/E table, it will not display
anything.
Changed the P/E variable. Was conflicting with some sites, so it wasn't returning
a P/E value.
1.2 (April 4th, 2003)
Optimized the search to the smallest possible string.
1.1 (April 3rd, 2003)
Optimized the search string. Now loading is a lot quicker.
1.0 (April 3rd, 2003)
It works, but it is really slow.
People using BlogShares Grabber:
Jennet.radio
Bloggins
Download:
Click
here to download BlogShares Grabber.
| |