emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Full web server for org-mode
@ 2009-10-31 16:34 andrea Crotti
  2009-11-01 21:49 ` Eric Schulte
  0 siblings, 1 reply; 2+ messages in thread
From: andrea Crotti @ 2009-10-31 16:34 UTC (permalink / raw)
  To: emacs-orgmode

I was thinking if it could be a good idea.
Instead of static project exporting I could have a web server 
(maybe in elisp) that export projects on demand, only if html is older 
than source file.

That would be useful to get maybe a way to navigate everywhere 
in our org-world without exiting the browser and being always up to date.

Maybe it could also take the agenda, export to ical and open it with a
whatever reader.

What do you think, would it be a nice idea?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Full web server for org-mode
  2009-10-31 16:34 Full web server for org-mode andrea Crotti
@ 2009-11-01 21:49 ` Eric Schulte
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Schulte @ 2009-11-01 21:49 UTC (permalink / raw)
  To: andrea Crotti; +Cc: emacs-orgmode

andrea Crotti <andrea.crotti.0@gmail.com> writes:

> I was thinking if it could be a good idea.
> Instead of static project exporting I could have a web server 
> (maybe in elisp) that export projects on demand, only if html is older 
> than source file.
>
> That would be useful to get maybe a way to navigate everywhere 
> in our org-world without exiting the browser and being always up to date.
>
> Maybe it could also take the agenda, export to ical and open it with a
> whatever reader.
>
> What do you think, would it be a nice idea?
>

Hi Andrea,

This is certainly a nice idea.  This is basically how blorgit [1] works.
Blorgit relies on an instance of Emacs running the emacs-server [2]
which sits behind a simple Ruby web-server running Sinatra [3].
Whenever a page is requested blorgit hands that page to Emacs through
the server, Emacs exports the page to html using org-mode, and the
resulting html is rendered.

It would be straightforward to add agenda exports to this setup.

It would be nice if Emacs had it's own native elisp web server
implementation, but this is not currently the case, and really doesn't
seem practical while Emacs is single-threaded.

Best -- Eric

Footnotes: 
[1]  http://orgmode.org/worg/blorgit.php

[2]  see (info "(emacs)Emacs Server")

[3]  http://www.sinatrarb.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-01 21:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-31 16:34 Full web server for org-mode andrea Crotti
2009-11-01 21:49 ` Eric Schulte

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).