Author: mseidel
Date: Sat Jun 2 16:55:45 2018
New Revision: 1832742
URL: http://svn.apache.org/viewvc?rev=1832742&view=rev
Log:
Fixed scripts for Country -> Country/Territory
Modified:
openoffice/devtools/aoo-stats/downloads-by-country-test.py
openoffice/devtools/aoo-stats/downloads-by-country.py
Modified: openoffice/devtools/aoo-stats/downloads-by-country-test.py
URL: http://svn.apache.org/viewvc/openoffice/devtools/aoo-stats/downloads-by-country-test.py?rev=1832742&r1=1832741&r2=1832742&view=diff
==============================================================================
--- openoffice/devtools/aoo-stats/downloads-by-country-test.py (original)
+++ openoffice/devtools/aoo-stats/downloads-by-country-test.py Sat Jun 2 16:55:45 2018
@@ -88,7 +88,8 @@ for download in downloads :
print "<html>"
print "<head>"
-print "<title>OpenOffice Downloads by Country</title>"
+print "<title>OpenOffice Downloads by Country/Territory</title>"
+print "<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />"
print "</head>"
print "<body>"
print "<h2>Downloads by Country</h2>"
@@ -98,12 +99,12 @@ print "The data is collected and aggrega
print "<p>The download figures are for full-install downloads of Apache OpenOffice
downloaded via SourceForge. This does not include downloads of language packs, SDKs or source
tarballs. "
print "It does not include downloads of earlier versions of OpenOffice.org or downloads made
from copies of OpenOffice hosted on other repositories.</p>"
print "<p>This table is <b>not</b> live. The data is manually updated.</p>"
-print "<p>This table shows downloads per <a href='https://en.wikipedia.org/wiki/Country_code_top-level_domain'>country</a>
for the period from " + sys.argv[2] + " to " + sys.argv[3] + ".</p>"
-print "<table border='1' cellpadding='20'>"
+print "<p>This table shows downloads per <a href='https://en.wikipedia.org/wiki/Country_code_top-level_domain'>country/territory</a>
for the period from " + sys.argv[2] + " to " + sys.argv[3] + ".</p>"
+print "<table border='1' cellpadding='10'>"
print "<tr>"
print "<th>Rank</th>"
-print "<th>Country</th>"
+print "<th>Country/Territory</th>"
print "<th>Downloads</th>"
print "</tr>"
Modified: openoffice/devtools/aoo-stats/downloads-by-country.py
URL: http://svn.apache.org/viewvc/openoffice/devtools/aoo-stats/downloads-by-country.py?rev=1832742&r1=1832741&r2=1832742&view=diff
==============================================================================
--- openoffice/devtools/aoo-stats/downloads-by-country.py (original)
+++ openoffice/devtools/aoo-stats/downloads-by-country.py Sat Jun 2 16:55:45 2018
@@ -88,15 +88,15 @@ for download in downloads :
print "<html>"
print "<head>"
-print "<title>OpenOffice Downloads by Country</title>"
+print "<title>OpenOffice Downloads by Country/Territory</title>"
print "<html>"
print "<body>"
-print "<p>This table shows downloads per <a href='http://en.wikipedia.org/wiki/Country_code_top-level_domain'>country</a>
for the period from " + sys.argv[2] + " to " + sys.argv[3] + ".</p>"
+print "<p>This table shows downloads per <a href='http://en.wikipedia.org/wiki/Country_code_top-level_domain'>country/territory</a>
for the period from " + sys.argv[2] + " to " + sys.argv[3] + ".</p>"
print "<table border='1' cellpadding='10'>"
print "<tr>"
print "<th>Rank</th>"
-print "<th>Country</th>"
+print "<th>Country/Territory</th>"
print "<th>Downloads</th>"
print "</tr>"
|