#microformats 2020-12-26

2020-12-26 UTC
[dmitshur], strugee, [tantek], gRegorLove, plenglin and [chrisaldrich] joined the channel
#
plenglin
I'm trying to figure out a better microformat for my tagging system. Right now, a tag like `cpp` refers to a regular tag. A tag starting with a /, like `/project/astrid-tech/` or `/blog/2020-11-14-kombucha/`, refers to a specific object that is described by a page with that slug.
[dmitshur] joined the channel
#
plenglin
I've been looking at machine tags (object:project=astrid-tech, compsci:language=cpp), or URN's (urn:astrid-tech:project:astrid-tech), or possibly just referring to objects with their fully qualified URI (i.e. https://astrid.tech/projects/astrid-tech/ or maybe use a custom scheme)
#
plenglin
Hmm, maybe I'm just completely misinterpreting how triple tags are meant to work
[KevinMarks] joined the channel
#
[KevinMarks]
That's a bit like the rel-tag ragspacw idea
#
[KevinMarks]
*tagspace
#
plenglin
the using fully qualified URI's bit?
#
plenglin
I do have tag pages located at slugs like `/tags/cpp/`
#
plenglin
Oh wait, are machine tags are meant to be more like like `mentions:project=astrid-tech` or `part-of:project=astrid.tech` or `uses:cslang=cpp`?
#
plenglin
Some of these places I'm looking at say machine tags don't require values
#
gRegorLove
I think most consumers expect the tag value to be plaintext so aren't doing much special with them beyond that. You could use class="u-category" on the link and the parser would parse the URL instead of the tag name, but consumers don't know to do anything special with that resulting URL
#
gRegorLove
person tag is an exception, that's `u-category h-card` since it's tagging a person. https://indieweb.org/person-tag
#
plenglin
Oh, sorry if I wasn't clear, this system would be used internally by my own code
#
plenglin
Like, in the frontmatter of my markdown files defining what's there, I would write the tag string and my code would use that
#
plenglin
Currently, that's in the slugs-or-non-slugs format, but I feel like there's a better way to do it
#
plenglin
I guess my brain is going overkill and trying to turn my project into RDF...
Daniel, [Rose], [davidmead], [snarfed], [jeremycherfas], [fluffy], [Raphael_Luckom], [KevinMarks], craftyphotons__ and KartikPrabhu joined the channel