<div class="gmail_quote">2010/1/25 Michael Allan <span dir="ltr"><<a href="mailto:mike@zelea.com">mike@zelea.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
On running, I got the message: "Wide character in print at<br>
./<a href="http://streetwikibot.pl" target="_blank">streetwikibot.pl</a> line 56."  (Line 56 is 'print $xml_file<br>
$xml_content;'.)<br>
<br></blockquote><div> </div><div>ok this is just a character encoding issue, easy to fix.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

It seems to have worked, though.  I now have a backup of all pages in<br>
the 'template' namespace.  Questions:<br>
<br>
  * Is there a way to also get the pages in the 'property' namespace,<br>
    but without overwriting the previous backup?<br></blockquote><div><br>of course, I was thinking of giving arguments to the bot for the namespaces to backup instead of setting it in the config file : <br><br>./<a href="http://streetwikibot.pl">streetwikibot.pl</a> 10,102<br>
<br>would backup the Template and Property namespaces. <br></div><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
  * Can we configure it to backup only the latest revision of each<br>
    page, and not the entire history?<br></blockquote><div><br>no problem :)  I can add a limit in the config file. <br></div><div><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

At some point, I guess the wikis will be too big to backup in a single<br>
HTTP fetch.  Then we'll need some kind of caching to avoid<br>
re-exporting pages that haven't changed.  But we don't need that, yet.<br></blockquote><div><br>This shouldn't be difficult to implement, I can probably get the last modified date of the pages, store it in a file and compare before fetching the pages. <br>
</div><div><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
This is already useful.  Good work!<br></blockquote><div><br>Thanks :)<br>lets go for the version 1.1 !<br><br><br>Philippe <br></div></div>