version 1.15, 2004/03/03 13:02:54
|
version 1.17, 2004/04/05 21:54:42
|
Line 157 class OSAS_StoreOnline(SimpleItem):
|
Line 157 class OSAS_StoreOnline(SimpleItem):
|
"""Test ob Eintrag ein Folder ist""" |
"""Test ob Eintrag ein Folder ist""" |
return isFullText(path,folder_name) |
return isFullText(path,folder_name) |
|
|
|
def isPresentation(self,path,folder_name): |
|
"""Test ob Eintrag ein Folder ist""" |
|
return isPresentation(path,folder_name) |
|
|
def date(self): |
def date(self): |
return strftime("%d.%m.%Y",localtime()) |
return strftime("%d.%m.%Y",localtime()) |
|
|
Line 250 from AccessControl import ClassSecurityI
|
Line 254 from AccessControl import ClassSecurityI
|
from AccessControl.Role import RoleManager |
from AccessControl.Role import RoleManager |
from Acquisition import Implicit |
from Acquisition import Implicit |
from Globals import Persistent |
from Globals import Persistent |
|
try: |
from time import strptime |
from time import strptime |
|
except: |
|
print "ignoring time.strptime import" |
|
|
from time import strftime |
from time import strftime |
import time |
import time |
import os.path |
import os.path |
Line 952 def hasMetafile(path):
|
Line 960 def hasMetafile(path):
|
return os.path.exists(path+"/index.meta") |
return os.path.exists(path+"/index.meta") |
#return path |
#return path |
|
|
|
|
|
|
def isdigilib2(path): |
def isdigilib2(path): |
"""check if folder is candidate for digilib without metadata""" |
"""check if folder is candidate for digilib without metadata""" |
try: |
try: |