[daisy] Cross-site vs. Site-specific extension issue (1.5-M2)
Paul Focke
paul at outerthought.org
Thu Jul 27 02:07:05 CDT 2006
Yves Langisch wrote:
> Hi,
>
> I have a flowscript extension which I'd like to provide as a
> Site-specific extension. Putting it into the
> ...mywikidata/sites/<sitename>/cocoon directory I get following error:
>
> ...
> /usr/home/wp/projects/daisy_BRANCH_1_5_X/daisy/applications/daisywiki/frontend/target/cocoon/webapp/daisy/sites/cocoon/myext/sitemap.xmap
>
> (No such file or directory)
>
> It seems that it's not checking the mywikidata folder I have.
>
> Putting exactly the same extension into ...mywikidata/sites/cocoon
> everything is fine. What could be the reason to that behavior? Dev setup?
>
> Thanks
> Yves
> _______________________________________________
Hi,
I was able to reproduce your problem.
I'm guessing you made a directory 'myext' which stores your extension
files and the sitemap.xmap. You probably made this file in
...mywikidata/sites/<sitename>/cocoon. Just make sure that the
..mywikidata/sites/<sitename>/cocoon/sitemap.xmap has this in the pipeline :
<map:match pattern="*/**">
<map:act type="ResourceExists" src="{1}/sitemap.xmap">
<map:mount check-reload="yes" src="{../1}/sitemap.xmap"
uri-prefix="{../1}"/>
</map:act>
</map:match>
Paul
Paul
More information about the daisy
mailing list