El mar, 07-03-2006 a las 18:13 +0100, Thorsten Scherler escribió:
> El mar, 07-03-2006 a las 17:07 +0000, [EMAIL PROTECTED] escribió:
> > Author: thorsten
> > Date: Tue Mar  7 09:07:57 2006
> > New Revision: 383931
> > 
> > URL: http://svn.apache.org/viewcvs?rev=383931&view=rev
> > Log:
> > Enabling to download the opendocument for local editing.
> > 
> > Modified:
> >     lenya/trunk/src/modules/opendocument/sitemap.xmap
> > 
> > Modified: lenya/trunk/src/modules/opendocument/sitemap.xmap
> > URL: 
> > http://svn.apache.org/viewcvs/lenya/trunk/src/modules/opendocument/sitemap.xmap?rev=383931&r1=383930&r2=383931&view=diff
> > ==============================================================================
> > --- lenya/trunk/src/modules/opendocument/sitemap.xmap (original)
> > +++ lenya/trunk/src/modules/opendocument/sitemap.xmap Tue Mar  7 09:07:57 
> > 2006
> > @@ -62,6 +62,9 @@
> >          <map:transform 
> > src="fallback://lenya/modules/opendocument/xslt/opendocument2xhtml.xsl"/>
> >          <map:serialize type="xml"/>
> >        </map:match>
> > +      <map:match pattern="**.odt">
> > +        <map:read 
> > src="context://lenya/pubs/{page-envelope:publication-id}/content/{page-envelope:area}{page-envelope:document-id}/index_{page-envelope:document-language}.odt"/>
> > +      </map:match>
> >  
> >     
> 
> ...before Andreas will point it out. ;)
> 
> Yeah, I know that is the old problem, but IMO I should finish this first
> implementation and then we can look how to get rid of the *very* sharp
> corners. ;)
> 
> Anyway one thing that I found out is that the **.odt are now not under
> ac anymore!
> 
> Somebody an idea why and how I can fix it?

Another thing is that this actually does not work :(

I just did a build clean and now I get 404 on *.odt.

Yesterday I added the above to the default pub sitemap and everything is
working as I expected. Doing the same today again, as well let me
download the openDocument. 

Why does the match work in the default sitemap and not in the module
sitemap?


Any ideas?

salu2
-- 
Thorsten Scherler
COO Spain
Wyona Inc.  -  Open Source Content Management  -  Apache Lenya
http://www.wyona.com                   http://lenya.apache.org
[EMAIL PROTECTED]                [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to