Lines Matching refs:url
361 def checkXMLMsgArchive(url):
368 if url == None:
374 """SELECT ID FROM archives WHERE resource='%s'""" % (url))
383 def addXMLMsgArchive(url, title):
390 if url == None:
400 cmd = """INSERT INTO archives (resource, title) VALUES ('%s','%s')""" % (url, title)
402 cmd = """SELECT ID FROM archives WHERE resource='%s'""" % (url)
406 print "addXMLMsgArchive failed to get the ID: %s" % (url)
1056 url = "http://mail.gnome.org/archives/xml/%d-%s/date.html" % (year, month)
1057 return url
1059 def scanXMLMsgArchive(url, title, force = 0):
1060 if url == None or title == None:
1063 ID = checkXMLMsgArchive(url)
1068 ID = addXMLMsgArchive(url, title)
1073 print "Loading %s" % (url)
1074 doc = libxml2.htmlParseFile(url, None);
1078 print "Failed to parse %s" % (url)
1094 url = getXMLDateArchive(t)
1095 print "loading %s" % (url)
1097 doc = libxml2.htmlParseFile(url, None);
1101 print "Failed to parse %s" % (url)
1114 msg = libxml2.buildURI(href, url)