Howto convert my own Protocol to HTTP route? #11

Allow to use Hoa wrapper for remote files (even media filer)

HOWTO:

- index.php
$hoa = Hoa\Core\Core::getInstance();
$params = $hoa->getParameters();
$params->setParameter('url.Static', 'http://static.myServer.com');
$params->setParameter('protocol.Static', 'ntfs://mount/anchor/path/to/dir' . DS);
$params->setParameter('protocol.Static/Public', 'Public' . DS);
$hoa->setProtocol();

- somewhere in a Xyl document:
<… href="hoa://Static/Public/Media/myMovie.mpg">