Thomas Buck 11 gadus atpakaļ
vecāks
revīzija
2f34001f2e
5 mainītis faili ar 80 papildinājumiem un 80 dzēšanām
  1. 4
    4
      macros.py
  2. Binārs
      macros.pyc
  3. 37
    37
      output/index.php
  4. 37
    37
      output/mobile/index.php
  5. 2
    2
      output/rss.xml

+ 4
- 4
macros.py Parādīt failu

@@ -79,7 +79,7 @@ def hook_preconvert_compat():
79 79
     fp = open(os.path.join(options.project, "output", "index.php"), 'w')
80 80
     fp.write("<?\n")
81 81
     fp.write("// Auto generated xyCMS compatibility index.php\n")
82
-    fp.write("$loc = 'index.de.html';\n")
82
+    fp.write("$loc = 'http://xythobuz.de/index.de.html';\n")
83 83
     fp.write("if (isset($_GET['p'])) {\n")
84 84
     fp.write("    if (isset($_GET['lang'])) {\n")
85 85
     fp.write("        $_GET['p'] .= 'EN';\n")
@@ -90,7 +90,7 @@ def hook_preconvert_compat():
90 90
             tmp = p["compat"]
91 91
             if p.get("lang", DEFAULT_LANG) == DEFAULT_LANG:
92 92
                 tmp = tmp + "EN"
93
-            fp.write(_COMPAT % (tmp, options.base_url.rstrip('/'), p.url))
93
+            fp.write(_COMPAT % (tmp, "http://xythobuz.de", p.url))
94 94
             fp.write("\n")
95 95
     fp.write(_COMPAT_404 % "/404.html")
96 96
     fp.write("    }\n")
@@ -211,7 +211,7 @@ def hook_postconvert_mobilecompat():
211 211
     fp = codecs.open(os.path.join(directory, "index.php"), "w", "utf-8")
212 212
     fp.write("<?\n")
213 213
     fp.write("// Auto generated xyCMS compatibility mobile/index.php\n")
214
-    fp.write("$loc = 'index.de.mob.html';\n")
214
+    fp.write("$loc = 'http://www.xythobuz.de/index.de.mob.html';\n")
215 215
     fp.write("if (isset($_GET['p'])) {\n")
216 216
     fp.write("    if (isset($_GET['lang'])) {\n")
217 217
     fp.write("        $_GET['p'] .= 'EN';\n")
@@ -222,7 +222,7 @@ def hook_postconvert_mobilecompat():
222 222
             tmp = p["compat"]
223 223
             if p.get("lang", DEFAULT_LANG) == DEFAULT_LANG:
224 224
                 tmp = tmp + "EN"
225
-            fp.write(_COMPAT_MOB % (tmp, options.base_url.rstrip('/'), re.sub(".html", ".mob.html", p.url)))
225
+            fp.write(_COMPAT_MOB % (tmp, "http://xythobuz.de", re.sub(".html", ".mob.html", p.url)))
226 226
             fp.write("\n")
227 227
     fp.write(_COMPAT_404_MOB % "/404.mob.html")
228 228
     fp.write("    }\n")

Binārs
macros.pyc Parādīt failu


+ 37
- 37
output/index.php Parādīt failu

@@ -1,153 +1,153 @@
1 1
 <?
2 2
 // Auto generated xyCMS compatibility index.php
3
-$loc = 'index.de.html';
3
+$loc = 'http://xythobuz.de/index.de.html';
4 4
 if (isset($_GET['p'])) {
5 5
     if (isset($_GET['lang'])) {
6 6
         $_GET['p'] .= 'EN';
7 7
     }
8 8
     switch($_GET['p']) {
9 9
         case "blog":
10
-            $loc = "/blog.de.html";
10
+            $loc = "http://xythobuz.de/blog.de.html";
11 11
             break;
12 12
 
13 13
         case "blogEN":
14
-            $loc = "/blog.html";
14
+            $loc = "http://xythobuz.de/blog.html";
15 15
             break;
16 16
 
17 17
         case "kontakt":
18
-            $loc = "/contact.de.html";
18
+            $loc = "http://xythobuz.de/contact.de.html";
19 19
             break;
20 20
 
21 21
         case "kontaktEN":
22
-            $loc = "/contact.html";
22
+            $loc = "http://xythobuz.de/contact.html";
23 23
             break;
24 24
 
25 25
         case "home":
26
-            $loc = "/index.de.html";
26
+            $loc = "http://xythobuz.de/index.de.html";
27 27
             break;
28 28
 
29 29
         case "homeEN":
30
-            $loc = "/index.html";
30
+            $loc = "http://xythobuz.de/index.html";
31 31
             break;
32 32
 
33 33
         case "avrserlib":
34
-            $loc = "/avrserial.de.html";
34
+            $loc = "http://xythobuz.de/avrserial.de.html";
35 35
             break;
36 36
 
37 37
         case "avrserlibEN":
38
-            $loc = "/avrserial.html";
38
+            $loc = "http://xythobuz.de/avrserial.html";
39 39
             break;
40 40
 
41 41
         case "c250":
42
-            $loc = "/c250.de.html";
42
+            $loc = "http://xythobuz.de/c250.de.html";
43 43
             break;
44 44
 
45 45
         case "c250EN":
46
-            $loc = "/c250.html";
46
+            $loc = "http://xythobuz.de/c250.html";
47 47
             break;
48 48
 
49 49
         case "cube":
50
-            $loc = "/ledcube.de.html";
50
+            $loc = "http://xythobuz.de/ledcube.de.html";
51 51
             break;
52 52
 
53 53
         case "cubeEN":
54
-            $loc = "/ledcube.html";
54
+            $loc = "http://xythobuz.de/ledcube.html";
55 55
             break;
56 56
 
57 57
         case "ledmatrix":
58
-            $loc = "/ledmatrix.de.html";
58
+            $loc = "http://xythobuz.de/ledmatrix.de.html";
59 59
             break;
60 60
 
61 61
         case "ledmatrixEN":
62
-            $loc = "/ledmatrix.html";
62
+            $loc = "http://xythobuz.de/ledmatrix.html";
63 63
             break;
64 64
 
65 65
         case "nas":
66
-            $loc = "/nas.de.html";
66
+            $loc = "http://xythobuz.de/nas.de.html";
67 67
             break;
68 68
 
69 69
         case "nasEN":
70
-            $loc = "/nas.html";
70
+            $loc = "http://xythobuz.de/nas.html";
71 71
             break;
72 72
 
73 73
         case "serialdebug":
74
-            $loc = "/serialdebug.de.html";
74
+            $loc = "http://xythobuz.de/serialdebug.de.html";
75 75
             break;
76 76
 
77 77
         case "serialdebugEN":
78
-            $loc = "/serialdebug.html";
78
+            $loc = "http://xythobuz.de/serialdebug.html";
79 79
             break;
80 80
 
81 81
         case "serialhelper":
82
-            $loc = "/serialhelper.de.html";
82
+            $loc = "http://xythobuz.de/serialhelper.de.html";
83 83
             break;
84 84
 
85 85
         case "serialhelperEN":
86
-            $loc = "/serialhelper.html";
86
+            $loc = "http://xythobuz.de/serialhelper.html";
87 87
             break;
88 88
 
89 89
         case "ssop28":
90
-            $loc = "/ssop28.de.html";
90
+            $loc = "http://xythobuz.de/ssop28.de.html";
91 91
             break;
92 92
 
93 93
         case "ssop28EN":
94
-            $loc = "/ssop28.html";
94
+            $loc = "http://xythobuz.de/ssop28.html";
95 95
             break;
96 96
 
97 97
         case "notifier":
98
-            $loc = "/ultimatenotifier.de.html";
98
+            $loc = "http://xythobuz.de/ultimatenotifier.de.html";
99 99
             break;
100 100
 
101 101
         case "notifierEN":
102
-            $loc = "/ultimatenotifier.html";
102
+            $loc = "http://xythobuz.de/ultimatenotifier.html";
103 103
             break;
104 104
 
105 105
         case "yasab":
106
-            $loc = "/yasab.de.html";
106
+            $loc = "http://xythobuz.de/yasab.de.html";
107 107
             break;
108 108
 
109 109
         case "yasabEN":
110
-            $loc = "/yasab.html";
110
+            $loc = "http://xythobuz.de/yasab.html";
111 111
             break;
112 112
 
113 113
         case "bt":
114
-            $loc = "/bluetooth.de.html";
114
+            $loc = "http://xythobuz.de/bluetooth.de.html";
115 115
             break;
116 116
 
117 117
         case "btEN":
118
-            $loc = "/bluetooth.html";
118
+            $loc = "http://xythobuz.de/bluetooth.html";
119 119
             break;
120 120
 
121 121
         case "sram":
122
-            $loc = "/k6x4008.de.html";
122
+            $loc = "http://xythobuz.de/k6x4008.de.html";
123 123
             break;
124 124
 
125 125
         case "sramEN":
126
-            $loc = "/k6x4008.html";
126
+            $loc = "http://xythobuz.de/k6x4008.html";
127 127
             break;
128 128
 
129 129
         case "rrem":
130
-            $loc = "/rremote.de.html";
130
+            $loc = "http://xythobuz.de/rremote.de.html";
131 131
             break;
132 132
 
133 133
         case "rremEN":
134
-            $loc = "/rremote.html";
134
+            $loc = "http://xythobuz.de/rremote.html";
135 135
             break;
136 136
 
137 137
         case "rob":
138
-            $loc = "/xyrobot.de.html";
138
+            $loc = "http://xythobuz.de/xyrobot.de.html";
139 139
             break;
140 140
 
141 141
         case "robEN":
142
-            $loc = "/xyrobot.html";
142
+            $loc = "http://xythobuz.de/xyrobot.html";
143 143
             break;
144 144
 
145 145
         case "xyrobotremote":
146
-            $loc = "/xyrobotremote.de.html";
146
+            $loc = "http://xythobuz.de/xyrobotremote.de.html";
147 147
             break;
148 148
 
149 149
         case "xyrobotremoteEN":
150
-            $loc = "/xyrobotremote.html";
150
+            $loc = "http://xythobuz.de/xyrobotremote.html";
151 151
             break;
152 152
 
153 153
         default:

+ 37
- 37
output/mobile/index.php Parādīt failu

@@ -1,153 +1,153 @@
1 1
 <?
2 2
 // Auto generated xyCMS compatibility mobile/index.php
3
-$loc = 'index.de.mob.html';
3
+$loc = 'http://www.xythobuz.de/index.de.mob.html';
4 4
 if (isset($_GET['p'])) {
5 5
     if (isset($_GET['lang'])) {
6 6
         $_GET['p'] .= 'EN';
7 7
     }
8 8
     switch($_GET['p']) {
9 9
         case "blog":
10
-            $loc = "/blog.de.mob.html";
10
+            $loc = "http://xythobuz.de/blog.de.mob.html";
11 11
             break;
12 12
 
13 13
         case "blogEN":
14
-            $loc = "/blog.mob.html";
14
+            $loc = "http://xythobuz.de/blog.mob.html";
15 15
             break;
16 16
 
17 17
         case "kontakt":
18
-            $loc = "/contact.de.mob.html";
18
+            $loc = "http://xythobuz.de/contact.de.mob.html";
19 19
             break;
20 20
 
21 21
         case "kontaktEN":
22
-            $loc = "/contact.mob.html";
22
+            $loc = "http://xythobuz.de/contact.mob.html";
23 23
             break;
24 24
 
25 25
         case "home":
26
-            $loc = "/index.de.mob.html";
26
+            $loc = "http://xythobuz.de/index.de.mob.html";
27 27
             break;
28 28
 
29 29
         case "homeEN":
30
-            $loc = "/index.mob.html";
30
+            $loc = "http://xythobuz.de/index.mob.html";
31 31
             break;
32 32
 
33 33
         case "avrserlib":
34
-            $loc = "/avrserial.de.mob.html";
34
+            $loc = "http://xythobuz.de/avrserial.de.mob.html";
35 35
             break;
36 36
 
37 37
         case "avrserlibEN":
38
-            $loc = "/avrserial.mob.html";
38
+            $loc = "http://xythobuz.de/avrserial.mob.html";
39 39
             break;
40 40
 
41 41
         case "c250":
42
-            $loc = "/c250.de.mob.html";
42
+            $loc = "http://xythobuz.de/c250.de.mob.html";
43 43
             break;
44 44
 
45 45
         case "c250EN":
46
-            $loc = "/c250.mob.html";
46
+            $loc = "http://xythobuz.de/c250.mob.html";
47 47
             break;
48 48
 
49 49
         case "cube":
50
-            $loc = "/ledcube.de.mob.html";
50
+            $loc = "http://xythobuz.de/ledcube.de.mob.html";
51 51
             break;
52 52
 
53 53
         case "cubeEN":
54
-            $loc = "/ledcube.mob.html";
54
+            $loc = "http://xythobuz.de/ledcube.mob.html";
55 55
             break;
56 56
 
57 57
         case "ledmatrix":
58
-            $loc = "/ledmatrix.de.mob.html";
58
+            $loc = "http://xythobuz.de/ledmatrix.de.mob.html";
59 59
             break;
60 60
 
61 61
         case "ledmatrixEN":
62
-            $loc = "/ledmatrix.mob.html";
62
+            $loc = "http://xythobuz.de/ledmatrix.mob.html";
63 63
             break;
64 64
 
65 65
         case "nas":
66
-            $loc = "/nas.de.mob.html";
66
+            $loc = "http://xythobuz.de/nas.de.mob.html";
67 67
             break;
68 68
 
69 69
         case "nasEN":
70
-            $loc = "/nas.mob.html";
70
+            $loc = "http://xythobuz.de/nas.mob.html";
71 71
             break;
72 72
 
73 73
         case "serialdebug":
74
-            $loc = "/serialdebug.de.mob.html";
74
+            $loc = "http://xythobuz.de/serialdebug.de.mob.html";
75 75
             break;
76 76
 
77 77
         case "serialdebugEN":
78
-            $loc = "/serialdebug.mob.html";
78
+            $loc = "http://xythobuz.de/serialdebug.mob.html";
79 79
             break;
80 80
 
81 81
         case "serialhelper":
82
-            $loc = "/serialhelper.de.mob.html";
82
+            $loc = "http://xythobuz.de/serialhelper.de.mob.html";
83 83
             break;
84 84
 
85 85
         case "serialhelperEN":
86
-            $loc = "/serialhelper.mob.html";
86
+            $loc = "http://xythobuz.de/serialhelper.mob.html";
87 87
             break;
88 88
 
89 89
         case "ssop28":
90
-            $loc = "/ssop28.de.mob.html";
90
+            $loc = "http://xythobuz.de/ssop28.de.mob.html";
91 91
             break;
92 92
 
93 93
         case "ssop28EN":
94
-            $loc = "/ssop28.mob.html";
94
+            $loc = "http://xythobuz.de/ssop28.mob.html";
95 95
             break;
96 96
 
97 97
         case "notifier":
98
-            $loc = "/ultimatenotifier.de.mob.html";
98
+            $loc = "http://xythobuz.de/ultimatenotifier.de.mob.html";
99 99
             break;
100 100
 
101 101
         case "notifierEN":
102
-            $loc = "/ultimatenotifier.mob.html";
102
+            $loc = "http://xythobuz.de/ultimatenotifier.mob.html";
103 103
             break;
104 104
 
105 105
         case "yasab":
106
-            $loc = "/yasab.de.mob.html";
106
+            $loc = "http://xythobuz.de/yasab.de.mob.html";
107 107
             break;
108 108
 
109 109
         case "yasabEN":
110
-            $loc = "/yasab.mob.html";
110
+            $loc = "http://xythobuz.de/yasab.mob.html";
111 111
             break;
112 112
 
113 113
         case "bt":
114
-            $loc = "/bluetooth.de.mob.html";
114
+            $loc = "http://xythobuz.de/bluetooth.de.mob.html";
115 115
             break;
116 116
 
117 117
         case "btEN":
118
-            $loc = "/bluetooth.mob.html";
118
+            $loc = "http://xythobuz.de/bluetooth.mob.html";
119 119
             break;
120 120
 
121 121
         case "sram":
122
-            $loc = "/k6x4008.de.mob.html";
122
+            $loc = "http://xythobuz.de/k6x4008.de.mob.html";
123 123
             break;
124 124
 
125 125
         case "sramEN":
126
-            $loc = "/k6x4008.mob.html";
126
+            $loc = "http://xythobuz.de/k6x4008.mob.html";
127 127
             break;
128 128
 
129 129
         case "rrem":
130
-            $loc = "/rremote.de.mob.html";
130
+            $loc = "http://xythobuz.de/rremote.de.mob.html";
131 131
             break;
132 132
 
133 133
         case "rremEN":
134
-            $loc = "/rremote.mob.html";
134
+            $loc = "http://xythobuz.de/rremote.mob.html";
135 135
             break;
136 136
 
137 137
         case "rob":
138
-            $loc = "/xyrobot.de.mob.html";
138
+            $loc = "http://xythobuz.de/xyrobot.de.mob.html";
139 139
             break;
140 140
 
141 141
         case "robEN":
142
-            $loc = "/xyrobot.mob.html";
142
+            $loc = "http://xythobuz.de/xyrobot.mob.html";
143 143
             break;
144 144
 
145 145
         case "xyrobotremote":
146
-            $loc = "/xyrobotremote.de.mob.html";
146
+            $loc = "http://xythobuz.de/xyrobotremote.de.mob.html";
147 147
             break;
148 148
 
149 149
         case "xyrobotremoteEN":
150
-            $loc = "/xyrobotremote.mob.html";
150
+            $loc = "http://xythobuz.de/xyrobotremote.mob.html";
151 151
             break;
152 152
 
153 153
         default:

+ 2
- 2
output/rss.xml Parādīt failu

@@ -6,8 +6,8 @@
6 6
 <atom:link href="http://www.xythobuz.de/rss.xml" rel="self" type="application/rss+xml" />
7 7
 <description>xythobuz Electronics &amp; Software Projects</description>
8 8
 <language>en-us</language>
9
-<pubDate>Fri, 10 May 2013 13:55:53 -0000</pubDate>
10
-<lastBuildDate>Fri, 10 May 2013 13:55:53 -0000</lastBuildDate>
9
+<pubDate>Fri, 10 May 2013 13:59:58 -0000</pubDate>
10
+<lastBuildDate>Fri, 10 May 2013 13:59:58 -0000</lastBuildDate>
11 11
 <docs>http://blogs.law.harvard.edu/tech/rss</docs>
12 12
 <generator>Poole</generator>
13 13
 

Notiek ielāde…
Atcelt
Saglabāt