[pmwiki-users] Downloaded Blocklist Local Page Name

JB jbit at ev1.net
Fri Oct 13 17:16:25 CDT 2006


AWESOME!

One last thing, I notice that the new page 
downloaded to my site is wrapped inside [@ @]
so that there is no word wrap:

  http://gnuzoo.org/index.htm/index.php?n=Site.Blocklist-PmWiki

But word wrap works on page 

   http://www.pmwiki.org/wiki/Site/Blocklist

Can that be changed?


> Sure.  Use the following instead:
> 
>   $BlocklistDownload['Site.Blocklist-PmWiki'] 
>     = array('format' => 'pmwiki');
> 
> This will download the "shared/published" blocklist for pmwiki.org 
> to a page called 'Site.Blocklist-PmWiki' on the local server.
> 
> How this works:  I've just now set pmwiki.org so that it
> maps requests for /blocklists/Site.Blocklist-PmWiki to return
> the contents of the Site.Blocklist page on pmwiki.org.  At some
> point in the future we may maintain two separate blocklists
> on pmwiki.org -- a Site.Blocklist-PmWiki page that is a shared
> blocklist for PmWiki sites, and a Site.Blocklist page that is
> local to pmwiki.org.
> 
> So, the official "shared blocklist" for PmWiki will always
> be "Site.Blocklist-PmWiki", and for the time being I've set
> pmwiki.org to return the contents of the Site.Blocklist 
> page in response to requests for /blocklists/Site.Blocklist-PmWiki .





More information about the pmwiki-users mailing list