#microformats 2011-02-25
2011-02-25 UTC
# tantek edited /hcard-articles (-130) "Reverted edits by [[Special:Contributions/Dan0810|Dan0810]] ([[User talk:Dan0810|Talk]]) to last version by [[User:Tantek|Tantek]]" (view diff)
kennyluck joined the channel
kennyluck_, csarven, GasbaKid, tantek and kennyluck joined the channel
# ChiefRA guys, I need some help, if any of you available, please tye my nick name here
GasbaKid joined the channel
# ChiefRA 1298641991
# ChiefRA anyone online from you guys?
# singpolyma ChiefRA: Just ask your question. People lurk and will eventually see it. Much more effective than a presence query
# ChiefRA oki doki
# ChiefRA I've implemented a vcard and I need an aditional tag for the languages spoken for that person
# singpolyma ChiefRA: You could use rel=tag
# ChiefRA rel-tag supports value ?
# ChiefRA as I need to put many languages
# ChiefRA I am having now deifned languages like this <dd>Danish, </dd>
# ChiefRA one after another the languages are delimited through dd
# ChiefRA I wanted to implement it like this: <dd class="note" value="language-spoken">Danish, </dd>
# singpolyma I'm not sure what you mean "supports value"? The languages a person speaks are arguable tags for that person, or categories, so you could use rel=tag or class=category or both
# ChiefRA with note but it doesn't support the value
# ChiefRA see the example above.
# singpolyma What would that syntax mean? value="" isn't allowed on dd... and language-spoken doesn't seem like a value at all
# ChiefRA can you please build me an example?
# singpolyma <div class="vcard"><span class="fn">John Smith</span> speaks <a href="http://en.wikipedia.org/wiki/English_language" rel="tag">English</a></div>
# ChiefRA no, you're right on the spot
# ChiefRA that's the way I'm using the languages
# ChiefRA so I would like just to give them an hCard form
# ChiefRA yes, but I don't want to append an URL to each language spoken
# ChiefRA I just want to mention them.
# ChiefRA like in your example Phae
# ChiefRA your example is the exact code I';m using on the website right now
# singpolyma ChiefRA: You could use class="category" if you really don't want to disambiguate with a URI
# ChiefRA <dl class="group">
# ChiefRA <dt>Languages: </dt>
# ChiefRA <dd>Danish, </dd>
# singpolyma <dl><dt>Languages</dt><dd class="note">Danish</dd></dl> or some such
# ChiefRA this is my code, and since I've implemented the hcard on the person, I would like to outline these values (languages spoken) as a hcard values also
# singpolyma or put the class="note" on the whole <dl> could work as well, then you just end up with a freeform blob of the whole list
# ChiefRA ok I'll do it right now and come back in a sec :)
# ChiefRA thank you
# singpolyma ChiefRA: Not a note about µformats per se, but you might not want to put things like : and , inside the <dd> if you want the data to be meaningful. Better to use CSS, imho. That's more of an opinion, though
# singpolyma I usually use "note" for bio, but I guess it's pretty freeform
# ChiefRA so in this case, Phae you think it's appropriate to use the note tag?
# ChiefRA anyhow, it works so far, take a look at the first example: http://microformatique.com/optimus/?format=validate&uri=http%3A%2F%2Fwww.galaxies-reborn.com%2Farthur%2Foffices%2Foffices2.htm
# singpolyma Yeah, if you just need it to be human readable that seems to be working out pretty well
# ChiefRA I'm using it for offices instead of people, but that;s ok.
# ChiefRA and the languages is the languages spoken into that particular office.
# ChiefRA thank you guys, I'll implement it like this and see on the future if there will be a special tag designated for this.
# ChiefRA I also have a description of each office, which tag should I use for that ?
# ChiefRA or it's out of the hcard purpose?
# ChiefRA mm ok then, I'll skip the description.
# ChiefRA but the languages spoken in that office, are useful to fit into the business card.
# ChiefRA at least in my oppinion
# ChiefRA and to feed them all, I've implemented a hfeed tag on a higher DIV. Is that enough ?
# ChiefRA <div class="hfeed list">
# ChiefRA like that
# singpolyma ChiefRA: Nothing prevents you from using good http://microformats.org/wiki/posh to mark up things nicely (like class="language" or the <dl> you're using, or class="description") -- but microformats tend to specifically encode some vocabulary that may not contain a property name for every piece of data you have :)
# singpolyma You wrapped the hCards in an hfeed? Are they a feed somehow?
# singpolyma edited /poshformats (+98) "/* known poshformats */ added POSHstream as a known POSHformat" (view diff)
# ChiefRA singpolyma the full list of offices, shoule be feeded yes.
# ChiefRA well, it's a list of worldwide offices a company has.
# ChiefRA so when an office will close, and another will rise,
# singpolyma Not a feed is the sense of an hAtom feed
# ChiefRA thay will all be in the same list.
# singpolyma hAtom is like Atom : blog posts and other regularly updated things or similar
# ChiefRA ok then I understand it wrong, I thought it's like that, but in a microformats style
# ChiefRA so what's the purpose of this hfeed tag then?
# singpolyma < singpolyma> hAtom is like Atom : blog posts and other regularly updated things or similar
# Phae http://microformats.org/wiki/hfeed it's part of hatom
# ChiefRA Phae, so I get it right then ?
# ChiefRA I'm confused.
# singpolyma ChiefRA: Are you familiar with Atom or RSS feeds?
# ChiefRA I'm not an expert if that's what you ask me, I have a clue though
# ChiefRA they're used to update a very fast changing data, not slow changing data.
# ChiefRA and you say that these offices may change or not over time.
# ChiefRA :)
# ChiefRA and I getting your point correctly ?
# ChiefRA no, true.
# ChiefRA they'll be there for years.
# ChiefRA hope so :)
# ChiefRA well, anyway, I got your point, the hfeed is obsolente in my situation.
# ChiefRA :))
# ChiefRA google will do a good job updating at least once a month these infos so...
# ChiefRA :)
csarven joined the channel
# ChiefRA -than kyou so far :)
# ChiefRA and you're not get rid of me just yes, as I wish to implement the hlisting too :D :)))
# ChiefRA just yet*
# ChiefRA I cna't type today ...
# ChiefRA something is wrong with my fingers :))))
# tobyink ChiefRA: my parser supports <span class="lang">en</span> to mark up languages spokeb. (Taken from vCard 4.0's LANG property.)
# tobyink Assuming that one day hCard (or hCard 2.0) is based on vCard 4.0 rather than vCard 3.0, other implementations will presumably also add support.
# ChiefRA tobyink but in order to be human radable and machine a like, your example should look like this in a "future" microformats markup language: <span class="lang" value="en">English</span>
# tobyink It supports all the usual microformats patterns, including value-title.
# ChiefRA tobyink 3 days ago, I left you a pm that your website was down.
# ChiefRA did you managed to put it back up ?
# ChiefRA I would like to test it.
# tobyink So you could do: <span class="lang"><span class="value-title" title="en"></span>English</span>
# tobyink But that's more annoying to type into an IRC client. :-)
# tobyink my database always crashes. I'm on an old beta version - really should upgrade it some time.
# ChiefRA :)))) I could try to implement it if your example is in microformats standards.
# tobyink my website's back up.
# ChiefRA is value-title accepted as vcard option ?
# ChiefRA option = parameter
# ChiefRA reading it now, ty
# tobyink filling out tax return online. Question "were you party to one or more tax avoidance schemes?" If I were, surely I wouldn't select "Yes"...
# ChiefRA tobyink I've read it, but I didn't see, can this valut-title be nested? I need to list like 4-10 languages in a vcard.
# ChiefRA value-title*
GasbaKid joined the channel
# tobyink You should be able to use something like <span class="lang"><span class="value-title" title="en,de,fr"></span>English, German and French</span>
# singpolyma tobyink: Would it not be better to use multiple class="lang" instead of comma sep stuff?
# tobyink yeah - I think I support both, but it's been a while since I looked through the code.
# ChiefRA bbl guys.
dzhus, philback, Chief|AFK, milk_ and mkaply joined the channel
# saveontapestries edited /hcard-examples-in-wild (+220) "/* new and uncategorized examples */" (view diff)
csarven, tantek and Amorphous joined the channel