KartikPrabhu, [kevinmarks], [jeremycherfas], [pfefferle] and [jgmac1106] joined the channel
#[jgmac1106][aaronpk] @kartikPrabhu am playing with the same idea when creating vita pages for our faculty, So <section class="h-entry" id="Publications"><h1 class="p-name">Publications</h1> After sharing my post on universities ditching the CMS found out we are moving to Drupal (good enough for me) and I reviewed the indieweb stuff @swentel is working. Asked me to develop a use case and explain why microformats would be good to bake into templates
#ZegnatThis sounds almost as if you would want to expand implied u-url with something like “a link to the current microformat’s root per the document rules”. Which for HTML would be taking the absolute URL of the current document and adding the contents of the id-attribute as a fragment string.
#ZegnatSo if you run into an h-entry that does not contain a u-url in some other way, you check for an id attribute on the h-entry’s element and generate a u-url from there.
#[jgmac1106]@zegnat, yes that would make sense. For publications I would sometimes have an <a> tag but other time I would have to use the id -attribute. I should probably have said they want user stories not a use case. I need to justify what is gained my marking up faculty bio pages. Why do we need to make our Drupal instance "indieweb powered" [aaronpk] idea of ToC sparked my thinking . Part of my user story is allowing faculty access to their own ana
#[jgmac1106]that make sens for their field...rather than analytics just for university marketing
#Zegnat[jgmac1106], well, for adding mf2 to a page, it is often a question of the consuming use case. Who or what is going to be consuming the HTML. That is always the justification for mf2.
#[kevinmarks]we have h-item which is generic and h-product which may work as it has a UPC
#ZegnatI think your current u-url points at the product’s page, and not at the review itself. But because it is the url property of the review, it should point at the review.
#[xavierroy]If I get the list view right, I want to update the book covers view too.
#ZegnatHonestly it looks more like you have a list of books (like my bookshelf), and not a list of reviews there. So not sure I would have bothered with the review mf2 at all on that page
#[xavierroy]Ok. I can fix that or use a recursive link.
#[xavierroy]I just pull ratings off the sheet. I can just add one more column for reviews to make it a complete review
#ZegnatIf you are interested in making the book data available through mf2, I would definitely recommend a nested h-item/h-product/h-book within the review. So the url there can link to Amazon, author can be the book’s author, etc.
#[xavierroy]One idea I've been thinking is to reuse the same data as an input to Hugo to generate a site, but this Exhibit is more eye-candy
#[xavierroy]That's a good idea. I'll see how to do that
#Zegnath-review has an item property that you can nest a different microformat into
#[kevinmarks]the Hugo site would be easier for external parsers
#[kevinmarks]it's more which you consider primary I think.
#ZegnatThat is for two different usecases, really. On my block I may post a review and embed a product with descriptive values. But on my webshop the page is a product where I would embed reviews people left below.
#[kevinmarks]you can embed microformats arbitrarily and have the parser understand them, but what the wiki shows is based on looking at existing patterns.
#[xavierroy]Got it. So I need to evaluate what is my page going to be? A collection of books or reviews
#ZegnatActually, you also log where you read it and when you read it, right? Some people have been experimenting with “read” posts. So those may even be a possibility too!
#Loqi[aaronpk] @gRegorLove I'm looking at the parsed result and it looks like it's including an `html-lang` property in the wrong place.
```html
<div class="h-entry" lang="sv" id="postfrag123">
<h1 class="p-name">En svensk titel</h1>
<div class="e-content...
#ZegnatContext is completely different, of course. But shows how nice it is when we can make use of the fact that multiple values for a property are (always) possible
#[jgmac1106]@zegnat going to be using an API that will render and XML file to be parsed back into HTML. The consumers would hopefully be folks interested in the research and classes taught by faculty. So like the Amazon example but for academic publishing.
[eddie], gRegorLove, [kevinmarks], [jgmac1106], sebsel, iwaim, KartikPrabhu, barpthewire, webchat291, JonathanNeal_ and kaushalmodi joined the channel