Thank you Hans. I slightly modified the recipe this way
SDV($MakePageNamePatterns, array(
"/'/" => '',
"/[^$PageNameChars]+/" => ' ',
"/\\s+/" => '-'
));
so page names don't use CamelCase and spaces are converted to hyphens
which is more SEO friendly.
This is what I have been looking for a long time. Again, thank you and
I agree with malexism that this should be part of PmWiki core.
Roman
On Nov 20, 2007 1:15 PM, Hans <[EMAIL PROTECTED]> wrote:
> Tuesday, November 20, 2007, 10:38:08 AM, Hans wrote:
>
> > I just copied the code of $MakePageNamePatterns to config.php,
> > and got the following errors reported repeatedly:
>
> I needed to define $PageNameChars also first.
>
> I have added a cookbook page now. Please revise.
>
> http://www.pmwiki.org/wiki/Cookbook/ISO8859PageNameConversionPatterns
>
> I thought patterns for other standards could be added there too.
>
>
>
> ~Hans
>
>
> _______________________________________________
> pmwiki-users mailing list
> [email protected]
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users