On Tue, Mar 25, 2008 at 4:57 PM, philt <phil...@teuwen.org> wrote:
I wrote a manifest php script such that it sends me only the list of
pages modified since my last visit (I send it my current version as a
GET parameter).
But then locally all the other pages are deleted, only the new ones
are there.
The other option, downloading all the wiki pages every time, is
overkilling.
How can I only refresh a part of the resource store without losing
what's already there?
Hi Phil, very cool idea to offline enable your wiki.
Gears is designed for the server to send all pages in the manifest
each time. For each URL in the manifest, it issues an HTTP conditional
GET. Only the changed pages will be downloaded.
So long as the server supports if-modified-since (which I assume
MediaWiki does), updates should be much faster than the first capture.
- a