2013-02-23 UTC
polvo, KevinMarks, tantek and bnvk_ joined the channel
bnvk joined the channel
bnvk joined the channel
bnvk and fleishters joined the channel
# 07:11 fleishters beginning to implement microfmats and RDFa into my page, but am a bit confused:
# 07:12 fleishters should i only implement microformats/RDFa on the main content, or should I use it on anything that machines might need further clarification for?
# 07:13 fleishters (for example, even if my post isn't a review of Avatar, should I add microdata to the post to make it clear I'm speaking of Avatar the movie?)
# 07:13 fleishters excuse me, not microdata.
# 07:13 tommorris if it isn't a review, then you probably shouldn't use hReview or equivalent
# 07:14 fleishters I am more referring to RDFa with that example, where it defines something as an object and that object as a movie.
# 07:15 tommorris so, with my RDFa hat on, I'd say there are ways to represent that
# 07:15 tommorris like, each post is a Post. some subset of those are reviews
# 07:16 tommorris the ones where it is just about a movie but isn't a review, you can use something like foaf:primaryTopic to represent that relation
# 07:17 fleishters What if it's just a personal blog entry and there's some sentence like "Went to see Avatar."
# 07:18 tommorris well, you could do something like <a href="http://en.wikipedia.org/wiki/Avatar_(movie)" property="foaf:primaryTopic" rel="tag">Avatar</a>.
# 07:19 tommorris there's a stacking there of RDFa and microformats (rel-tag)
# 07:19 fleishters Okay. Do you think something like that in the context of a personal blog entry is worthwhile?
# 07:20 tommorris well, if you buy into the worth of RDFa, sure. whether it's worth doing is kind of up to you. ;)
# 07:20 tommorris but then I'm an RDF nut and okay with that. I expect Tantek would quite probably disagree with me. :)
# 07:20 fleishters I guess it's interesting when I want to do arbitrary queries like "How many times did I blog about a movie"
# 07:21 tommorris thing with primaryTopic is that it "is functional: for any document it applies to, it can have at most one value"
# 07:22 fleishters Do you have a blog/site that you implement RDFa/microformats for?
# 07:25 fleishters ooh this markup is intriguing
# 07:30 fleishters what an appropriate and true expression
# 07:30 fleishters thank you for your help, and your site is a great example for me, even if it's hacky. gotta be off now.
# 07:30 fleishters have a great --- night? whatever it is in london.
eschnou joined the channel
tantek, eschnou, impomatic, barnabywalters, nonge, tobyink, bnvk, charl_, gjones and chiui joined the channel
# 16:41 tommorris hey gjones - just downloading microformats-node to play with on the train back to London
# 16:42 tommorris just want to do proof of concept on microformats2 hcite-to-bibtex.
# 16:44 gjones Tell me how you get on, always good to get feedback
# 16:44 tommorris downloaded it, ran `sudo npm link` and booted up the server, and run the legacy and current test suites, both of which pass
# 16:46 tommorris my plan is to write some code (probably in Ruby or Python) that calls the microformats-node server with some documents containing hcite and then writing functions to convert them to bibtex
# 16:46 gjones Is hcite is experimental format? is it document on the wiki?
# 16:48 tommorris writing the hcite-to-bibtex code atop microformats2 node parser is sort of an attempt to prove the concept
# 16:48 tommorris and given I'm going to be spending the next 24 hours travelling, I figure I may as well have a crack at it. ;)
# 16:48 tommorris (venice -> paris on overnight sleeper, then paris -> london on eurostar)
# 16:49 tommorris anyway, the node daemon seems to be running and I have the source code from github. so, chocks away.
# 16:49 tommorris if I get bored, I'll perhaps try and write a uf2 parser in Ruby.
# 16:50 gjones if you are parsing microformats 2 i.e. h-cite should work out the box. If you want to parse microformats 1 version i.e. hcite you will need to create a new mapping file
# 16:51 tommorris also, I'll be interested to see how your parser copes with legacy-to-uf2
# 16:51 tommorris anyway, gotta shower and get ready to leave. thanks for the great work on making such a well-specced parser
# 16:51 gjones Good luck and travels
# 17:17 impomatic will probably use h-cite
# 17:21 impomatic Would <abbr class="dt-published" title="YYYY-MM-DD">......</abbr> work / be appropriate? Also what to put if the day and/or month is unknown?
# 17:23 josephine created /User:Josephine (+255) "New page: There is nothing to tell about me really.<br>Enjoying to be a member of microformats.org.I love webdesign and programming css templates.<br><br>I just hope Im useful at all<br><br>my webpa..." (
view diff )
bnvk joined the channel
tobyink joined the channel
bnvk and zztr joined the channel
bnvk, Cat4D and tantek joined the channel
adamovy joined the channel
barnabywalters joined the channel
# 20:57 tantek impomatic, though h-cite was designed primarily for online references, most of its properties work for offline references as well
# 20:58 tantek e.g. the first example has an author, name (of work), publication, and published date
# 20:59 tantek we learned it's pretty futile to try to model every single possible citation property (you just end up with an overdesigned mess), so it makes more sense to markup common items for now.
# 20:59 tantek in fact, in the first item, the only thing left not marked up would be "4-5" - which doesn't even have any meaning out of context.
# 21:02 impomatic 4-5 are the page numbers. Should the date be marked up <abbr class="dt-published" title="1987-03">Mar 1987</abbr> ?
# 21:02 tantek close. <time> is better: <time class="dt-published" datetime="1987-03">Mar 1987</time>
# 21:03 tantek for any extra properties btw, since this is microformats2, you can experiment with p-x-* properties
# 21:03 tantek e.g. for the page numbers: <span class="p-x-page-numbers">4-5</span>
# 21:27 impomatic The "1" before the date is the issue number. (it was a periodical)
bnvk joined the channel
# 21:38 tantek impomatic, so similarly then for the "1", <span class="p-x-issue-number">1</span>
bnvk and bnvk_ joined the channel
nonge_ and bnvk joined the channel