[uf-discuss] ninentdo mario kart DS microformat

Mr Michael Wiechers whoisstan at yahoo.com
Sun Dec 4 09:18:45 PST 2005

  I created a little description:
  So I guess I can write a little greasemonkey script that pop's up a  message when it finds a marioKartDS-ID element, probably showing the  hCard properties as well. Maybe linking to the player-stats if they are  available from nintendo.
  Does that make sense?

Charles Iliya Krempeaux <supercanadian at gmail.com> wrote:  Hello,

On 12/3/05, Mr Michael Wiechers  wrote:
> Hey!
>  I like microformats. I had a microformat idea and wanted to run that by you
> to see if that this makes sense. I play Mario Kart on my Nintendo DS a lot,
> it allows you to play online with your friends. A friend is added to the
> system by entering a code, every person has a code.
>  Right now I just have the code on my personal website:
>  http://www.merkwelt.com/people/stan/   (first thing under
> whoisstan)
>  So I was thinking of replacing:
>  with

> class="marioKartDS">390901938389
>  Does that make sense, so I stumble over a personal website with that code I
> could have a bunch of games with that person. What I'm not clear on is how
> an application/robot could make sense of that?

Well, an application or robot could scan the page for tags/elements
that have the class "marioKartDS".  When it does, it then checks to
see if that element has a "title" attribute... if it does, it uses
that... if not, it uses the innerHTML.  Make sense?!  Here's some
JavaScript pseudo code:

    var elements = document.getElementsByClassName("marioKartDS");

    if ( elements && elements.length  ) {
        // We found some marioKartDS Microformats!

        for (var i=elements.length-1; i>-1; i--) {
            var code = elements[i].getAttribute("title");
            if ( ! code ) {
                code = elements[i].innerHTML;

            // #### TODO #### Do something with the code you found. 
(Let's play :-)  )

Does that help?

> Say I would be using the
> geocode microformat as well and the "cuisine" microformat I would be able to
> find people that like vietnamese cuisine, live in new york and have a mario
> kart DS. Which kind of application do the aggregation and would allow me to
> run a query like that?

There may not be one that exists yet.  You could write your own (if
you are a software engineer).  You could make a webcrawler.  Or you
could make a user script (using greasemonkey).  Etc.

Also, various people on this lists are probably working on stuff like
this.  (So it may be just a matter of waiting a little while.)

See ya

    Charles Iliya Krempeaux, B.Sc.

    charles @ reptile.ca
    supercanadian @ gmail.com

    developer weblog: http://ChangeLog.ca/
 Never forget where you came from
microformats-discuss mailing list
microformats-discuss at microformats.org

 Yahoo! Personals
 Single? There's someone we'd like you to meet.
 Lots of someones, actually. Try Yahoo! Personals
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://microformats.org/discuss/mail/microformats-discuss/attachments/20051204/139f5b22/attachment.htm

More information about the microformats-discuss mailing list