[pmwiki-users] Not including minor changes in RSS
adam overton
a at plus1plus1plus.org
Mon Aug 17 13:43:09 CDT 2009
hi
is this what you're looking for?
from http://pmwiki.org/wiki/Cookbook/CustomRecentChanges#minor
Insert the following in your local/config.php
if (@$_POST['diffclass'] == 'minor') {
unset($RecentChangesFmt['$SiteGroup.AllRecentChanges']);
unset($RecentChangesFmt['$Group.RecentChanges']);}
Minor changes made after that will not be included in
Site.AllRecentChanges or the per-group RecentChanges.
and for RSS, assuming you're doing this by enabling the built in
'feeds.php', you can probably do the same as above, though my code
looks more like:
# only add Recent Changes to MyFeedPage if...
if (!@$_POST['diffclass'] == 'minor') {
$RecentChangesFmt[$SiteGroup.MyFeedPage] = '* [[{$Group}.
{$Name}]] . . . $CurrentTime: {$LastModifiedSummary}';
}
adam
> ------------------------------
>
> Message: 6
> Date: Mon, 17 Aug 2009 09:18:34 -0700
> From: pmwiki at 911networks.com
> Subject: [pmwiki-users] Not including minor changes in RSS
> To: pmwiki-users at pmichaud.com
> Message-ID: <20090817091834.18956514 at coyote.foto-biz.com>
> Content-Type: text/plain; charset=US-ASCII
>
> Hi,
>
> I asked this last week and had no response, hopefully somebody will
> steer me in the right direction:
>
> ===========8====>===================
>
> Is there a way of not including the minor changes in the RSS and/or
> removing from the AllRecentChanges?
>
> We have defined the minor changes as either formatting or spelling
> errors.
>
> ===========8====>===================
>
> --
> Thanks
>
>
>
> ------------------------------
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>
> End of pmwiki-users Digest, Vol 50, Issue 16
> ********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20090817/27faa8cf/attachment.html
More information about the pmwiki-users
mailing list