El mar, 07-03-2006 a las 17:00 +0100, Thorsten Scherler escribió:
> El mar, 07-03-2006 a las 16:49 +0100, Andreas Hartmann escribió:
> > > +            String urlID = "content/" + document.getArea() + 
> > > document.getId()
> > > +                            + "/" + DEFAULT_INDEX + "_"
> > > +                            + document.getLanguage() + ODT_EXTENSION;
> > 
> > :(
> > 
> > This code will break with a custom DocumentIdToPathMapper.
> 
> Yeah, I know. :(

BTW that is not the only part of this module. Like I said in the other
thread you can find in lenya-trunk/src/modules/opendocument/sitemap.xmap
 <map:generate
src="zip:context://lenya/pubs/{page-envelope:publication-id}/content/{page-envelope:area}/{page-envelope:document-id}/index_{page-envelope:document-language}.odt!/content.xml"/>

You are right, that does not make the above code better but since the
usages is already limited I just used this knowledge. ;)

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