MTBlogShares

I've been pretty fascinated by what's going on at BlogShares lately, so I figured I'd write a little plugin I could use to access my blog's current value.

And here it is. It's not much of a plugin so far, it's mostly just a little hack to download the tracking page for the current (or a given) blog and throw a couple of perl patterns at the results to pull out the data.

Download one of the following files, unpack it, and place blogshares.pl in your plugins/ directory.

It provides the following tags:

  • MTBlogShares
    • container tag
    • takes one optional argument, blog_url, to specify the url to check at BlogShares, which defaults to the url of the current blog
  • MTBlogSharesPrice
    • The blog's current stock price
  • MTBlogSharesPE
    • The blog's current P/E ratio

Usage Example:

<MTBlogShares>
Price: <MTBlogSharesPrice><br />
P/E Ratio: <MTBlogSharesPE><br />
</MTBlogShares>

Minor Update: (2003-04-02 13:54)

  • Changed the behavior of MTBlogShares. If there is a problem contacting the BlogShares site, MTBlogShares now returns an empty string instead of erroring out. That should fix most people's problems with the plugin and the state of the site at the moment.

Update: (2003-04-04 13:46)

  • I added a new container tag, MTBlogSharesUser, that can be used to access data for your account (instead of for your site). It takes one required argument, id, for your user id at BlogShares.
  • Within MTBlogSharesUser, you can use the MTBlogSharesTotalPortfolio to access the total vaue of your portfolio.
  • I may add other tags this weekend (including what stocks you own, etc), but that's a bit more of a hassle when you're just download a webpage. Hopefully Seyed and I can get the XML spec worked out this weekend, which would a) speed the use of the plugin up some, and b) give me very easy access to the data (instead of having to toss some regular expressions at an HTML page). Cross your fingers.

Usage Example

<MTBlogSharesUser id="1615">
My portfolio is worth $<MTBlogSharesTotalPortfolio>
</MTBlogSharesUser>

Update: (2003-04-20 00:25)

  • Changes at BlogShares caused this plugin to break. I fixed it.
  • I hope to be including support for some of the new features that Seyed has added recently.

Update: (2003-04-20 02:23)

  • I added the following tags to the plugin by request :
    • MTBlogSharesAvailable
    • MTBlogSharesOutgoingLinkValue
    • MTBlogSharesMarketShare
  • Working on adding a share owners list to the plugin, but it is proving more difficult than I expected.

Update: (2003-04-22 15:37)

  • I fixed the problem with the total portfolio tag. Seems Seyed went ahead and put some crazy things on the BlogShares pages, like commas in the dollar amounts. :)

Update: (2003-04-25 02:56)

  • Finally added shares owners to the plugin. To access them use the following tags:
    • MTBlogSharesOwners: container tag for the share owners
    • MTBlogSharesOwner: the share owner's name
    • MTBlogSharesOwned: the number of shares owned

Usage Example:

<MTBlogShares>
<MTBlogSharesOwners>
<MTBlogSharesOwner> owns <MTBlogSharesOwned> shares<br />
</MTBlogSharesOwners>
</MTBlogShares>

Update: (2003-05-01 13:04)

  • The changes to the site broke the plugin again. I am working to fix the problem.

Big Update: (2003-05-01 13:18)

  • The changes have been incorporated into the plugin. Everything should be working again. If not, please let me know. I'll look into adding some new features when I get home later tonight. But, for now, I need to get back to actual paying work. ;-)

Another Big Update: (2003-05-01 23:52)

  • To celebrate the site going out of beta, I've implemented the following general tags for MTBlogShares:
    • MTBlogSharesTotalBonds
    • MTBlogSharesTotalProjected
    • MTBlogSharesTotalReal
  • And I've added a new container tag: MTBlogSharesUserRSS. it acts much like MTBlogSharesUser, except that it uses the portfolio RSS feed instead of the user page. If you do not have the XML::RSS perl module available, it and the following tags will not be available.
    • MTBlogSharesUserStocks, which is a container tag for the other tags
    • MTBlogSharesUserStockName
    • MTBlogSharesUserStockNumber
    • MTBlogSharesUserStockLink
  • The plugin does not currently extract all the information that it possibly could, so if you have a specific request, please let me know and I'll incorporate it into a future version.

Update: (2003-05-06 16:11)

  • I added another tag: MTBlogSharesUserStockSiteLink. It's just like MTBlogSharesUserStockLink, except that it returns a link to the actual site (which has been requested / hacked in a number of places already today). Enjoy! :)

Update: (2003-05-09 21:50)

  • Updated to account for changes at the site. MTBlogSharesAvailable and MTBlogSharesTotalBonds should work now.

Update: (2003-05-15 10:39)

  • For anyone who downloaded the plugin over the last few days, you may want to download it again. Thanks to me being a tad absent-minded lately, you either got a slightly older version if you downloaded it a couple days ago, or you got a broken version if you downloaded it yesterday. The version available now is working and has been verified by myself. I sincerely apologize for any problems I may have caused.
  • In other news, the reason that recent copy was broken was because of a new feature I am implementing: MTBlogSharesOwnerSiteLink. For anyone that owns stock in your site, it will return the URL of their home page, if they have one listed in their Blogshares account.

Update: (2003-06-04 00:10)

  • Seyed changed the site again. Amazingly enough, the URLs it uses haven't changed.
  • MTBlogSharesTotalReal and MTBlogSharesTotalProjected are now considered deprecated. MTBlogSharesWorth replaces them.
  • ( drum roll, please ) I have added three important new tags:
    • MTBlogSharesOwnerIfSite: if the stock owner has a site
    • MTBlogSharesOwnerSiteName: name of the stock owner's site
    • MTBlogSharesOwnerSiteLink: url of the stock owner's site
  • These three new tags make use of MT::PluginData to cache home page data, so that is now considered a requirement for the plugin.

Update: (2003-06-06 13:54)

  • Fixed a bug that occured when the blog's outgoing link value was less than $100. Thanks to Ryan for letting me know.

template_tags=MTBlogShares,MTBlogSharesPrice,MTBlogSharesPE,MTBlogSharesUser,MTBlogSharesTotalPortfolio,MTBlogSharesAvailable,MTBlogSharesOutgoingLinkValue,MTBlogSharesMarketShare,MTBlogSharesOwners,MTBlogSharesOwner,MTBlogSharesOwned,MTBlogSharesTotalBonds,MTBlogSharesTotalProjected,MTBlogSharesTotalReal,MTBlogSharesUserRSS,MTBlogSharesUserStocks,MTBlogSharesUserStockName,MTBlogSharesUserStockNumber,MTBlogSharesUserStockLink,MTBlogSharesUserStockSiteLink,MTBlogSharesWorth,MTBlogSharesOwnerIfSite,MTBlogSharesOwnerSiteName,MTBlogSharesOwnerSiteLink

102 TrackBacks

Blog Shares Plugin from ETC. Indulging my inner geek on April 1, 2003 2:24 PM

David Raynes has whipped up a , which will display some data from the current blogs pricing on Blog Shares... Read More

blogshares from just a.juby on April 1, 2003 5:32 PM

David Raynes has developed a plugin for Movable Type to display one's Blogshare value. Read More

blogshares from kadyellebee on April 1, 2003 5:46 PM

David wrote a blogshares plugin, so now you can check out my blog share info right from my sidebar (on Read More

BlogShares Plugin from anything but ordinary on April 1, 2003 7:26 PM

w00t! David Raynes wrote a sweet BlogShares Plugin. If you look over in my sidebar, right below the Featured Pet, you'll see the current price and p/e of my stock! :D via the lovely Kristine... Read More

BlogShares from MT Plugin Directory on April 1, 2003 7:50 PM

TITLE: BlogShares URL: http://mt-plugins.org/archives/entry/blogshares.php IP: 66.246.57.2 BLOG NAME: MT Plugin Directory DATE: 04/01/2003 07:50:09 PM Read More

My BlogShares share price. from Fit for Public Consumption on April 1, 2003 9:22 PM

My BlogShares share price is now written below the links button on the right there each time my blog is... Read More

David Raynes created a plugin to display the current price and p/e of your blogshares stock! :) Since it's a... Read More

Blogshares Plugin from Rotten to the Core on April 1, 2003 11:12 PM

Amazing! Less than a week after Blogshares goes live, David Raynes has created a MTPlugIn for it. Oh and FYI, my shares are still a good deal! Years from now, you'll be kicking yourself that you didn't buy it @... Read More

Message to self Add MTBlogShares (v 0.1) to weblog today... Read More

Track It Here... from Big Pink Cookie on April 2, 2003 1:47 AM

David Raynes has created a MT-Plugin that allows you to track your Blogshares value on your site. You can get... Read More

Blogshares Statistics on your page G'night!... Read More

Cleaned up some of the code, installed the BlogShares Plugin. Gwtting tired, so I think its time for a shower... Read More

Share and share alike from Ain't too proud to blog on April 2, 2003 3:46 AM

Found over in the MT Plugin Directory...the BlogShares Plugin. (Download here, instructions here.) Now you can track my worth right over there in the sidebar -- just above my Blogroll! Read More

One last day before my birthday, and I'm suddenly overcome with deadlines. Hell, as the saying goes, when Mozart was Read More

I'm off to teach my weekly iMovie class in a few minutes, but I wanted to get David Raynes' BlogShares MT Plugin a, uhhh, plug... Read More

I was bored and also wanted to test out my new Perl skills, so I modified David's wonderful MTBlogShares plugin to allow for the addition of further BlogShare metadata. Now available are the tags <MTBlogSharesOutLinkValue>, <MTBlogSharesMarket... Read More

Testing out a plugin! from A Trip Inside Zaldor's World on April 2, 2003 12:42 PM

Well, found this BlogShares plugin today, thought I'd give it a shot: Current value: Current P/E: It doesn't seem to Read More

I've installed David Raynes' MTBlogShares plugin. You would be able to see it on the left only I've had a bit of a problem with it. It seems to cause MT to fail its rebuilding process. I've done a bit Read More

Randomosity from anything but ordinary on April 2, 2003 1:13 PM

Couple of things... /archives/001995.php">Freak chick just showed up, like she does every day. Zipped in, jumped out of her car, ran in, ran out, jumped in the car and pulled out. On her way out of the parking space, she... Read More

The wondermous Kristine just let me know that David has released an update to the BlogShares Plugin. Go and grab it while it's hot! ;) From David's site: Changed the behavior of MTBlogShares. If there is a problem contacting the... Read More

Button, Button... from Big Pink Cookie on April 2, 2003 8:23 PM

In case you didn't notice, I am really enjoying this whole Blogshares thing, but when their site was down, it... Read More

David has written a plugin that will allow you to import your BlogShares data directly into MT. I saw a Read More

Help! I am addicted! from Fit for Public Consumption on April 2, 2003 9:54 PM

Oh God. I am addicted to BlogShares. I can't stop buying and selling. Damn you David Raynes for making that... Read More

Buy A Piece of the Cat! from the passionate ailurophile on April 3, 2003 3:07 AM

With Blogshares all the rage these days, it was inevitable Read More

oh lord... from Vikkilynne.com on April 3, 2003 5:09 AM

It's 4 a.m. and I'm still up. Why? you ask.... Let me tell ya, I'm addicted to this BlogShares thingie.*sigh* Read More

Yesterday I used the 0.1.0 (I believe) MT-Blogshares plugin. Due to the fact that Blogshares was offline yesterday I was... Read More

I added a plug-in to the blog code to display my currently worthless BlogShares stock. Built by David Rayners, this BlogShare Plug-in was causing errors when rebuilding blog entries. More accurately, it seems the BlogShare people are victims of their o... Read More

There's a neat plugin for MT that pulls info from BlogShares for display. I'll be e-mailing Dave as soon as... Read More

There's a neat plugin for MT that pulls info from BlogShares for display. I'll be e-mailing Dave as soon as... Read More

MTBlogShares from Netry Blog on April 3, 2003 5:42 PM

David Raynes: MTBlogShares (v 0.1.1) 早速Blogsharesでの株価を表示するMTのプラグインが公開されてます。... Read More

Oh my.... from dwlt.thinksOutLoud on April 4, 2003 4:43 PM

What a busy week. Had some trouble posting out from work this week, after an office move, but hopefully this will be resolved next week. I've added some other blogs and comics which I read, and also claimed my blog Read More

New version of plugin. from Fit for Public Consumption on April 5, 2003 3:59 AM

I am using a new version of the BlogShares plugin, so let me know if you have any problems with... Read More

Movabletype BlogShares Plugins from Blog Development Project on April 5, 2003 10:39 AM

Sudah tahu belum kalau Movabletype punya kalian juga bisa dipasang grabber script seperti layaknya b2/cafelog buatan ellis. BlogShares yang salah satu donaturnya yaitu David Raynes, mempermudah anda untuk meng-grab nilai blog anda di BlogShares. Downl... Read More

Site Stuff from Ginadapooh's Blog on April 5, 2003 4:48 PM

I just added the BlogShares Plugin to the fun stuff area of the side bar. I have been totaly wraped... Read More

Site Stuff from Ginadapooh's Blog on April 5, 2003 4:49 PM

I just added the BlogShares Plugin to the fun stuff area of the side bar. I have been totaly wraped... Read More

Worthless from Mischiefgurl on April 5, 2003 4:59 PM

A big big thank you to Kymberlie who helped me with the additions to david's blogshares plugin yesterday. Even though there was a "glitch" in blogshares recently and I went from being worth something to being worth absolutely nothing. That's right folk... Read More

David has updated his MT plugin for Blogshares Great to see that I can add my own portfolio.... Read More

I use a Movable Type plugin to show my sites share price, P/E, and how much my portfolio is worth.... Read More

Ok, so yesterday I joined BlogShares, a site where one can buy and trade shares of blogs(no, you cannot own Read More

I've implemented David Raynes excellent MTBlogShares plugin along with the update from Poetic Geek (thanks to Kymberlie for letting me Read More

Blogshares listing from life of nicole lee on April 9, 2003 8:58 AM

As some of you have noticed, my blog is listed on Blogshares, a fantasy blog shares market, where you get... Read More

Installed the duplicate comment prevention hack. [spotted at :Robyn:'s and :MTP:. 2 new feeds: Brad's posts & comments: here. Jennifer's Read More

Couple of minor changes to the site. As further proof of my slavish devotion to keeping track of my BlogShares status, I've put a "BlogShares" item in the side navigation, which pulls data from the BlogShares site using <a href="http:... Read More

Couple of minor changes to the site. As further proof of my slavish devotion to keeping track of my BlogShares status, I've put a "BlogShares" item in the side navigation, which pulls data from the BlogShares site using <a href="http:... Read More

Couple of minor changes to the site. As further proof of my slavish devotion to keeping track of my BlogShares status, I've put a "BlogShares" item in the side navigation, which pulls data from the BlogShares site using David Reynes's... Read More

Cross Reading from Frankly, I'd Rather Not on April 16, 2003 1:34 AM

First, the BlogShares plugin from David Raynes. I love how these plugins are created and released... Read More

I couldn't resist to registrate at BlogShares, the virtual sharemarket for weblogs...*gg. And for all of us MT-Bloggers, David Raynes Read More

You know a topic is big when it has it's own category, eh? Well, let's see. I am sitting here, Read More

Gremlins? from Ain't too proud to blog on April 20, 2003 12:27 AM

Has anyone using the Blogshares plugin noticed that it's showing their stock price as $0, yet that's not actually the price? UPDATE: I got a quick e-mail from the author of the MT-plugin in question, after I left him a comment. This is what it said: Th... Read More

Greeeeeeeat! 500 it is! from Ain't too proud to blog on April 20, 2003 12:57 AM

An updated version of the MT BlogShares Plugin has been released to fix the stock price issues from earlier today. However, this updated version doesn't include the available shares hack yet. So if any code monkeys out there wanna give it a whirl, I'll... Read More

The Social Economy? from assorted grotesqueries on April 22, 2003 11:38 PM

As a follow-up to “Blogroll as Social Logic”, I decided to try Seyed Razavi’s Blogshares, a new perspective in the social network that is built around blogging. For information regarding the valuation of this weblog, click here. Deter... Read More

The Social Economy? from assorted grotesqueries on April 22, 2003 11:42 PM

As a follow-up to “Blogroll as Social Logic”, I decided to try Seyed Razavi’s Blogshares, a new perspective in the social network that is built around blogging. For information regarding the valuation of this weblog, click here. Deter... Read More

Thanks to an MT plugin by David Raynes, I now have my Blogshares shareholders listed on my page. (See bottom of my sidebar). Now all I want is for the peop... Read More

David Raynes: MTBlogShares... Read More

With the live release of BlogShares today, the format changed and seeing as David Rayner's delectable MTBlogShares plugin currently relies on regex screen scrapes, it was thusly broken. While fixing it, I decided to add a couple more tags, as well as c... Read More

RSS feeds from randyrathbun.org on May 2, 2003 2:58 PM

I found a really cool script for importing RSS feeds into MT. It works pretty well. The Blogs I have Read More

Cheers from Frankly, I'd Rather Not on May 2, 2003 4:14 PM

Cheers to David Raynes who released two, count 'em, two updates to the BlogShares plugin yesterday. The first fixed the plugin itself after it was broken by the live rollout. The second added even more container tags, including RSS stuff. I'm going to ... Read More

Share and share alike from Inoperable Terran on May 3, 2003 12:12 AM

Yeah, I noticed the automated BlogShares stats on the right were suddenly all zeros. Apparently the site going non-beta caused bustage in the MT plugin we're using. Luckily there was already a new version available.... Read More

Being a user of Movable type and a player of I have been looking to combine those things: it would be awesome to see Blogshares information on my site. After looking around a little bit, I found MTBlogShares from David... Read More

I am *such* a stud! from randyrathbun.org on May 6, 2003 4:03 PM

Okay, I got some stuff I was having trouble with the other day working just like I wanted it. As Read More

Share Price from Structured Thought . org on May 7, 2003 3:26 PM

If you look under the "Buy Me" header to the lower-left, you'll see something new above the Blogshares Logo. I added a plugin from here which checks BlogShares for my current price per share. Pretty neat, huh?... Read More

I found this MT Plugin for BlogShares today. I’ll try it on the site and see how it works out. David Raynes: MTBlogShares TrackBack URL for this entry: http://mt.rayners.org/mt-tb.cgi/178... Read More

I found this MT Plugin for BlogShares today. I’ll try it on the site and see how it works out. David Raynes: MTBlogShares TrackBack URL for this entry: http://mt.rayners.org/mt-tb.cgi/178... Read More

BlogShares in MT from Morgaine LeFaye Net : Blog on May 8, 2003 8:41 PM

I'm listed at BlogShares and it's a game I like very much playing (not that I'm any good at it though). I became severely engaged in The Blog Street Journal, creating e.g. the logo and keeping Matthew company through some... Read More

BlogShares in MT from Morgaine LeFaye Net : Blog on May 8, 2003 8:43 PM

I'm listed at BlogShares and it's a game I like very much playing (not that I'm any good at it though). I became severely engaged in The Blog Street Journal, creating e.g. the logo and keeping Matthew company through some... Read More

BlogShares in MT from Morgaine LeFaye Net : Blog on May 8, 2003 8:45 PM

I'm listed at BlogShares and it's a game I like very much playing (not that I'm any good at it though). I became severely engaged in The Blog Street Journal, creating e.g. the logo and keeping Matthew company through some... Read More

BlogShares in MT from Morgaine LeFaye Net : Blog on May 8, 2003 8:48 PM

I'm listed at BlogShares and it's a game I like very much playing (not that I'm any good at it though). I became severely engaged in The Blog Street Journal, creating e.g. the logo and keeping Matthew company through some... Read More

Link Fiesta from The Realm of Chadness on May 11, 2003 2:35 AM

While I'm up, here's some links to a few articles or sites that I've read recently. I may have gotten Read More

Blogshares from Fembat.Net [Journal] on May 14, 2003 6:05 AM

There is a neat plugin over at David Raynes for displaying Blogshares information on your blog.... Read More

Blogshares from Fembat.Net [Journal] on May 14, 2003 6:09 AM

There is a neat plugin over at David Raynes for displaying Blogshares information on your blog.... Read More

Blogshares from Fembat.Net [Journal] on May 14, 2003 6:09 AM

There is a neat plugin over at David Raynes for displaying Blogshares information on your blog.... Read More

Trying to get better. from Perculaclown.net's Blog on May 14, 2003 10:20 AM

Ok, so I wanted to make this Blog a little bit cooler, better, slicker and... Read More

display your BlogShares information from Al-Muhajabah's Movable Type Tips on May 25, 2003 11:10 PM

You are playing BlogShares, aren't you? The BlogShares plugin grabs the latest information on your blog and also on your portfolio and displays it on your blog. A good way to recognize those who have bought shares in your blog... Read More

We Started Dancing from A Work In Progress on May 30, 2003 5:43 PM

This is why BlogShares is so cool, and why, when I get some time this weekend, I'll add links to all of my current "shareholders," courtesy a MovableType plugin. I was doing this manually, end of the day, just checking out some of the people who own a ... Read More

the BlogShares plugin from Morgaine LeFaye Net : Blog on June 1, 2003 7:44 PM

I'm listed at BlogShares and it's a game I like very much playing (not that I'm any good at it though). I became severely engaged in The Blog Street Journal, creating e.g. the logo and keeping Matthew company through some... Read More

David fixed up the blogshares plugin and I got it all installed. There are some new features (i.e. the Shares... Read More

David Raynes: MTBlogShares I couldn't help it; I saw this plug-in for Movable type and absolutely had to use it! So now, as you can see, the "Upcoming Events" section has been replaced with a "Stock" and "Archives" section. Also,... Read More

David Raynes: MTBlogShares I couldn't help it; I saw this plug-in for Movable type and absolutely had to use it! So now, as you can see, the "Upcoming Events" section has been replaced with a "Stock" and "Archives" section. Also,... Read More

Strangely enough from Considering... on June 6, 2003 1:03 PM

The plugin I'm using to show stats on my blog's Blogshares stock, MTBlogShares, is still unable to show what the outgoing link value for my blog is. Rest assured, it isn't 0. Maybe there's been another minor change to the... Read More

Strangely enough from Considering... on June 6, 2003 1:05 PM

The plugin I'm using to show stats on my blog's Blogshares stock, MTBlogShares, is still unable to show what the outgoing link value for my blog is. Rest assured, it isn't 0. Maybe there's been another minor change to the... Read More

Strangely enough from Considering... on June 6, 2003 1:07 PM

The plugin I'm using to show stats on my blog's Blogshares stock, MTBlogShares, is still unable to show what the outgoing link value for my blog is. Rest assured, it isn't 0. Maybe there's been another minor change to the... Read More

Blogshares from [find.me]Pencilmein[im.lost] on June 15, 2003 10:53 PM

David Raynes: MTBlogShares I couldn't help it; I saw this plug-in for Movable type and absolutely had to use it! So now, as you can see, the "Upcoming Events" section has been replaced with a "Stock" and "Archives" section. Also,... Read More

I've been trying to get the MT Blogshares plugin that David Raynes composed to work on my site but without any luck. If I can get it to work, the plugin will allow me to post all sorts of infomation... Read More

I've been trying to get the MT Blogshares plugin that David Raynes composed to work on my site but without any luck. If I can get it to work, the plugin will allow me to post all sorts of infomation... Read More

I've been trying to get the MT Blogshares plugin that David Raynes composed to work on my site but without any luck. If I can get it to work, the plugin will allow me to post all sorts of infomation... Read More

Blogshares from C:\Arvind.blog on September 25, 2003 12:58 AM

This is amazing. It just shows how blogs are really taking over the market. BlogShares is a fantasy share market for blogs. Blogs listed by them act like shares which members can buy and sell. I'm amazed that my blog... Read More

Blogshares from C:\Arvind.blog on September 25, 2003 12:59 AM

This is amazing. It just shows how blogs are really taking over the market. BlogShares is a fantasy share market for blogs. Blogs listed by them act like shares which members can buy and sell. I'm amazed that my blog... Read More

Blogshares from C:\Arvind.blog on September 25, 2003 5:58 AM

This is amazing. It just shows how blogs are really taking over the market. BlogShares is a fantasy share market for blogs. Blogs listed by them act like shares which members can buy and sell. I'm amazed that my blog... Read More

Tonight, I added a David Rayner's Blogshares plug-in for Movable Type. It's pretty cool, but I had some problems with one of the tags, MTBlogSharesOwned. It's probably something I'm doing wrong, but I'll work on it more later. Right now,... Read More

Tonight, I added a David Rayner's Blogshares plug-in for Movable Type. It's pretty cool, but I had some problems with one of the tags, MTBlogSharesOwned. It's probably something I'm doing wrong, but I'll work on it more later. Right now,... Read More

Tonight, I added a David Rayner's Blogshares plug-in for Movable Type. It's pretty cool, but I had some problems with one of the tags, MTBlogSharesOwned. It's probably something I'm doing wrong, but I'll work on it more later. Right now,... Read More

Blogshares plugin from -:|:-kathy and joe-:|:- diary on November 25, 2003 6:21 PM

Details on how to use.... David Raynes: MTBlogShares... Read More

Blogshares plugin from -:|:-kathy and joe-:|:- diary on November 25, 2003 6:21 PM

Details on how to use.... David Raynes: MTBlogShares... Read More

Just in case someone else gets errors like this on their blog, here's the legwork I did to fix mine...... Read More

We Started Dancing from A Work In Progress on December 29, 2003 10:41 AM

This is why BlogShares is so cool, and why, when I get some time this weekend, I'll add links to all of my current "shareholders," courtesy a MovableType plugin. I was doing this manually, end of the day, just checking out some of the people who own a ... Read More

Installed the duplicate comment prevention hack. [spotted at :Robyn:'s and :MTP:]. 2 new feeds: Brad's posts & comments: here. Jennifer's posts & comments: here. BlogShares plugin installed. Found a cool link at BlogShares... RSS feeds! I bet I know so... Read More

I am *such* a stud! from randyrathbun.org on May 23, 2004 10:32 AM

Okay, I got some stuff I was having trouble with the other day working just like I wanted it. As... Read More

Blogshare from shell42 ~ the geek log on February 4, 2005 2:07 PM

it is done. endlich sind wir bei blogshare.com gelistet Und das Handeln mit den fiktiven Aktien macht Laune und is so easy $-) Wenn ich das Spiel mal mit galaxywars, escape to space und all den anderen online strategie spielen vergleiche hat es allerdi... Read More

Blogshares from Toni's Corner of the World on June 3, 2005 6:37 AM

Remember…Bitter words are good medicine… Sweet words carry infection.Master Chen Hai Yang I've just discovered Blogshares. I'm still not sure how to play with it, but it looks fun. Check out what my site is worth!! If only it were... Read More

Blogshares from Toni's Corner of the World on June 3, 2005 6:40 AM

Remember…Bitter words are good medicine… Sweet words carry infection.Master Chen Hai Yang I've just discovered Blogshares. I'm still not sure how to play with it, but it looks fun. Check out what my site is worth!! If only it were... Read More

Blogshares Portfolio Worth from Toni's Corner of the World on September 5, 2005 6:46 AM

http://www.rayners.org/2003/06/mtblogshares.phpTonight I'm devastated :( The Blogshares portfolio was the disappointment. I couldn't work out why it wasn't displaying correctly (their spider is down), and when I checked my code I found that I've been d... Read More

63 Comments

Awesome! Thanks! :)

sweet! thanks.

Excellent!! Great plugin!! Thanks!

You da man!

No sooner do I wish for such a plugin, but it appears! Thanks!

GREAT WORK!!!

I am VERY VERY impressed. I love it.

BlogShares ROCK!!! I think it is a great idea. I found your post on the MovableType PlugIn forum, and thus your page and the BlogShares page.

Thanks for all this. Your work is really appreciated, and earnt your blog a perm link on my pathetic little blog. :)

One tip. While I expect most users will understand how to use your tags, it might be nice to post an example of how to use your plugin in their template. :)

Keep up the great work.

Hrm — it doesn't like me. Bleah. I keep getting an "HTTP request error" during rebuilds. My code looks like this:

<MTBlogShares>
<blog_url="http://www.djwudi.com/longletter/">
Current value: <MTBlogSharesPrice><br/>
Current P/E: <MTBlogSharesPE>
</MTBlogShares>

Am I goofing something up?

Michael: No I'm getting the same error on rebuilds. Pull the plug-in code in order to get the site to rebuild properly.

The Blogshares site is hosed. Looks like the traffic has made the database barf. A flaw they are aware of (hey, it's a beta).

David: Can you add something to the next plug-in update so it won't error out when it can't connect to the Blogshares site? Sadly, I'm not familiar enough with MT to hack plugins.

I have a question for you about the plugin: when is the cost for the share determined? When the blog is rebuilt? When the page is accessed? I noticed my stock price hadn't changed since I'd rebuilt the site.

Can you do something like this for b2? it's mainly php-tag based instead of this MTblahblah stuff.

Okay, I am confused. It worked after the first rebuild, but now it won't work, even tho it's the same code!!!!

<MTBlogShares>
<blog_url="http://www.bozzysworld.com/">
current price: <MTBlogSharesPrice>
blogshares p/e: <MTBlogSharesPE>
</MTBlogShares>

WTF!!! How come the code didnt show!!! Everybody else got their code to show!!! Why did you stop allowing HTML!!! UGGG This code sucks. It won't show errors, and it won't show what it's supposed to show...it only shows NOTHING.

My code looks like this guys:
Posted by: Michael Hanscom on April 2, 2003 05:36 AM

How the hell did he post his code in here??!?!?!

Does anyone know if you get problems when trying to use this on multiple blogs in the same MT? I have three blogs that are listed, but on BiblioBlog (www.biblioblog.com), everything is coming up as 0. Anyone else have this problem?

I made a stand-alone PHP version of your script. So check it out @ http://www.geeklab.net/ellis/more.php?a=23

I had trouble when I tried using the blog_url but I took it out and everything works just fine now.

I've tried it both with and without the blog_url and it's not working for me.

You have to use the "blog_url" as an optional argument of the MTBlogShares container...

<MTBlogShares blog_url="http://yourblog.url">

Then the rest of the code...

Thank you - worked like a charm!!

Fil, that worked perfectly! Thanks!

I'm one of those people where I just can't get it to generate anything, either with or without the blog_url specified.

Cut & Dried:
<MTBlogShares blog_url="http://www.reallans.com/mmml.shtml">
Price: <MTBlogSharesPrice><br />
P/E Ratio: <MTBlogSharesPE><br />
</MTBlogShares>

Any Ideas?

This is great. I love it (and blogshares).. I thought of a tag/information i would fun

Shareholders

it would list those users in blogshares (and links to their blogs?) that own shares of your blog. Could be fun way to add some value to owning your blog :). and fun to see who has bought shares in your blog.

Everyone using the plugin seems to have their blog's worth and sharevalue reset to "0" all day today. Any ideas on this and how to fix it?

http://www.tampatantrum.com/leftovers/003171.html

I seem to have the same problem. Do I have to do anything on my end to fix it as well?

Okay. I'm lost here. Where is the updated version of the plug-in? I re-downloaded the .zip file, and re-installed the .pl in the plugins folder, and still the same problem. Unless I downloaded the wrong file?

Thanks again -- works great! The only thing I had to change was in the hacked version, the available shares tag was "MTBlogSharesAvailableShares". By dropping "Shares" off the end of that, everything works like a charm.

I upgraded and I'm having problems with my portfolio cost showing up and outgoing link value showing as anything but 0. Anyone else having these problems?

I'm having the same problem as Kymberlie, I rebuild the index template and it still says $0. I tried on two different systems and still have that problem.

Hi, I'm having the same problem as the two above. My total portfolio says $0 even though that's not the case. My other Blogshares info from this plugin is showing up fine (share price & P/E).

Any ETA on the shareholders list tag? This is a great plugin. ;-)

Done. Very cool!

What's with the <MTBlogSharesOutgoingLinkValue> part of the plugin?
I can't get it to work...it always says "0"

Anyone know?

most of the time when the plugin doesnt work, it's because BS is still in beta and seyed keeps moving things around so just hold on and wait for the update.

Okay, I have something boogered here. I figure this is cockpit error, but can't for the life of me figure out what is wrong. Here is the code:

<div class="powered">
<MTBlogShares>
Price: <MTBlogSharesPrice><br />
P/E Ratio: <MTBlogSharesPE><br />
Shares Available: <MTBlogSharesAvailable><br />
Outgoing Link Value: $<MTBlogSharesOutgoingLinkValue><br />
Market Share: <MTBlogSharesMarketShare>%<br />

<MTBlogSharesUser id="3977">
My portfolio is worth $<MTBlogSharesTotalPortfolio><br />
</MTBlogSharesUser>

<MTBlogSharesUserRSS id="3977">
<MTBlogSharesUserStocks>
<a href="<MTBlogSharesUserStockLink>"><MTBlogSharesUserStockName></a><br/>
</MTBlogSharesUserStocks>
</MTBlogSharesUserRSS>

</MTBlogShares>
</div>

The problem is that the SharesUserRSS stuff is not working. I just installed XML::RSS from CPAN, so am sure that part is okay, but nothing spits out of there. Also, is it going to spit out the links to each website, or is it going to spit out the link to the BlogShares page for that website? I would like to see it do the former, if it is doing the latter.

Thanks for the May 1st update. I thought it was me and I was going crazy! Great work by the way.

Never mind - I got it working. Looks like I just had to wait for Blogshares to start spitting out data again.

By the way, I hacked the perl script to do the output of the links like I want them to be. Check it out on my site.

Hi David, I am trying to get your plugin to work, but I can't get the RSS information. Surely I haven't installed the XML::RSS perl module the way I should have done it due to my lack of perl knowledge.

I have created the directory extlib/XML/RSS, and placed the files RSS.pm and LM.pm in there. Can you tell me what I did wrong????

This is cool, but what I REALLY want is to be able to have a MTBlogSharesOwnerSiteLink tag so that if someone buys shares of my blog, they get a link to their site.

great plugin - thanks for fixing the bug when blogshares is down, caused me to stop using it, but now its firmly got its place on my blog

Is there any documentation on installing this and the Tags to use? I must be doing something wrong . I cannot get anything to pop up. does this have to be outside all the other Tags? ANy help would be great! please email me. I did install the XML parser and expat and the XML RSS parser not sure if I can find out if they are working but ... ANy help would be great!

Thanks

For some reason I'm having problems with my portfolio information showing. It used to, but now it doesn't. I even updated the plugin and still no go. Anyone have any ideas?

I'm having problems as well. I think it has to do with the perl scripting. If you check out the MT Forum Thread for this plugin I have the errors listed.

I tried pinging here, but I'll post the link to the entry just in case. Basically, MTBlogSharesOutgoingLinkValue isn't working for me. The post URL is here: http://sharp-eyed.us/archives/000132.php. Good luck chasing that Blogshares code!

More comment please? ;)

I cannot get this thing to work. I read that MT 2.6 or higher was required so I upgraded; still nothing. This is the code I'm using:

[MTBlogShares blog_url="http://www.stevemaas.com/selbstbild/"]
Current Price: [MTBlogSharesPrice][BR]
P/E Ratio: [MTBlogSharesPE][BR]
[/MTBlogShares]
(couldn't figure out how to get the code to show so i used brackets instead)
I see only "Current Price:" and "P/E Ratio:" on my page (http://www.stevemaas.com/selbstbild/ - it's on the bottom left).

Any ideas?

I guess you are doing a great job.Thanks for the info.

Will keep visiting your site.

Hey
I tried till now 5 times to setup MT on my XP.I tried to install it in office, it doesn't allow me to do so.Here they say it's advisable not to give FTP acess.

It would be nice if there was some way we could get our cash balance !

Any Blogs you know which are for Wirless devices.Can we setup MT for Wireless networking devices?

On the blogshares site, they say I have a networth of B$55 million, but your plugin reports only B$40, does your plugin take into consideration Idea Bonds and Ideas?

Cash Balance tags please ?? ? ?

Cash Balance tags please ?? ? ?

Cash Balance tags please ?? ? ?

When the blogshares website was experiencing heavy problems (18-20 September) I noticied that my Movable Type site couldn't be rebuilt anymore, due to this plugin! I removed some parts of the blogshares-plugin (about shares and share-owners), then everything worked fine. My total worth was $0 but that was just fine for me.
My question: are some parts of the plugin dependent of the fact that the blogshares website has to be up and running???

Hi :) Would you consider adding user ideas to this? You can pull all the info from the one API page now for individual users which gives shares held, ideas held, net worth, ranking etc etc.. here's a sample:
http://www.blogshares.com/api/user.php?id=5178
cheers :)

Sweet plug-in.

Here's a couple of feature suggestions for you: How about including ranking, ideas, artifacts and industries?

Hi :) Would you consider adding user ideas to this? You can pull all the info from the one API page now for individual users which gives shares held, ideas held, net worth, ranking etc etc.. here's a sample:
http://www.blogshares.com/api/user.php?id=5178
I'm trying to adapt from your script but not having much joy.. :(

Are you going to update this plugin after jay took over b$ and changed stuff around ?

Tried the plugin tonight. Can't get it working. On trying to rebuild the template after putting the tags in, I get:

An error occurred:
Build error in template 'Main Index': Error in MTBlogShares tag:
MT::App::CMS=HASH(0x8361070) Use of uninitialized value in concatenation (.) or string at lib/MT/Builder.pm line 121.

MT version is 2.64

Just installed the plug-in, I've seen it in use on a number of sites. Followed the directions to the letter.

The P/E shows up just fine. The share price and "my portfolio" values just display as "0".

MT 2.66, BTW.

Like the commenter named "dqci", I just installed the plugin and consistently receive a $0 for the price per share. My P/E ration shows up properly.

Any idea what's going on or how to fix it?

FYI, I'm running MT 2.661.

Leave a comment

Recent Entries

  • Must Be Doing Something Right

    It’s not because they say please and thank you so often (and appropriately). It’s not that they hug each other and say they’re sorry (eventually)...

  • Because tests and bugs are fun

    A colleague of mine just shared this particular frustration: yargh. my test passes if all of the objects are created within the same second, but...

  • Upgraded to MT 4.23

    So, yeah, it’s a month late or so, but I’ve been really busy. I finally upgraded this site to Movable Type 4.23. Maybe I’ll even...

  • I apologize about the feed updates

    I’m deploying a development version of my MediaConsumer plugin and a number of entries might appear as updated in feed readers as I start applying...

  • Plugin Writing 101

    So, I’m planning on writing up some entries about various aspects of plugin development. While I have a couple topics already in mind, I thought...

Close