| Dokumentation | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html> <head> <title> This is my web page! </title>
<meta name="GENERATOR" content="Arachnophilia 5.3"> <meta name="FORMATTER" content="Arachnophilia 5.3">
</head> <body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#ff0000">
This is my Web page! </body> </html>
— Mit nur einem Tastendruck (Strg-E) sieht das so aus:
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
3 <!-- Created on Mar 1, 2002 11:29:01 AM -->
4
5 <html>
6 <head>
7 <title>
8 My web page!
9 </title>
10 <meta name="GENERATOR" content="Arachnophilia 5.3"/>
11 <meta name="FORMATTER" content="Arachnophilia 5.3"/>
12 </head>
13
14 <body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#ff0000">
15
16 This is my Web page!
17
18 </body>
19 </html>
20
Solch ein Fehler an sich ist wohl trivial, aber seine Konsequenzen können fatal sein. Wenn Sie diesen Fehler nicht berichtigen, kann er sogar dazu führen, dass Ihre Seite von älteren Browsern überhaupt nicht angezeigt wird.
Das FTP-Werkzeug nutzt eine Synchronisationsmethode mit der Sie nur veränderte Dateien hochladen - so sparen Sie Zeit und Bandbreite.
Hier sehen Sie eine typische Webseiten-Ansicht (nach dem Gebrauch der HTML-Verschönerung (Strg-E)):Und die Darstellung eines Programm-Quelltexts (nachdem die Funktion "Code verschönern" (Strg+H) angewandt wurde):1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 3 <!-- Created on Mar 1, 2002 10:48:47 AM --> 4 5 <html> 6 <head> 7 <title> 8 My Web Page! 9 </title> 10 <meta name="GENERATOR" content="Arachnophilia 5.0"/> 11 <meta name="FORMATTER" content="Arachnophilia 5.0"/> 12 </head> 13 14 <body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#ff0000"> 15 16 This is my Web Page! 17 18 </body> 19 </html> 20Außerdem können Sie diese Ansichten mit eingefärbten Schlüsselworten mit ein paar Tastendrücken als HTML exportieren, wie obige Beispiele zeigen. So können Sie Ihre Werke einfach in der klassischen Quellcode-Form im Internet veröffentlichen.1 /* 2 * Created on Feb 28, 2002 3:26:55 PM 3 */ 4 5 /* TestClass is meant to demonstrate the use 6 * of Arachnophilia's custom class launcher feature. 7 * Just compile this class in place, create 8 * a macro that looks like this: 9 * "[RunCustomClassDoc:CustomClasses/TestClass]", 10 * load a suitable document, and activate the macro. 11 * The document/selection will have all its "a" letters 12 * replaced by "(the letter"a")" 13 */ 14 15 public class TestClass { 16 17 private String searchReplace(String data,String find,String replace) 18 { 19 StringBuffer sb = new StringBuffer(); 20 int a = 0,b; 21 int findLength = find.length(); 22 while((b = data.indexOf(find,a)) != -1) { 23 sb.append(data.substring(a,b)); 24 sb.append(replace); 25 a = b + findLength; 26 } 27 if(a < data.length()) { 28 sb.append(data.substring(a)); 29 } 30 return sb.toString(); 31 } 32 33 // this is the default method that custom classes 34 // must have to work with Arachnophilia's class 35 // launcher feature unless a specific method name 36 // is provided 37 38 public String processString(String s) 39 { 40 return searchReplace(s,"a","(the letter\"a\")"); 41 } 42 } 43
| Dokumentation | |