Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Sarven Capadisli
@csarven
The dokieli browser extension injects dokieli.css and .js
Joseph Bayly
@jtbayly
Ok... so I was trying to get the extension for FF, as linked here: https://dokie.li/docs#web-extension
Sarven Capadisli
@csarven
and some prefixes into <body>
docs need to be updated... sorry.
Joseph Bayly
@jtbayly
which says "Oops! We can’t find that page"
Sarven Capadisli
@csarven
That's no good at th emoment
You can however import the extension
git clone dokieli
go to about:debugging and load it as a temporary addon
Joseph Bayly
@jtbayly
Will do!
Sarven Capadisli
@csarven
For Chrome/Chromium/Brave - any Webkit based in theory.. you can do the same
Chrome store also works.. and it is there
Joseph Bayly
@jtbayly
But in the meantime... I figured I'd try to give some feedback on that page above, and I can't figure out how to sign in. I'm sure I have an openID connect account somewhere. I've got Github, Google, Yahoo, Apple, and several others that I assumed would work?
Sarven Capadisli
@csarven
In theory any OIDC but not right now. You'll have to use one from a Solid server like node Solid server: https://github.com/solid/node-solid-server
Joseph Bayly
@jtbayly
ok.
Sarven Capadisli
@csarven
dokieli is intended to be pay as you go... so if you have a personal server, your own WebID etc.. you'll get more out of it.
Joseph Bayly
@jtbayly
thanks for the help.
Yeah. I'm wanting to spin up a server for this.
But first I want to play around. :)
Sarven Capadisli
@csarven
Cool! Ping if you run into issues. Also see the Gitter channel for NSS
dokieli still works with WebID-TLS based authentication but that's being put on the back burner in the Solid ecosystem.
So, for now, focus on OIDC based authentication when you sign-in from dokieli
Joseph Bayly
@jtbayly
Good to know
Sarven Capadisli
@csarven
I've been focusing on Solid specifications in the past year or so.. so don't take less than ideal activity in dokieli as a bad indicator. The project is very much active and there is quite a bit in the pipeline for it. We have to get through essentials that's technically out of scope for dokieli.
eg. creating a WebID... having a personal server.. the communication with applications (like dokieli) .. access controls etc..
Joseph Bayly
@jtbayly
I get it.
matrixbot
@matrixbot
reyman I see that IPFS project PeerGos support host any static page, that could interest you perhaps ? This is an alternative to SOLID
Sarven Capadisli
@csarven
@reyman Not sure if/what dokieli will need to do but surely PeerGos system/platform can make use of dokieli if it can make HTML (and friends) available. Just straight up HTTP.
matrixbot
@matrixbot
reyman :)
reyman great
Sarven Capadisli
@csarven
Detecting and linking to URI Persistence Policy is now in dokieli: https://github.com/solid/specification/issues/206#issuecomment-730512527
Samuel Klein
@metasj
Loving the experience so far.
Sarven Capadisli
@csarven
@metasj Great. How are you using it? Any issues/features you'd like to propose? There's a tonne of work up ahead..
John Murray
@lucidbard
Hi all, this editor is very much something I'd like to see developed more. I'm very interested in a linked-data native editor, but I'm still struggling a bit with integration with third-party data sources and tools.
1 reply
Sarven Capadisli
@csarven
@lucidbard welcome! How are you doing with the server setup? got your WebID, ACLs etc sorted?
Dan Keith
@DoctorBud
FWIW, the main example Dokieli page at https://dokie.li references a CrossCloud URL which appears to be defunct. It just times out. (I tried the https version at https://crosscloud.org and it has the same problem). VERY LOW priority issue, but thought I'd mention it or get clarification.
Sarven Capadisli
@csarven
@DoctorBud Thanks. I'll update the links when I get a chance - the homepage needs a major redo too. There are archived snapshot of CrossCloud by the way if interested eg https://web.archive.org/web/20161021112226/https://crosscloud.org/
Sarven Capadisli
@csarven
video.gif
Added initial support for ODRL. The menu has some basic awareness for archiving. The print one is an easteregg for ODRL.. if there is an action for it, it will show up.. and depending on permitted or prohibited, it will enable or disable. Will support the other menu features eg. "save as" and have it correspond to the actions on distribution etc.
Daniel Garijo
@dgarijo
Hi @csarven, I have a question: Is it possible to convert any files written in latex to an HTML that could be understood by dokieli? I would like to start from a written article rather than to start from scratch. I have gone through the readme files, but I haven't found any hints. Thanks!
Sarven Capadisli
@csarven

Hey @dgarijo . Generally yes and it'd be no different than dokieli's CSS and JS being included in any HTML. There are of course some markup patterns that dokieli has in which you can get more out of the tool - what it can detect / display. The pattern is fairly straight forward to follow / generate IMO.

dokieli doesn't offer a transformation from anything to dokieli HTML. That's out of scope. So, you might want to find a tool that gives you a simple HTML. From what I've seen - and I can't say I have much experience with it - pandoc is pretty decent to get things going. You'll really have to massage whatever it generates if you really want to bring it closer to HTML like in articles listed in https://github.com/linkeddata/dokieli/wiki#examples-in-the-wild -- but don't take that as absolutes. Just in the right direction of things working properly.

See https://dokie.li/new as what the outer HTML should look like. Aside: see how the HTML patterns in https://dokie.li/ or https://dokie.li/acm-sigproc-sp or https://dokie.li/lncs-splnproc or https://csarven.ca/linked-research-decentralised-web .. essentially have no difference. It is just the CSS doing the work.

You'll likely run into issues with Math.. and yes that gets tricky but still workable -- depends to what extent you want to make sure the underlying formulas are MathML or SVG or image.. or maybe even in some ascii/latexmath that gets converted into MathML with JavaScript..

My suggestion is to take it step at a time. Unlikely that you'll get a perfect document coming out of LaTeX... but dig around for XSL-based approaches as well.

You might want to scroll through this section to get a feel of the patterns: https://dokie.li/docs#html-patterns -- the docs may be a bit outdated but you won't go wrong with what's there.
Alternatively, and I think this is as reasonable as converting from LaTeX is to simply copy/rewrite in HTML+RDFa... once you get a feel of the basic html patterns that dokieli uses, it should be mechanical / and not require much thinking -- although not fun.. YMMV.
Daniel Garijo
@dgarijo
Thanks @csarven! I appreciate the links. I will probably play around with pandoc whenever I have the chance and the dokieli css.
Sarven Capadisli
@csarven
@bergos I've noticed something strange with SimpleRDF -- yes, I know I know.. - where either rdf-serializer-n3 or something higher up is accumulates the prefixes from previous parsing/serializing and includes the prefixes all of the prefixes used in the latest serialization. Is there a way to disable this? I think this is a security issue. Is usePrefixMap related?
I use something like ld.store.serializers['text/turtle'].serialize(g._graph) where the return contains the accumulated prefixes. Not sure if there is something I can do before that (eg. some option to SimpleRDF.parse?) or as I call that.
Thomas Bergwinkl
@bergos
@csarven sorry for the late reply. i don't remember the details, but if possible, can you create a new instance of the store/serializer? could be that there is a usePrefixMap options, which you can also try to disable.
Shan Alexander
@shan-alexander
When I click "New" or "Save As" from dokieli, I receive the message "Unable to save: you are not authorized." I have not found a solution in this chat or in the dokieli docs. What should I do?
Sarven Capadisli
@csarven
@shan-alexander Do you have Write access (via HTTP PUT request) to the target URL?