# -*- coding: UTF-8 -*- """The URL repository module """ # Copyright 2005, 2006 EIAO Consoritum # This program is distributed under the terms of the GNU General # Public License. # # This file is part of the European Internet Accessibility Observatory # (EIAO) # # EIAO is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # EIAO is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with EIAO; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, # MA 02110-1301 USA __owner__ = "Terje Gjosater" __maintainer__ = "Terje Gjosater" __version__ = 0.1 import SOAPpy import time if __name__ == '__main__': server = SOAPpy.SOAPProxy("http://eiao4.hia.no:8889/") while True: #dbname = server.getdbname() #print dbname siteurl=server.getSiteURL() print siteurl[0] #server.finishedSiteURL(siteurl[0]) server.putSiteURL(siteurl[0])