What do you think of the idea of having an emacs and org-mode equivalent
to gopher/gemini - a simple hypertext web where all the files are org documents that link to other org documents? Has somone already done
that?
The servers wouldn't have to do more than serve plain text files via
http, but maybe having some publication features from within emacs would
be nice (e.g., a command to copy or link the file to the server).
It would probably need a new URL method like org-http://, because
http:// is likely to try loading it in a web browser expecting html.
But maybe emacs and/or eww could be extended to handle a response type
of text/org?
What do you think of the idea of having an emacs and org-mode equivalent
to gopher/gemini - a simple hypertext web where all the files are org documents that link to other org documents? Has somone already done that?
The servers wouldn't have to do more than serve plain text files via
http, but maybe having some publication features from within emacs would
be nice (e.g., a command to copy or link the file to the server).
It would probably need a new URL method like org-http://, because
http:// is likely to try loading it in a web browser expecting html.
But maybe emacs and/or eww could be extended to handle a response type
of text/org?
From management perspective there is a built-in feature called org-publish-project-alist. I use it for my little website
codeisgreat.org. I keep all the files in org mode and then run the
built-in export functionality to output content in HTML. It keeps all
the org interlinks intact.
According to RFC3986,
scheme = ALPHA *( ALPHA / DIGIT / "+" / "-" / "." )
So '-' is allowed, but now that I think about it, I've seen more
compound schemes written with '+', so 'org+https://' would probably be better...
Samuel Christie <shcv@sdf.org> writes:
What do you think of the idea of having an emacs and org-mode
equivalent to gopher/gemini - a simple hypertext web where all the
files are org documents that link to other org documents? Has somone
already done that?
I'd give it a try if it were available, but I'm not sure if there are
enough possible users to make the effort worth-while.
The servers wouldn't have to do more than serve plain text files via
http, but maybe having some publication features from within emacs
would be nice (e.g., a command to copy or link the file to the server).
It would probably need a new URL method like org-http://, because
http:// is likely to try loading it in a web browser expecting html.
But maybe emacs and/or eww could be extended to handle a response type
of text/org?
I'd use a URL that matches the spec and I don't think '-' is allowed.
Emacs would have to map the URL to something a server could understand
and I think I'd want the underlying protocol to be https.
What do you think of the idea of having an emacs and org-mode equivalent
to gopher/gemini - a simple hypertext web where all the files are org documents that link to other org documents? Has somone already done
that?
Es schrieb Samuel Christie <shcv@sdf.org> am 30.09.22 um 10.02
Uhr:
What do you think of the idea of having an emacs and org-mode
equivalent to gopher/gemini - a simple hypertext web where all
the files are org documents that link to other org documents?
Has somone already done that?
I realize this was written last year, but anyway. Two years ago
I wrote some code that makes Elpher open org-mode files served
via Gemini as read-only Org. Not exactly what you want, but
maybe close enough without inventing a new protocol?
gemini://mederle.de/b/02-emacs-org-and-gemini.gmi
Seems to still work on Emacs 29.
Hmmmmm...
- Can elpher and eww be merged?
- Can both (or the merged result) be taught to display org texts?
- Can we be sure source blocks will stay passive?
That'd be like unsandboxed JS.
I'm not a fan of this brave new one browser per protocol world.
Full-fat browsers now even drop FTP and more Smallnet browsers that only support one protocol exist than multi-protocol solutions, ... this all
was meant differently when browsers were a new thing:
One lens to view them all.
To keep future browsers that really deserve that name (in contrast to networked single protocol file viewers) not so bloated, they just should
be the place where protocol and rendering plugins meet in a shared UI frontend. So whoever wants a single protocol solution with only some
markups just would not install all plugins.
Emacs seems a good place to start all this?
Too nostalgic?
Too naive?
yeti <yeti@tilde.institute> writes:
- Can we be sure source blocks will stay passive?
That'd be like unsandboxed JS.
Good question. I don't think org-mode runs the code blocks when you open
a file by default (babel isn't even enabled by default iirc), but even
if it is you should be able to turn off any pieces of org-mode that
would automatically run code.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 415 |
Nodes: | 16 (2 / 14) |
Uptime: | 167:05:19 |
Calls: | 8,708 |
Calls today: | 2 |
Files: | 13,270 |
Messages: | 5,952,234 |