• Categories

  • Archives

  • Subscribe

  • Meta

European Cup 2008 Auto-Updating Visio Diagram (v2)

Posted by Visio Guy on June 21st, 2008 896 views

Read Full Article

UPDATE!

Hey football/soccer fans! We've got an update to our automated smart drawing for this years European Cup soccer tournament.

Perhaps you are familiar with the first version, which can be found here: European Cup 2008 Auto-Updating Diagram

Well, that version needed a few updates, most notably, the handling of games that are resolved with penalty-kicks, or shoot-outs.

The web service documentation did not sufficiently describe how these situations were reported, so we had to wait for Turkey's spectacular victory over Croatia to see what kind of data we got. It turns out, that the scores are just reported as strings. So for Croatia vs. Turkey, we got:

1-1 (P 1-3)

Clearly some text parsing was in order, and the new version should handle it just fine.

While I was repairing the code, I enhanced some other bits. These are the new features for v2:

  • Although there is no winner box, the winner will be clearly shown.
    You might have noticed how in the thumbnail for this article.
  • Draws are now indicated with color, instead of left as though nothing happened.

  • Penalty-kick situations are now properly handled by the shapes and code:

Enjoy the rest of the tournament!

Please note, if you haven't already configured the first version, that you need to Download and install the Microsoft Office XP Web Services Toolkit 2.0 from Microsoft in order to get the web-service code to work.

Download: eurocup-2008-bracket-v2.zip (420 KB)

Share this article!

These icons link to social bookmarking sites where readers can share and discover new web pages.

  • StumbleUpon
  • Digg
  • del.icio.us
  • Technorati
  • YahooMyWeb
  • Slashdot

Related Posts:

2 Responses to “European Cup 2008 Auto-Updating Visio Diagram (v2)”

  1. Michael Says:

    Brilliant!!! Thanks
    now all I need is another win tonight :-)

  2. Visio 3D network shapes | lohan.me Says:

    […] includes the iPhone, blinging flashes and swank for your shapes, glass effect tutorials and even a self-updating World Cup diagram […]

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  • Tag Cloud

  • Recent Comments on Visio Guy

  • RSS The Latest from the Visio Guy Forum

  •