Author: robweir Date: Tue Oct 23 18:21:51 2012 New Revision: 1401374 URL: http://svn.apache.org/viewvc?rev=1401374&view=rev Log: Add new script to generate HTML table of countries where AOO is downloaded. Also, added 34x.lst which is a concat of 340.lst and 341.lst
Added: incubator/ooo/devtools/aoo-stats/34x.lst incubator/ooo/devtools/aoo-stats/downloads-by-country.py Added: incubator/ooo/devtools/aoo-stats/34x.lst URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/aoo-stats/34x.lst?rev=1401374&view=auto ============================================================================== --- incubator/ooo/devtools/aoo-stats/34x.lst (added) +++ incubator/ooo/devtools/aoo-stats/34x.lst Tue Oct 23 18:21:51 2012 @@ -0,0 +1,210 @@ +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ar/3.4.0/Apache_OpenOffice_incubating_3.4.0_Win_x86_install_ar.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ar/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-rpm_ar.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ar/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-deb_ar.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ar/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86-64_install-rpm_ar.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ar/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86-64_install-deb_ar.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ar/3.4.0/Apache_OpenOffice_incubating_3.4.0_MacOS_x86_install_ar.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/zh-CN/3.4.0/Apache_OpenOffice_incubating_3.4.0_Win_x86_install_zh-CN.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/zh-CN/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-rpm_zh-CN.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/zh-CN/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-deb_zh-CN.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/zh-CN/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86-64_install-rpm_zh-CN.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/zh-CN/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86-64_install-deb_zh-CN.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/zh-CN/3.4.0/Apache_OpenOffice_incubating_3.4.0_MacOS_x86_install_zh-CN.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/zh-TW/3.4.0/Apache_OpenOffice_incubating_3.4.0_Win_x86_install_zh-TW.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/zh-TW/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-rpm_zh-TW.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/zh-TW/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-deb_zh-TW.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/zh-TW/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86-64_install-rpm_zh-TW.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/zh-TW/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86-64_install-deb_zh-TW.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/zh-TW/3.4.0/Apache_OpenOffice_incubating_3.4.0_MacOS_x86_install_zh-TW.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/cs/3.4.0/Apache_OpenOffice_incubating_3.4.0_Win_x86_install_cs.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/cs/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-rpm_cs.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/cs/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-deb_cs.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/cs/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86-64_install-rpm_cs.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/cs/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86-64_install-deb_cs.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/cs/3.4.0/Apache_OpenOffice_incubating_3.4.0_MacOS_x86_install_cs.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/nl/3.4.0/Apache_OpenOffice_incubating_3.4.0_Win_x86_install_nl.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/nl/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-rpm_nl.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/nl/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-deb_nl.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/nl/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86-64_install-rpm_nl.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/nl/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86-64_install-deb_nl.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/nl/3.4.0/Apache_OpenOffice_incubating_3.4.0_MacOS_x86_install_nl.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/stable/3.4.0/Apache_OpenOffice_incubating_3.4.0_Win_x86_install_en-US.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/stable/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-rpm_en-US.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/stable/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-deb_en-US.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/stable/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86-64_install-rpm_en-US.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/stable/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86-64_install-deb_en-US.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/stable/3.4.0/Apache_OpenOffice_incubating_3.4.0_MacOS_x86_install_en-US.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/fr/3.4.0/Apache_OpenOffice_incubating_3.4.0_Win_x86_install_fr.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/fr/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-rpm_fr.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/fr/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-deb_fr.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/fr/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86-64_install-rpm_fr.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/fr/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86-64_install-deb_fr.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/fr/3.4.0/Apache_OpenOffice_incubating_3.4.0_MacOS_x86_install_fr.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/gl/3.4.0/Apache_OpenOffice_incubating_3.4.0_Win_x86_install_gl.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/gl/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-rpm_gl.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/gl/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-deb_gl.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/gl/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86-64_install-rpm_gl.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/gl/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86-64_install-deb_gl.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/gl/3.4.0/Apache_OpenOffice_incubating_3.4.0_MacOS_x86_install_gl.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/de/3.4.0/Apache_OpenOffice_incubating_3.4.0_Win_x86_install_de.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/de/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-rpm_de.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/de/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-deb_de.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/de/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86-64_install-rpm_de.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/de/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86-64_install-deb_de.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/de/3.4.0/Apache_OpenOffice_incubating_3.4.0_MacOS_x86_install_de.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/hu/3.4.0/Apache_OpenOffice_incubating_3.4.0_Win_x86_install_hu.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/hu/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-rpm_hu.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/hu/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-deb_hu.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/hu/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86-64_install-rpm_hu.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/hu/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86-64_install-deb_hu.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/hu/3.4.0/Apache_OpenOffice_incubating_3.4.0_MacOS_x86_install_hu.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/it/3.4.0/Apache_OpenOffice_incubating_3.4.0_Win_x86_install_it.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/it/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-rpm_it.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/it/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-deb_it.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/it/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86-64_install-rpm_it.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/it/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86-64_install-deb_it.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/it/3.4.0/Apache_OpenOffice_incubating_3.4.0_MacOS_x86_install_it.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ja/3.4.0/Apache_OpenOffice_incubating_3.4.0_Win_x86_install_ja.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ja/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-rpm_ja.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ja/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-deb_ja.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ja/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86-64_install-rpm_ja.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ja/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86-64_install-deb_ja.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ja/3.4.0/Apache_OpenOffice_incubating_3.4.0_MacOS_x86_install_ja.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/pt-BR/3.4.0/Apache_OpenOffice_incubating_3.4.0_Win_x86_install_pt-BR.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/pt-BR/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-rpm_pt-BR.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/pt-BR/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-deb_pt-BR.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/pt-BR/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86-64_install-rpm_pt-BR.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/pt-BR/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86-64_install-deb_pt-BR.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/pt-BR/3.4.0/Apache_OpenOffice_incubating_3.4.0_MacOS_x86_install_pt-BR.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ru/3.4.0/Apache_OpenOffice_incubating_3.4.0_Win_x86_install_ru.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ru/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-rpm_ru.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ru/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-deb_ru.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ru/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86-64_install-rpm_ru.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ru/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86-64_install-deb_ru.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ru/3.4.0/Apache_OpenOffice_incubating_3.4.0_MacOS_x86_install_ru.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/es/3.4.0/Apache_OpenOffice_incubating_3.4.0_Win_x86_install_es.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/es/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-rpm_es.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/es/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-deb_es.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/es/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86-64_install-rpm_es.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/es/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86-64_install-deb_es.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/es/3.4.0/Apache_OpenOffice_incubating_3.4.0_MacOS_x86_install_es.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ar/3.4.1/Apache_OpenOffice_incubating_3.4.1_Win_x86_install_ar.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ar/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-rpm_ar.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ar/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-deb_ar.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ar/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-rpm_ar.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ar/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-deb_ar.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ar/3.4.1/Apache_OpenOffice_incubating_3.4.1_MacOS_x86_install_ar.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/zh-CN/3.4.1/Apache_OpenOffice_incubating_3.4.1_Win_x86_install_zh-CN.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/zh-CN/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-rpm_zh-CN.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/zh-CN/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-deb_zh-CN.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/zh-CN/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-rpm_zh-CN.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/zh-CN/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-deb_zh-CN.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/zh-CN/3.4.1/Apache_OpenOffice_incubating_3.4.1_MacOS_x86_install_zh-CN.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/zh-TW/3.4.1/Apache_OpenOffice_incubating_3.4.1_Win_x86_install_zh-TW.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/zh-TW/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-rpm_zh-TW.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/zh-TW/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-deb_zh-TW.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/zh-TW/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-rpm_zh-TW.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/zh-TW/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-deb_zh-TW.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/zh-TW/3.4.1/Apache_OpenOffice_incubating_3.4.1_MacOS_x86_install_zh-TW.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/cs/3.4.1/Apache_OpenOffice_incubating_3.4.1_Win_x86_install_cs.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/cs/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-rpm_cs.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/cs/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-deb_cs.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/cs/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-rpm_cs.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/cs/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-deb_cs.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/cs/3.4.1/Apache_OpenOffice_incubating_3.4.1_MacOS_x86_install_cs.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/nl/3.4.1/Apache_OpenOffice_incubating_3.4.1_Win_x86_install_nl.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/nl/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-rpm_nl.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/nl/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-deb_nl.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/nl/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-rpm_nl.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/nl/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-deb_nl.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/nl/3.4.1/Apache_OpenOffice_incubating_3.4.1_MacOS_x86_install_nl.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/stable/3.4.1/Apache_OpenOffice_incubating_3.4.1_Win_x86_install_en-US.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/stable/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-rpm_en-US.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/stable/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-deb_en-US.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/stable/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-rpm_en-US.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/stable/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-deb_en-US.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/stable/3.4.1/Apache_OpenOffice_incubating_3.4.1_MacOS_x86_install_en-US.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/fr/3.4.1/Apache_OpenOffice_incubating_3.4.1_Win_x86_install_fr.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/fr/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-rpm_fr.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/fr/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-deb_fr.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/fr/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-rpm_fr.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/fr/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-deb_fr.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/fr/3.4.1/Apache_OpenOffice_incubating_3.4.1_MacOS_x86_install_fr.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/gl/3.4.1/Apache_OpenOffice_incubating_3.4.1_Win_x86_install_gl.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/gl/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-rpm_gl.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/gl/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-deb_gl.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/gl/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-rpm_gl.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/gl/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-deb_gl.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/gl/3.4.1/Apache_OpenOffice_incubating_3.4.1_MacOS_x86_install_gl.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/de/3.4.1/Apache_OpenOffice_incubating_3.4.1_Win_x86_install_de.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/de/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-rpm_de.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/de/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-deb_de.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/de/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-rpm_de.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/de/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-deb_de.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/de/3.4.1/Apache_OpenOffice_incubating_3.4.1_MacOS_x86_install_de.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/hu/3.4.1/Apache_OpenOffice_incubating_3.4.1_Win_x86_install_hu.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/hu/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-rpm_hu.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/hu/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-deb_hu.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/hu/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-rpm_hu.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/hu/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-deb_hu.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/hu/3.4.1/Apache_OpenOffice_incubating_3.4.1_MacOS_x86_install_hu.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/it/3.4.1/Apache_OpenOffice_incubating_3.4.1_Win_x86_install_it.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/it/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-rpm_it.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/it/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-deb_it.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/it/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-rpm_it.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/it/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-deb_it.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/it/3.4.1/Apache_OpenOffice_incubating_3.4.1_MacOS_x86_install_it.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ja/3.4.1/Apache_OpenOffice_incubating_3.4.1_Win_x86_install_ja.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ja/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-rpm_ja.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ja/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-deb_ja.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ja/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-rpm_ja.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ja/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-deb_ja.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ja/3.4.1/Apache_OpenOffice_incubating_3.4.1_MacOS_x86_install_ja.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/pt-BR/3.4.1/Apache_OpenOffice_incubating_3.4.1_Win_x86_install_pt-BR.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/pt-BR/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-rpm_pt-BR.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/pt-BR/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-deb_pt-BR.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/pt-BR/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-rpm_pt-BR.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/pt-BR/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-deb_pt-BR.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/pt-BR/3.4.1/Apache_OpenOffice_incubating_3.4.1_MacOS_x86_install_pt-BR.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ru/3.4.1/Apache_OpenOffice_incubating_3.4.1_Win_x86_install_ru.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ru/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-rpm_ru.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ru/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-deb_ru.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ru/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-rpm_ru.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ru/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-deb_ru.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ru/3.4.1/Apache_OpenOffice_incubating_3.4.1_MacOS_x86_install_ru.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/es/3.4.1/Apache_OpenOffice_incubating_3.4.1_Win_x86_install_es.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/es/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-rpm_es.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/es/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-deb_es.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/es/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-rpm_es.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/es/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-deb_es.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/es/3.4.1/Apache_OpenOffice_incubating_3.4.1_MacOS_x86_install_es.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/fi/3.4.1/Apache_OpenOffice_incubating_3.4.1_Win_x86_install_fi.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/fi/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-rpm_fi.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/fi/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-deb_fi.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/fi/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-rpm_fi.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/fi/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-deb_fi.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/fi/3.4.1/Apache_OpenOffice_incubating_3.4.1_MacOS_x86_install_fi.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/en-GB/3.4.1/Apache_OpenOffice_incubating_3.4.1_Win_x86_install_en-GB.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/en-GB/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-rpm_en-GB.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/en-GB/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-deb_en-GB.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/en-GB/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-rpm_en-GB.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/en-GB/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-deb_en-GB.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/en-GB/3.4.1/Apache_OpenOffice_incubating_3.4.1_MacOS_x86_install_en-GB.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/km/3.4.1/Apache_OpenOffice_incubating_3.4.1_Win_x86_install_km.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/km/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-rpm_km.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/km/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-deb_km.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/km/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-rpm_km.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/km/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-deb_km.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/km/3.4.1/Apache_OpenOffice_incubating_3.4.1_MacOS_x86_install_km.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/sl/3.4.1/Apache_OpenOffice_incubating_3.4.1_Win_x86_install_sl.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/sl/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-rpm_sl.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/sl/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-deb_sl.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/sl/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-rpm_sl.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/sl/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-deb_sl.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/sl/3.4.1/Apache_OpenOffice_incubating_3.4.1_MacOS_x86_install_sl.dmg +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/sk/3.4.1/Apache_OpenOffice_incubating_3.4.1_Win_x86_install_sk.exe +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/sk/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-rpm_sk.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/sk/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-deb_sk.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/sk/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-rpm_sk.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/sk/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-deb_sk.tar.gz +http://sourceforge.net/projects/openofficeorg.mirror/files/localized/sk/3.4.1/Apache_OpenOffice_incubating_3.4.1_MacOS_x86_install_sk.dmg Added: incubator/ooo/devtools/aoo-stats/downloads-by-country.py URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/aoo-stats/downloads-by-country.py?rev=1401374&view=auto ============================================================================== --- incubator/ooo/devtools/aoo-stats/downloads-by-country.py (added) +++ incubator/ooo/devtools/aoo-stats/downloads-by-country.py Tue Oct 23 18:21:51 2012 @@ -0,0 +1,115 @@ +################################################################ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# +################################################################ + + +import urllib +import json +import os +import hashlib +import datetime +import time +import sys + +from urllib import urlencode + +def getSourceForgeStats(download, start_date, end_date): + + #print download + + url = download + "/stats/json?start_date=" + start_date + "&" "end_date=" + end_date + + attempts = 0 + + while attempts < 3: + try: + conn = urllib.urlopen(url) + data = conn.read() + + return data + + except: + attempts += 1 + print "error " + str(attempts) + + return "" + +# dictionary of language code to country_dict (dictionary of country name to count) +country_dict = {} + +def mergeCountries(countries): + + for country_tuple in countries: + + country_name = country_tuple[0] + country_count = country_tuple[1] + + if country_name in country_dict: + country_dict[country_name] = country_dict[country_name] + country_count + else: + country_dict[country_name] = country_count + + +if len(sys.argv) == 0: + print "syntax: python downloads-by-country.py <urls.lst> <start-date> <end-date>" + print "where <file.list> is a list of files URL's to gather stats on, and <start-date> and <end-date> are in YYYY-MM-DD format." + +downloads = [line.strip() for line in open(sys.argv[1])] + +for download in downloads : + + data = getSourceForgeStats(download, sys.argv[2], sys.argv[3]) + + #print data + + obj = json.loads(data) + + countries = obj["countries"] + + mergeCountries(countries) + + +print "<html>" +print "<head>" +print "<title>OpenOffice Downloads by Country</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 "<table border='1'>" + +print "<tr>" +print "<th>Rank</th>" +print "<th>Country</th>" +print "<th>Downloads</th>" +print "</tr>" + +rank = 1 + +for country in sorted(country_dict,key=lambda x: country_dict[x], reverse=True): + print "<tr>" + print "<td align='right'>" + "#" + str(rank) + "</td>" + print "<td>" + country.encode("utf-8") + "</td>" + print "<td align='right'>" + str(country_dict[country]) + "</td>" + print "</tr>" + rank +=1 + +print"</table>" +print "</body>" +