This is old content! The graveyard is a snapshot of content created from 2002-2005. For new stuff, visit Maniacal Rage.
 

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.

Custom BlogShares Portfolio

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.


See Also

View the archive

Original iPod Introduction
How far we've come in just a few short years. Here's where it all started.

Front Row on Non-iMacs
Going to try this tonight!

WriAShorStorWe!
DY starts a one-week short story writing event for people to lazy to enty NaNoWriMo. VerCooIdea.

Lost Rhapsody
Funny Flash movie using Weird Al music and Lost stuff. Lyrics make a surprising amount of sense!

Jed's Other Poem
Unsolicited music video made on an Apple ][. Fantastic!

Printers Output Secret Barcode
The government is keeping tabs on what you print, with the help of major printer companies.

Dreamhost Promo Codes
DH already has very cheap, very good hosting—this just sweetens the deal.

Photos of the new iPod
Just received my new iPod and I put a few photos up.

PEZ MP3 Player
Funny idea that actually looks kind of neat. I like that it comes pre-loaded with "indie" music.

HD Easter Egg
"My Name is Earl" on NBC gives viewers with HD TVs a little easter egg. Cute, but weird.