Login
You're viewing the code4lib.social public feed.
  • Oct 15, 2024, 8:34 AM

    @noeldemartin Is there a way to make "blog" pages with Solid?

    I really want a place I can keep tutorials (text, code snippets and diagrams) together and share them.

    I'd like a kind of main index out to pages approach so it's easy to navigate.

    Is this possible with some kind of online markdown to html app, or is it a more write-your-own-html manually kind of situation?

    💬 1🔄 0⭐ 0

Replies

  • Oct 15, 2024, 12:48 PM

    @dbat You can write html files and solidcommunity.net will render them if you visit the url. And you can use something like dokie.li to write the files. For example, like this: solidos.solidcommunity.net/

    But I don't think that's something all POD providers will do, it may be specific to solidcommunity.net.

    If you're interested to learn about the practical uses of Solid, I'd suggest looking at @angelo's video series on Practical Solid: forum.solidproject.org/t/pract

    💬 0🔄 0⭐ 0
  • Oct 15, 2024, 12:58 PM

    @noeldemartin Thanks. I saw dokieli and got v confused when it stopped-short of how to actually write content!

    It's wild. Why would they not explain that part? Beats me.

    Realize I have to insert HTML in the source, but man is that an obscure rat's nest of text. And only because I have done HTML for decades! Beginners looking for a type-stuff-and-post-it will be so lost!

    💬 0🔄 0⭐ 0
  • Oct 16, 2024, 1:44 AM

    @dbat Maybe @csarven can answer why the part on "how to write" is not explained :).

    Personally I haven't used dokieli because I use Laravel for my actual blog. But if I wanted write plain HTML files I'd probably just use Github Pages because it seems a lot more straightforward than using a Solid POD. I think Solid can be great for interoperability, but for read-only documents (like a blog), it can be overkill. Maybe you could have a comments section with Solid though.

    💬 0🔄 0⭐ 0
  • Oct 16, 2024, 7:23 AM

    @noeldemartin @csarven

    Ah, so a pod can't "serve" content to a browser?

    I was imagining a pod with my html and images and a url. I/you surf to that url and there's an app (on my pod) which knows to present that content as a web page when that url is visited.

    Similarly, as an editor, that app lets me write the blog in a Gitlab/hub style with markdown etc. It's all being saved to static html etc.

    Still trying to orient my comprehension of what Solid is. It's that confusing! 🧠 😜

    💬 1🔄 0⭐ 0
  • Oct 17, 2024, 7:30 AM

    @dbat @csarven Well, yes and no.

    Technically, Solid PODs store 2 types of documents: RDF Resources and non-RDF resources (also called "binaries"). Ideally, most things you store would be RDF resources, because they are the ones that contain semantic data that any application can understand. But you can also have non-RDF resources like images, videos, ... or HTML files.

    However, I don't think the spec mandates that when you visit the url for a non-RDF resource, it should return its contents.

    💬 1🔄 0⭐ 0
  • Oct 17, 2024, 8:23 AM

    @noeldemartin @dbat Solid Protocol doesn't overly classify things into RDF/non-RDF in the same way eg LDP does. Only says that if something is deemed to be RDF (see also: concrete RDF syntax) then it should be available as Turtle/JSON-LD when asked. Which is why some servers eg NSS are capable of providing Turtle/JSON-LD serializations of resources with hosting languages including RDFa.

    Server implementation could limit itself to RDF but then its ability would be limited for "personal" stuff.

    💬 0🔄 0⭐ 0
  • Oct 17, 2024, 8:29 AM

    @dbat @noeldemartin A solid server is just an HTTP server with some additional know-how for handling RDF stuff, and there is some simple structured / directory-like way to navigate to all resources in a storage. Similarly, it has some ways to find and update auxiliary information like access controls lists or additional descriptions about a resource. Apps read/write all that. There's more to it but it's intended to be boring and let you run a site / personal / community storage or whatever.

    💬 0🔄 0⭐ 0
  • Oct 16, 2024, 8:57 AM

    @dbat @noeldemartin

    In a nutshell, dokie.li/ (source: git.dokie.li/ ) is an authoring/annotation tool.

    Makes HTTP requests. What media type, context/negotiation always vary based on standards it follows. You can find a range: HTML, Turtle, JSON-LD, N3, SPARQL Query/Update etc.. w/ varying HTTP methods. If a server accepts eg. PUT text/html, rest is secondary/built on top (Solid).

    dokieli is not designed towards handcoding HTML. More like a semantic WYSIWYG editor

    💬 1🔄 0⭐ 0
  • Oct 16, 2024, 8:59 AM

    @csarven Thank you for your reply... *and* it's so dense with acronyms and tech stuff that I can't actually understand it.

    I'm not trying to be rude! It's a kind of force-field that seems to surround Solid that I just bounce right off.

    I will read that many times and try to untangle it!
    🤗

    💬 1🔄 0⭐ 0
  • Oct 16, 2024, 9:07 AM

    @dbat All good! Thank *you* for giving it a try and with constructive feedback. You're certainly right that better docs/tutorial/demo will help. This is in fact among the top todos right now, e.g., github.com/dokieli/dokieli/lab. Also looking into updating the editor library.

    Again, dokieli is not intended to be a plain text/markdown/html editor. The aim is not "HTML editing". One of the aims is to author and publish rich human- and machine-readable content.

    Welcome to chat at matrix.to/#/#linkeddata_dokiel

    💬 2🔄 0⭐ 0