[daisy] Cross-site vs. Site-specific extension issue (1.5-M2)

Yves Langisch yves at langisch.ch
Thu Jul 27 02:22:27 CDT 2006


Thanks Paul, that did the trick.

Maybe the documentation
(http://cocoondev.org/daisydocs-1_5/daisywiki/general/60/204.html) about
extensions should contain a hint to this difference.

Yves

On Thu, 2006-07-27 at 09:07 +0200, Paul Focke wrote:
> 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
> _______________________________________________
> daisy community mailing list
> Professional Daisy support: http://outerthought.org/site/services/daisy/daisysupport.html
> mail to: daisy at lists.cocoondev.org
> list information: http://lists.cocoondev.org/mailman/listinfo/daisy
> 



More information about the daisy mailing list