[pmwiki-users] Auto-save function?

Eemeli Aro eemeli at gmail.com
Thu May 28 09:04:47 CDT 2009


2009/5/18 Marcus <prima at wordit.com>:
> Is there an auto-save function? I found two recipes which are
> reminders, but that wouldn't help if the browser crashes or the
> connection is flakey.

Ask, and ye shall receive.

<http://www.pmwiki.org/wiki/Cookbook/AutoSave>

Had been pondering this myself even before Marcus asked, and finally
got around to doing it. The required Javascript turned out to be a bit
more involved than what I expected when I started, but rather
interesting to code.

AutoSave sends updates via XMLHttpRequest and extends PmWiki's default
draft versioning ability to support automatically saving pages. I
aimed for something as un-intrusive as GMail's auto-save, and I would
appreciate any bug reports or suggestions for improvements...

eemeli



More information about the pmwiki-users mailing list