From 24168fb4e516de0871cb02cd18d937c7cf9fed03 Mon Sep 17 00:00:00 2001
From: str4d
+ {% trans -%}
This page specifies the format of the various GeoIP files,
used by the router to look up a country for an IP.
-{% trans %}Developer's Guides and Resources{% endtrans %}
diff --git a/www.i2p2/pages/geoip.html b/i2p2www/pages/site/docs/spec/geoip.html
similarity index 76%
rename from www.i2p2/pages/geoip.html
rename to i2p2www/pages/site/docs/spec/geoip.html
index b3cd1cb3..4a233942 100644
--- a/www.i2p2/pages/geoip.html
+++ b/i2p2www/pages/site/docs/spec/geoip.html
@@ -1,20 +1,21 @@
-{% extends "_layout.html" %}
-{% block title %}GeoIP File Specification{% endblock %}
+{% extends "global/layout.html" %}
+{% block title %}{% trans %}GeoIP File Specification{% endtrans %}{% endblock %}
+{% block lastupdated %}{% trans %}May 2013{% endtrans %}{% endblock %}
+{% block accuratefor %}0.9.6{% endblock %}
{% block content %}
-Updated May 2013, current as of router version 0.9.6
-
-Overview
-{% trans %}Overview{% endtrans %}
+
+
{% trans -%} This format is easily generated from data files available from many public sources. For example: +{%- endtrans %}
# wget http://geolite.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip # unzip GeoIPCountryCSV.zip @@ -29,10 +30,11 @@ For example: -IPv4 (geoip.txt) Format
-+
{% trans %}IPv4 (geoip.txt) Format{% endtrans %}
+{% trans -%} This format is borrowed from Tor and is easily generated from data files available from many public sources. For example: +{%- endtrans %}
# wget http://geolite.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip # unzip GeoIPCountryCSV.zip @@ -49,10 +51,11 @@ For example: -IPv6 (geoipv6.dat.gz) Format
-+
{% trans %}IPv6 (geoipv6.dat.gz) Format{% endtrans %}
+{% trans -%} This is a compressed binary format designed for I2P. The file is gzipped. Ungzipped format: +{%- endtrans %}
Bytes 0-9: Magic number "I2PGeoIPv6" Bytes 10-11: Version (0x0001) @@ -65,8 +68,7 @@ The file is gzipped. Ungzipped format: 8 byte to (/64) 2 byte ISO country code LOWER case (ASCII)--NOTES: +
{% trans %}NOTES:{% endtrans %}