// Lists top-level elements
//
if( path.isRoot() )
{
log.info("Adding DAV items from path "+path);
DirectoryItem di = new DirectoryItem( this, path );
di.addDavItems( listAlphabeticals(path) );
return di;
}
//
// Lists each item in each subdir
//
if( path.isDirectory() )
{
log.info("Listing pages in path "+path);
DirectoryItem di = new DirectoryItem( this, path );
di.addDavItems( listDirContents(path) );
return di;
}
if( pname.endsWith(".html") && pname.length() > 5 )