Changeset 2041
- Timestamp:
- 07/19/12 14:54:26 (12 years ago)
- Location:
- CLARIN_KML
- Files:
-
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
CLARIN_KML/exec/XMLdb_to_KML.xsl
r2040 r2041 26 26 <!-- <img src="about:blank" /> --> 27 27 <h2>Member information</h2> 28 <table border="1" align="left">28 <table border="1" style="float:none; text-align:left" cellpadding="10px"> 29 29 <tr> 30 30 <th>name</th> … … 47 47 <td><xsl:value-of select="City"/></td> 48 48 </tr> 49 <xsl:variable name="website_URL" select='normalize-space(Website_)'/> 50 <xsl:if test="$website_URL != ''"> 49 51 <tr> 50 52 <th>website</th> 51 <td><a href="{ normalize-space(Website_)}"/></td>53 <td><a href="{$website_URL}"><xsl:value-of select="$website_URL"/></a></td> 52 54 </tr> 55 </xsl:if> 53 56 </table> 54 57 55 58 <xsl:if test="normalize-space(Expertise) != ''"> 56 59 <br /> 57 <br />58 60 <h2>Expertise</h2> 59 61 <p><xsl:value-of select="Expertise"/></p> 60 </xsl:if> 61 62 <br /> 62 </xsl:if> 63 63 64 <br /> 64 65 <h2>Contact details</h2> 65 <table border="1" align="left">66 <table border="1" style="float:none; text-align:left; border-style:inset; border-spacing: 0px" cellpadding="5px"> 66 67 <tr> 67 68 <th>Contact person</th> -
CLARIN_KML/exec/generate_CLARIN_KMZ.sh
r2040 r2041 25 25 26 26 CSV_file_URL='http://www.clarin.eu/export_organisations_coordinates'; 27 original_KMZ_file_URL='http://www.mpi.nl/DOBES/dobesmap/language_sites.kmz'; 27 28 28 29 ROOT_directory_path="$(robust_directory_of_origin)/../"; # "$(realpath $(dirname ..) )/"; # X- $0 29 INPUT_directory_path="${ROOT_directory_path}/ input/";30 INPUT_directory_path="${ROOT_directory_path}/.input/"; 30 31 EXEC_directory_path="${ROOT_directory_path}/exec/"; 31 32 OUTPUT_directory_path="${ROOT_directory_path}/.output/"; … … 56 57 echo "Saxon JAR: ${SAXON_JAR_file_path}"; 57 58 59 mkdir "${INPUT_directory_path}" 2> '/dev/null'; 58 60 mkdir "${OUTPUT_directory_path}" 2> '/dev/null'; 59 61 … … 64 66 then 65 67 echo "ERROR: the download of the CSV file failed!"; 68 exit 1; 69 fi 70 71 echo -e "\n\n${bold}Downloading original KMZ file from "${original_KMZ_file_URL}" to "${original_KMZ_file_URL}" ...${normal}"; 72 wget -O - "${original_KMZ_file_URL}" > "${KMZ_original_file_path}"; 73 74 if [ $? -ne 0 ] 75 then 76 echo "ERROR: the download of the original KMZ file failed!"; 66 77 exit 1; 67 78 fi
Note: See TracChangeset
for help on using the changeset viewer.