Would (optionally) having the email post to a comment, attached to a
page, be a way to address/side-step the simultaneous edits issue?<br><br><div><span class="gmail_quote">On 2/2/06, <b class="gmail_sendername">Ian Barton</b> <<a href="mailto:lists@manor-farm.org">lists@manor-farm.org
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> Umm, I think there is a "'post' => 1," needed to post as well. You
<br>> also need "action => 'edit'" instead of action => post..<br>><br>> When you finish this, I would love to give it a whirl!<br>Thanks the following code seems to work:<br><br>my $req = POST $wikiurl, [
<br> action => 'edit',<br> post =>
'1',<br> pagename => $wikipage,<br> text =>
$text,<br>];<br><br>My initial goal is to be able to append time and date stamped text to<br>the bottom of a page. As an anti spam measure I am planning to use a<br>code embedded in the Subject line:<br><br>Subject: [MySecretCode] The rest of the subject goes here
<br><br>Email with the wrong code would be ignored.<br><br>I understand Patrick's point about users not wanting to bother with<br>CPAN, so I'll have a go at developing a PHP version too. There is a PHP<br>mailer library that I have used in the past. I'll check to see if it
<br>could be uploaded to the user's cookbook directory and if it will work<br>with the command line version of PHP.<br><br>Once I have a working version, I'll see if I can address the problem of<br>simultaneous edits.<br>
<br>Ian.<br><br>_______________________________________________<br>pmwiki-users mailing list<br><a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br><a href="http://host.pmichaud.com/mailman/listinfo/pmwiki-users">
http://host.pmichaud.com/mailman/listinfo/pmwiki-users</a><br></blockquote></div><br>