Show DC++ magnet links as external

In the file inc/parser/handler.php: find

        }else{
        // internal link
            $this->_addCall(
                'internallink',
                array($link[0],$link[1]),
                $pos
                );

before add

        }elseif ( preg_match('#^magnet:\?#i',$link[0]) ) {
        // magnet link (accepts dc protocol)
            $this->_addCall(
                    'externallink',
                    array($link[0],$link[1]),
                    $pos
                    );

Comments

Seems like it's not working in Angua — fnadde42 2012/05/10 10:30

> see this .. https://forum.dokuwiki.org/post/33698