Dear Guile community, I have just published the first release of Guile-RDFa, an implementation of RDFa.
https://codeberg.org/vivien/guile-rdfa.git RDFa is a way to embed linked data in any XML or XML-like document, and in particular HTML. It is relatively easy to author and parse, while being a great fit for embedding HTML metadata and being embedded in an HTML page. I believe it has great potential to be a basis for interoperable social media. In particular, ActivityStreams objects may benefit from this syntax [1]. For instance, this defines a webpage that you could view in a web browser, as well as an ActivityPub message with no ambiguity about HTML content: <?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" typeof="as:Object as:Document" prefix="as: https://www.w3.org/ns/activitystreams#"> <head> <title>Hello :)</title> <meta charset="utf-8"/> </head> <body property="as:content" datatype="rdf:XMLLiteral"> <h1 property="dc:title as:summary">Use HTML+RDFa everywhere!</h1> <address> Written by <a rel="dc:creator as:attributedTo" href="https://example.org/#me"> <span property="foaf:name as:name" datatype="">me</span></a>, <time property="dc:created" datetime="2026-11-21">21 November 2026</time> </address> <p> Use HTML+RDFa <strong>everywhere!</strong> </p> </body> </html> You may already know a more limited version of RDFa called the Open Graph Protocol [2], which makes websites display a title and an image when you write links to a page. The full RDFa is more powerful. I plan to further develop interoperable social networks based on this implementation for Guile. If you want to join the movement, you can start adding RDFa metadata in your websites. You may find https://rdfa.info/ to be a good resource to learn. Please, also consider writing or generating your pages as well-formed XHTML: the tags are exactly the same as HTML5, it is equally supported by web browsers, and it is much easier to parse correctly. If you already know RDFa, please note that this implementation consumes SXML trees, so the XML namespace prefixes are lost. To define the ActivityStreams prefix, you have to use the “prefix” attribute, not “xmlns:as”. See you on the open web! Best regards, Vivien [1] https://github.com/swicg/activitypub-html-discovery/issues/40 [2] https://ogp.me/
