Hello,<br><br><div><span class="gmail_quote">On 12/4/05, <b class="gmail_sendername">Mr Michael Wiechers</b> <<a href="mailto:whoisstan@yahoo.com">whoisstan@yahoo.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hey,<br> <br> I created a little description:<br> <a href="http://www.merkwelt.com/people/stan/marioKartDSMicroformat.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.merkwelt.com/people/stan/marioKartDSMicroformat.html
</a><br> <br> 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.
<br> <br> Does that make sense?</div></blockquote><div><br><br>Yeah, sounds good.<br><br>However, let me make one suggestions. Although I don't think it is a rule, people tend to choose lowercase names for class names. For example, people use "vcard" and not "vCard". So perhaps you may want to use "mariokartds-id" or "mario-kart-ds-id" or something like that (instead of "marioKartDS-ID"),
<br><br><br>See ya<br><br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div> Thanks,<br> Stan<span class="q"><br><br><b><i>Charles Iliya Krempeaux <
<a href="mailto:supercanadian@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">supercanadian@gmail.com</a>></i></b> wrote:</span><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">
Hello,<span class="q"><br><br>On 12/3/05, Mr Michael Wiechers wrote:<br>> Hey!<br>><br>> I like microformats. I had a microformat idea and wanted to run that by you<br>> to see if that this makes sense. I play Mario Kart on my Nintendo DS a lot,
<br>> it allows you to play online with your friends. A friend is added to
the<br>> system by entering a code, every person has a code.<br>><br>> Right now I just have the code on my personal website:<br>> <a href="http://www.merkwelt.com/people/stan/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.merkwelt.com/people/stan/</a> (first thing under<br>> whoisstan)<br>><br>> So I was thinking of replacing:<br>> </span><li> <img>390901938389</li><br>><br>> with<br>><br>> <li><img>
<span><br>> class="marioKartDS">390901938389</span></li><div><span class="e" id="q_107f6c880731e43a_5"><br>><br>> Does that make sense, so I stumble over a personal website with that code I<br>> could have a bunch of games with that person. What I'm not clear on is how
<br>> an application/robot could make sense of that?<br><br>Well, an application or robot could scan the page for tags/elements<br>that have the class "marioKartDS". When it does, it then checks to<br>see if that element has a "title" attribute... if it does, it uses
<br>that... if not, it uses the innerHTML. Make sense?! Here's some<br>JavaScript pseudo code:<br><br> var
elements = document.getElementsByClassName("marioKartDS");<br><br> if ( elements && elements.length ) {<br> // We found some marioKartDS Microformats!<br><br> for (var i=elements.length-1
; i>-1; i--) {<br> var code = elements[i].getAttribute("title");<br> if ( ! code ) {<br> code = elements[i].innerHTML;<br> }<br><br> // #### TODO #### Do something with the code you found.
<br>(Let's play :-) )<br> }<br> }<br><br>Does that help?<br><br><br>> Say I would be using the<br>> geocode microformat as well and the "cuisine" microformat I would be able to<br>> find people that like vietnamese cuisine, live in new york and have a mario
<br>> kart DS. Which kind of application do the aggregation and would allow me to<br>> run a query like that?<br><br>There may not be one that exists yet. You could write your own (if<br>you are a software engineer). You could make a webcrawler.
Or you<br>could make a user script (using greasemonkey). Etc.<br><br>Also, various people on this lists are probably working on stuff like<br>this. (So it may be just a matter of waiting a little while.)<br><br><br>See ya
<br><br>--<br> Charles Iliya Krempeaux, B.Sc.<br><br> charles @ <a href="http://reptile.ca" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">reptile.ca</a><br> supercanadian @ <a href="http://gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
gmail.com</a><br><br> developer weblog: <a href="http://ChangeLog.ca/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://ChangeLog.ca/</a><br>___________________________________________________________________________
<br> Never forget where you came from<br></span></div>_______________________________________________<span class="q"><br>microformats-discuss mailing list<br><a href="mailto:microformats-discuss@microformats.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
microformats-discuss@microformats.org</a><br><a href="http://microformats.org/mailman/listinfo/microformats-discuss" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://microformats.org/mailman/listinfo/microformats-discuss
</a><br></span></blockquote><br></div><p><span class="q">
                <hr size="1"> <b>Yahoo! Personals</b><br>
Single? There's someone we'd like you to meet.<br></span>
Lots of someones, actually. <a href="http://us.rd.yahoo.com/evt=36108/*http://personals.yahoo.com+%0D%0A" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Try Yahoo! Personals</a>
</p><br>_______________________________________________<br>microformats-discuss mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:microformats-discuss@microformats.org">microformats-discuss@microformats.org
</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://microformats.org/mailman/listinfo/microformats-discuss" target="_blank">http://microformats.org/mailman/listinfo/microformats-discuss</a><br><br>
<br></blockquote></div><br><br clear="all"><br><span style="font-family: courier new,monospace;">-- </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> Charles Iliya Krempeaux,
B.Sc.</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> charles @ <a href="http://reptile.ca">reptile.ca</a></span>
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> supercanadian @ <a href="http://gmail.com">gmail.com</a></span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> developer weblog: <a href="http://ChangeLog.ca/">http://ChangeLog.ca/</a></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
___________________________________________________________________________</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> Never forget where you came from
</span>