[pmwiki-devel] Support for itunes itpc hyperlinks

Patrick R. Michaud pmichaud at pobox.com
Tue Apr 20 14:02:44 CDT 2010


On Tue, Apr 20, 2010 at 12:03:11PM -0400, Farhad Khan wrote:
> I am wondering if anyone has tried to use iTunes hyperlinks before. It has the
> following itpc format itpc:// feeds.feedburner.com/mypodcast.  If I add this in
> the link [[ ]] markup, the hyperlink is silently dropped.
>  
> Can someone help me locate the code where the various link protocols are
> checked?

If you're wanting itpc: to be treated the same a http:, https:, etc., then
add the following to local/config.php:

    $LinkFunctions['itpc:'] = 'LinkIMap';
    $IMap['itpc:'] = 'itpc:$1';

Pm



More information about the pmwiki-devel mailing list