[pmwiki-users] Update pmwiki using perl scripts

Patrick R. Michaud pmichaud at pobox.com
Sun Feb 26 23:36:55 CST 2006


On Mon, Feb 27, 2006 at 10:58:37AM +0530, Ginil Gharat wrote:
> Thanks to Joachim and Ian for their suggestions.
> 
> Especially the "action=source" is very cool. I was earlier trying to
> override the previous text instead of updating.
> 
> The problem I am trying to solve is a minor one. The will *not* be any
> simultaneous updates to the page I am updating. There are going to be some
> *defined* pages which will be updated by crontab/autosys scripts which wud
> publish some automated reports ( nightly builds errors/ regression test
> results etal )to these pages.
> 
> I am able to "get" the page contents using the "action=source" action. Only
> problem is when I try to update the existing html it fails and throws the
> authentication page. 

When you post the updates to the existing page, pass along the
authid= and authpw= parameters as part of the POST request (i.e.,
as fields in the POST, not as fields in url).  That should work.
If it doesn't work, then that means there's something else odd
going on here.
  
Pm





More information about the pmwiki-users mailing list