"""Contains a hard-coded mapping between EIAO category strings for the owners of websites and IDs in the DW. This mapping is used by the ETL tool (dw10load.py). The EIAO category strings are defined in D6.6.1.1.2 and are composed of two parts: A sector (either 'PU' for public or 'CO' for commercial) and a category (e.g. 'TV'). Thus an EIAO category string could be 'CO-TV'. """ # 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 __author__ = "Christian Thomsen" __maintainer__ = "Christian Thomsen" __version__ = 0.9901 eiaocat_catidmap = { 'PU-FE':1, 'PU-LO':2, 'PU-UN':3, 'PU-MU':4, 'PU-PO':5, 'PU-LI':6, 'PU-PA':7, 'PU-NE':8, 'PU-TV':9, 'PU-RA':10, 'PU-BA':11, 'PU-TR':12, 'PU-EC':13, 'CO-UN':103, 'CO-MU':104, 'CO-PO':105, 'CO-LI':106, 'CO-PA':107, 'CO-NE':108, 'CO-TV':109, 'CO-RA':110, 'CO-BA':111, 'CO-TR':112, 'CO-EC':113 }