[ewiki] Re: Custom link formats

Mike Payson <mpayson@xxxxxxxxxxxx> wrote:
> [...]ustify hacking up a shortcut. I'm still curious as to why my code didn't 
> work, though. I understand the http part, but I'm baffled by the duplication. 
> NOt a big deal since I won't be using it, but if anyone can explain what's 
> going on, I'd be grateful.

You accidently added up your replacement patterns with "$rep .= ___", and
you may have had problems with .*? - an .+? often works much safer.

> Certainly. I'm happy to contribute anything I can. I've also been working on 
> an improved mpi_include that allows collapsing of the sub pages. It's [...]

I'm curious, but patient ;)

> That's not a bad idea. I had assumed that the cache would be refreshed via 
> cron, but you're right that just making a standalone php script to fetch & 
> store the favicons, and that can be called from cron to refresh the database 
> (or possibly a perl or shell script, since not everyone has php insta[...]

http://erfurtwiki.sf.net/downloads/spin_offs/favicon-0.tgz
(untested within ewiki, but sample script seemed ok)

Best,
mario

Other related posts: