[pmwiki-users] Help needed for webfeed for private wikigroup pages

Elizabeth Koh elizabethkoh at gmail.com
Sat Feb 7 03:06:16 CST 2009


I'm php illiterate and really hope to have your help on this matter. I
have a read and edit protected wikigroup page and I want to enable
webfeed subscription but I cannot get it to work. My webfeed for
public unprotected pages work fine.

I followed the 2 suggestions in http://www.pmwiki.org/wiki/PmWiki/WebFeeds

1st method:
 if ($action == 'rss') $EnablePageListProtect = 0;
Tried this but does not work for me.

2nd method:
This is in my config

if ($action == 'rss') include_once('scripts/feeds.php');   # RSS 2.0

if (@$_GET['authpw']) $_POST['authpw'] = $_GET['authpw'];

# Change the link URL when an item is edited.
$FeedFmt['rss']['item']['link'] = '{$PageUrl}?when=$ItemISOTime';
$FeedFmt['rss']['item']['title'] = '{$Group} / {$Title} : {$Description}';
$FeedFmt['rss']['item']['description'] = '$LastModifiedSummary';

This is in my rss link

My web feed also does not work.

I searched through the mailing lists and found this other code, but it
gave me an error. missing [ somewhere.
    if ($action=='rss' && @$_GET['authpw'] && [EMAIL PROTECTED]'authpw'])
      $_POST['authpw'] = $_GET['authpw'];

Is it due to the positioning of the statements? OR what could be the matter?

Really need your help urgently.

Thank you very much for any help.

Warm regards,

More information about the pmwiki-users mailing list