[opencms-dev] Source for Static HTML Import module?

Thomas Gagné tgagne at wideopenwest.com
Tue Apr 6 18:47:00 CEST 2004


Inside HtmlImport.getVfsname() I find:

    if (filetype.equals("image")) {
                    // move to image gallery
                    // as the image gallery is "flat", we must use the
    file name and not the complete
                    // relative name
                    vfsName=m_imageGallery+name;

Why must the image gallery be flat?  During an import that causes 
definite problems with identically named files.  Obviously, this is not 
the case for HTML files since index.* files abound in every directory.

What would be the harm with using the relative file name?  Would 
something in CMS break?  Would the gallery browser get confused?||

-- 
.tom
remove email address' dashes for replies
opensource middleware at <http://isectd.sourceforge.net>
<http://gagne.homedns.org/~tgagne/>




More information about the opencms-dev mailing list