#dev 2024-06-04

2024-06-04 UTC
m2, zicklepop, geoffo, barnaby, bterry, DJ_[dj_je][d], [qubyte], IWSlackGateway, [jeremycherfas], [tantek], [aciccarello], [Joe_Crawford], [Paul_Robert_Ll], [0x3b0b], GuestZero, amyiscoolz, [Murray], GuestZero_, EnlGmA, [KevinMarks], [lcs], nertzy, [pfefferle], gRegorLove_, claudinec and [schmarty] joined the channel
#
kongaloosh
[snarfed]: a bit late, but ty
#
[tantek]
a wild kongaloosh appears!
hacknorris joined the channel
#
hacknorris
already here
#
hacknorris
so how it is with xml and microformats?
#
[Joe_Crawford]
so the question is, if there is an xml file that serves `text/xml` and yet has `class` attributes in its content, can that qualify as microformats, and do the parsers in usage pick them up? is that the q hacknorris?
#
hacknorris
sort of
#
hacknorris
i want one single file in xml to be readable by browser, rss feed readers and to accept webmentions.
#
[Joe_Crawford]
and do you distinguish xml documents from xhtml in this question? or not really part of the w?
#
hacknorris
i do
#
hacknorris
(url works, opens in browser, even with dark mode ;) )
#
hacknorris
no, this one i didnt added anything like class
#
[tantek]
what's the user-centric use-case? I totally get the polyglot appeal personally 🙂
#
hacknorris
i thought of making other blog in total text form
#
[tantek]
love this kind of experimentation
#
[Joe_Crawford]
I'm not thinking of anything that precludes using xml for markup which contains microformats. There is this page on the microformats site: http://microformats.org/wiki/plain-xml
#
[Joe_Crawford]
Mostly writing handrolled html content over the years, I find the rigor of xml appealing. - because I can check my work with a validator and know it precisely validates with no fudging or warnings.
#
[tantek]
maybe I'll have to make an April Fools proposal to add RSS (or Atom) elements to the HTML standard
#
[Joe_Crawford]
But I get fun out of validating against exotic DTDs. HTML 2.0 for example. https://tilde.club/~artlung/
#
[Joe_Crawford]
oooh. maybe I'll make a page that's XHTML2 for no good reason because it's a cursed dialect. https://www.w3.org/TR/2010/NOTE-xhtml2-20101216/
#
jimwins
Make HTML SGML again?
#
[Joe_Crawford]
More like historical reenactment.
#
[tantek]
[Joe_Crawford] in that case you may also like https://microformats.org/wiki/html3
#
[Joe_Crawford]
:exploding_head: I love it.
#
[Joe_Crawford]
hacknorris++ back to what you're trying -- fully hope you get your microformats-in-xml working enough to try webmentioning and getting webmentions!
#
Loqi
hacknorris has 1 karma over the last year
#
hacknorris
getting maybe not cuz raw XML prohibits scripts as it was meant for DBs
#
hacknorris
but being listed on webmentions.io possibly…
#
[Joe_Crawford]
It's all about where the parsers expect the elements to be. And you can do a lot in XML. CDATA sections means you can stuff in what you like. XML namespaces mean you can inherit tags from other dialects. But for sure go as simple as you can to start.
#
[tantek]
exactly, Webmention does not require scripting/scripts of any sort
#
[Joe_Crawford]
hacknorris++ yessssssssss
#
hacknorris
yup!
ttybitnik, barnaby, barnabywalters and bterry joined the channel