digitalcourage.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Diese Instanz wird betrieben von Digitalcourage e.V. für die Allgemeinheit. Damit wir das nachhaltig tun können, erheben wir einen jährlichen Vorausbeitrag von 1€/Monat per SEPA-Lastschrifteinzug.

Server stats:

836
active users

#RDFa

0 posts0 participants0 posts today

📢 Releasing tei-rdfa (beta)

▶️ Python utility for extracting RDFa data from TEI-XML documents
▶️ Resolves native TEI namespace formatting (through <prefixDef>)

🌐 pypi.org/project/tei-rdfa/
🌐 github.com/timofruehwirth/tei_

We welcome beta testing, feedback & contribution via #GitHub.
Boosts will be very much appreciated.

@ACDHCH_OeAW @oeaw @fwf @TEIConsortium @w3c @hcayless

PyPItei-rdfaA Python utility for extracting RDFa data from TEI-XML documents.
#TEI#XML#RDFa
Replied to Seirdy

@Seirdy Hope I understood you correctly; not trying to change your mind:

Unless you've already checked w/ other #RDFa parsers, I wouldn't rely on GRRT (referenced blog post). AFAICT, GRRT wasn't parsing the HTML snippet correctly back then nor now for that HTML snippet.

If you don't use the `vocab` attribute, values like `license` are ignored by the RDFa parser (unless host language's default vocab is applied). For anything else parsing plain ol' rel=license, that's not an issue anyway.

The four most popular ways to use RDF-based metadata on websites are RDFa-Core, RDFa-Lite, Microdata, and inline JSON-LD.

I can’t use RDFa-Lite because I need rel HTML attributes. rel silently upgrades RDFa-Lite to RDFa-Core, which parses differently. I doubt all parsers upgrade correctly; some will try to parse RDFa-Core as RDFa-Lite. Conformant RDFa parsers upgrade RDFa-Lite pages to RDFa-Core despite many authors only being familiar with RDFa-Lite. I suppose resources like Schema.org and Google’s documentation only documenting RDFa-Lite markup worsens the confusion. Update 2024-12-16: Sarven Capadisli has clarified on the Fediverse that this is the behavior of one faulty parser; rel only triggers an upgrade when used with an RDFa namespace. I may re-evaluate RDFa.

With RDFa split between two incompatible alternatives with a confusing upgrade mechanism, the alternatives are Microdata and JSON-LD. I use structured data extensively; JSON-LD would duplicate most of the page. Let’s use this relatively short article as an example. Exruct can convert the embedded Microdata into a massive JSON document featuring JSON-LD. Take a look at the JSON-LD and HTML side by side. Microdata attributes take a fraction of the footprint, encode the same information, and don’t require duplicating nearly the entire page.

Originally posted on seirdy.one: See Original (POSSE). #Microdata #SemanticWeb #RDFa #HTML

www.ctrl.blogThe difference between RDFa’s property and rel attributesYou can easily get unexpected HTML+RDFa Lite parsing results by unknowingly using it with RDFa Core attributes that just happens to also be HTML attributes.

@AAD_OeAW @ACDHCH_OeAW @w3c

Depends :)

#RDFa tips:

* Consider how the data needs to be updated and whether this affects the markup or structure. Keep structural changes to minimal.

* Ensure all significant info is human-visible/accessible. Info should almost never be available exclusively for machines.

* Consistently use rel when the value is a URI, property when value is a literal. Makes it possible to use both rel and property together on the same element or other combinations.

...

📣 New blog post

✨ Building a new site! — mnt.io/articles/building-a-new ✨

It's time to rewrite my site from scratch. I'm nostalgic of the good old Web. This site is hand-written, and promotes smallness, speed, simplicity and fun. Let's discover the new lore (!), and let's talk about series a little bit.

mnt.ioBuilding a new site!It's time to rewrite my site from scratch. I'm nostalgic of the good old Web. This site is hand-written, and promotes smallness, speed, simplicity and fun. Let's discover the new lore (!), and let's talk about series a little bit.
#blog#RustLang#html

Erm… concerning the `fediverse:creator` #OpenGraph tag in #Mastodon, described in <blog.joinmastodon.org/2024/07/>:

It's either not an OpenGraph tag (which would be unfortunate), or the example in the blog is wrong.

OpenGraph, being based on #RDFa, uses the `<meta property="…">` attribute, not `name`.

Also, if it is OpenGraph, then what namespace should I add for the `fediverse:` prefix to point to?

Which one is true for this feature, @MastodonEngineering?

Mastodon BlogHighlighting journalism on Mastodon
More from Eugen Rochko
Replied in thread

@egonw @eloquence sounds maybe harder to govern than already dodged cross-border tax. CC also seems to have resisted adding clauses to help define commercial use. I only know of #CCRel (wiki.creativecommons.org/image), which built on Aaron Swartz's #RDFa syntax for CC licenses, to let people construct & define more complex rights docs: "publishers can use ccREL descriptions in combination with
additional attributes taken from other publishers, or with entirely new attributes", but not heard of its use.

@hrefna This would he great if we did not make the same mistake as #RDFa-Lite: there should be no way to implicitly upgrade the subset to a full JSON-LD document simply by using a feature. The fact that we are using a subset should be clear.

RDFa-Lite was DOA because any usage of link relations would silently upgrade the document to full RDFa-Core, but several Lite-only parsers still existed. It effectively made RDFa-Core hard since it could get parsed as RDFa-Lite, and RDFa-Lite hard since it could get parsed as full RDFa-Core. It killed both.

pleroma.envs.netAkkoma
Continued thread

Ok, so I think I found a #masonry #layout #template that will suit my wants. I will probably need to do some modifications to implement #microdata / #microformats ( #microformats2 ) (maybe #RDFa lite too?).

Now another big #question would be, should I use the Open #Dyslexic #typeface? #webdev #design #ux #ui #uiux opendyslexic.org/

opendyslexic.orgOpenDyslexicOpenDyslexic is a typeface designed against some common symptoms of dyslexia.