Custom BlogShares Portfolio
posted on august 6, 2003, tag: site
A long while back I mentioned that I had created a BlogShares-related script that I had planned to release shortly thereafter. Well, here we are a month-and-a-half later, and I'm finally getting around to it.

This is a custom BlogShares Portfolio viewer that uses PHP to parse your BS portfolio RSS file. It's pretty quick (assuming BS is up and you don't own shares in a ridiculous number of blogs (remember it has to read that file to parse it)), and best of all—it's pretty. BlogShares is a horribly ugly site, but my custom portfolio script is pretty and XHTML Strict & CSS2 compliant. The script automatically highlights blogs that have a high P/E (in red) or a low P/E (in green), and can be sorted by worth, name, shares held, shares available, current price and p/e.
You can see the script in action (my portfolio) by clicking here.
You can download the source files by clicking here. To run this script on your own server, you'll need PHP 4x installed (3.2x will probably work too). You've most likely got that installed if you're using PHP anyway. All you'll need to do to install it is change 4 lines of code (they're commented and there's a ReadMe in the zip file), and you'll be on your way.
Feel free to post comments or email me with questions, comments or suggestions.