Changeset 2615


Ignore:
Timestamp:
02/25/13 10:38:13 (11 years ago)
Author:
dietuyt
Message:

Changed URLs for LRT inventory to lrt.clarin.eu

File:
1 edited

Legend:

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

    r2565 r2615  
    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://user.clarin.eu/node/%s" % nodeId)
     19        self.fillElement("//MdSelfLink", "http://lrt.clarin.eu/node/%s" % nodeId)
    2020
    2121    def fillElement(self, XPath, value) :
     
    243243
    244244def loadInfo():
    245     csvFile = csv.reader(urllib.urlopen("http://user.clarin.eu/export_resources").readlines())
     245    csvFile = csv.reader(urllib.urlopen("http://lrt.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.