<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Well, renaming .pageindex to something
else and then requesting the category list page did fix the
problem - thanks! - but it seems rather brute force. Is there no
way to encourage the wiki software to update the .pageindex file
gracefully?<br>
<br>
... and looking at the old and new versions of that file, by the
way; the old one is ten times the size of the new one. Presumably
there is an accepted practice for garbage collection on this file
- maybe just deleting it from time to time!<br>
<br>
Peter<br>
<br>
On 2013-10-28 10:16 PM, <a class="moz-txt-link-abbreviated" href="mailto:ccox@endlessnow.com">ccox@endlessnow.com</a> wrote:<br>
</div>
<blockquote
cite="mid:20131029011610.28732598058@homiemail-a27.g.dreamhost.com"
type="cite"><span style="font-family: Arial;">Delete the pagecache
file.<br>
<br>
Sent from my HTC EVO 4G LTE exclusively from Sprint<br>
<br>
<br>
----- Reply message -----<br>
From: "Peter Payzant" <a class="moz-txt-link-rfc2396E" href="mailto:pce@accesswave.ca"><pce@accesswave.ca></a><br>
To: <a class="moz-txt-link-rfc2396E" href="mailto:pmwiki-users@pmichaud.com"><pmwiki-users@pmichaud.com></a><br>
Subject: [pmwiki-users] Getting pages created by other software
to appear in category lists<br>
Date: Mon, Oct 28, 2013 7:49 PM<br>
<br>
</span><br>
Patrick, thanks for your reply.<br>
<br>
As an experiment, I simply used the Linux "touch" command on both
wiki.d/.lastmod and my synthetic wiki page. I'm afraid that didn't
work - the category page still doesn't see the synthetic page.<br>
<br>
Any other thoughts?<br>
<br>
Peter<br>
<br>
<br>
On 2013-10-28 7:34 PM, Patrick R. Michaud wrote:<br>
> On Mon, Oct 28, 2013 at 06:06:29PM -0300, Peter Payzant
wrote:<br>
>> I'm creating one page with a daily Perl program, and in
general<br>
>> everything works as expected. However, I can't get this
page to show<br>
>> up in a category list.<br>
>> [...]<br>
>> However, this page does not appear on the page<br>
>> Category.BoardDocuments. Dozens of other pages created
the normal<br>
>> way, by editing in PmWiki, do appear in the category
list.<br>
>><br>
>> What am I doing wrong?<br>
> The indexes aren't being notified that there's a new page
that might<br>
> need scanning.<br>
><br>
> Simply have your Perl script also touch/update the .lastmod
file in<br>
> wiki.d/, and the categories should start seeing your
automatically<br>
> generated page(s).<br>
><br>
> In Perl the following will work to update the timestamp of
.lastmod:<br>
><br>
> open(my $fh, ">", "wiki.d/.lastmod");<br>
> close($fh);<br>
><br>
> Hope this helps.<br>
><br>
> Pm<br>
><br>
<br>
<br>
_______________________________________________<br>
pmwiki-users mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>
<a class="moz-txt-link-freetext" href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
pmwiki-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a>
<a class="moz-txt-link-freetext" href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a>
</pre>
</blockquote>
<br>
</body>
</html>