traumschule commited on 2018-09-11 18:20:14
Zeige 2 geänderte Dateien mit 9 Einfügungen und 5 Löschungen.
... | ... |
@@ -59,6 +59,8 @@ You should now be able to point your browser at the locally generated site... |
59 | 59 |
|
60 | 60 |
file:///home/atagar/Desktop/tor/webwml/getinvolved/volunteer.html.en |
61 | 61 |
|
62 |
+For details on WML see |
|
63 |
+http://www.shlomifish.org/open-source/projects/website-meta-language/ |
|
62 | 64 |
|
63 | 65 |
### Troubleshooting the build |
64 | 66 |
|
... | ... |
@@ -2,7 +2,8 @@ Here's a brief overview of how our wml set-up works. |
2 | 2 |
---------------------------------------------------- |
3 | 3 |
|
4 | 4 |
Here's a typical wml file: |
5 |
-https://svn.torproject.org/svn/website/trunk/en/bridges.wml |
|
5 |
+http://jqs44zhtxl2uo6gk.onion/project/web/webwml.git/docs/en/bridges.wml |
|
6 |
+https://gitweb.torproject.org/project/web/webwml.git/docs/en/bridges.wml |
|
6 | 7 |
|
7 | 8 |
The top of the file has: |
8 | 9 |
|
... | ... |
@@ -25,12 +26,13 @@ and the middle is standard html, plus a few extra tags like |
25 | 26 |
pages when they exist. So that wml page produces this html page: |
26 | 27 |
https://www.torproject.org/bridges aka |
27 | 28 |
https://www.torproject.org/bridges.html.en |
29 |
+http://expyuzz4wqqyqhjn.onion/docs/bridges |
|
28 | 30 |
|
29 | 31 |
Then head.wmi and foot.wmi are just other mostly-html files you import |
30 | 32 |
to handle the repeat parts of each page (well, that plus some embedded |
31 | 33 |
perl scripts to generate some of the static content). |
32 |
-https://svn.torproject.org/svn/website/trunk/include/head.wmi |
|
33 |
-https://svn.torproject.org/svn/website/trunk/en/foot.wmi |
|
34 |
+http://jqs44zhtxl2uo6gk.onion/project/web/webwml.git/include/head.wmi |
|
35 |
+http://jqs44zhtxl2uo6gk.onion/project/web/webwml.git/include/foot.wmi |
|
34 | 36 |
|
35 | 37 |
You can basically ignore the wml part of them, and to a first |
36 | 38 |
approximation just think of them as more html. |
... | ... |
@@ -40,12 +42,12 @@ So in summary, wml is like html with a bit more markup. |
40 | 42 |
---------------------------------------------------- |
41 | 43 |
|
42 | 44 |
Where it gets interesting is the download page: |
43 |
-https://svn.torproject.org/svn/website/trunk/en/easy-download.wml |
|
45 |
+http://jqs44zhtxl2uo6gk.onion/project/web/webwml.git/download/en/download-easy.wml |
|
44 | 46 |
|
45 | 47 |
It has the standard header and footer section, but in the body of the page |
46 | 48 |
it includes links like <a href="<package-osx-bundle-stable>". Rather than |
47 | 49 |
putting URLs and Tor versions into every wml page, and then requiring |
48 | 50 |
the translators to update their page whenever we bump a version number, |
49 | 51 |
we instead define each URL and version as a new wml element: |
50 |
-https://svn.torproject.org/svn/website/trunk/include/versions.wmi |
|
52 |
+http://jqs44zhtxl2uo6gk.onion/project/web/webwml.git/include/versions.wmi |
|
51 | 53 |
|
52 | 54 |