Changeset 2565


Ignore:
Timestamp:
02/11/13 16:45:19 (11 years ago)
Author:
dietuyt
Message:

Removed old version of lrt2cmdi.py, updated links to user.clarin.eu instead of www.clarin.eu

File:
1 moved

Legend:

Unmodified
Added
Removed
  • metadata/trunk/toolkit/scripts/lrt2cmdi.py

    r2564 r2565  
    1717        self.parentmap      = dict((c, p) for p in self.xmlTree.getiterator() for c in p)
    1818        self.fillElement("//MdCreationDate", datetime.datetime.now().strftime("%Y-%m-%d"))
    19         self.fillElement("//MdSelfLink", "http://www.clarin.eu/node/%s" % nodeId)
     19        self.fillElement("//MdSelfLink", "http://user.clarin.eu/node/%s" % nodeId)
    2020
    2121    def fillElement(self, XPath, value) :
     
    243243
    244244def loadInfo():
    245     csvFile = csv.reader(urllib.urlopen("http://www.clarin.eu/export_resources").readlines())
     245    csvFile = csv.reader(urllib.urlopen("http://user.clarin.eu/export_resources").readlines())
    246246    #csvFile = csv.reader(urllib.urlopen("resources.csv").readlines())
    247247    #csvFile =[l.decode('utf-8') for l in rawCsvFile]
Note: See TracChangeset for help on using the changeset viewer.