Aus der Feststellung: "
diverser html Fehler für das XHTML-format.
In der folge ein paar generelle Ausbesserungen, die ich vorerst im Jataka-Teil vorgenommen haben, die man auf die anderen Seiten ausdehnen kann, sollte ich nicht dazu kommen:
Wichtig: vor dem globalen Ersetzen, eine Sicherung alle Dateien machen und zuerst eine reinen "Suchlauf" machen und die Ergebnisse ansehen, ob man nicht ev. etwas auswählt, was man nicht tauschen möchte.
1. required attribute "type" not specified<script>
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.Aktion:suche nach (Filter ".html" Dateien):
ersetze mit:
<script type="text/javascript">
kommt etwas 4 mal pro html vor und wird demnach etwa 12.000 mal ersetzt
2. end tag for "meta" omitted, but OMITTAG NO was specified
<meta name="robots" content="INDEX,ALL"><!-- robots testergänzung -->
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">"Ich weiß nicht genau wo da der Hacken liegt, doch die ganze Zeile ist nicht wirklich notwendig.
Aktion:Suche nach:
<meta name="robots" content="INDEX,ALL"><!-- robots testergänzung -->
ersetzen durch nichts.
3. document type does not allow element "img" here…erHTML = '<img src="./../../../../img/more.png" alt="[show more]" /> [more]';
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).Es handelt sich um die Grafik (Pfeil) im zum öffnen des Infotextes, die in "schlau" in den das script eingebaut (gehackt) habe, was aber nicht erlaubt ist. So entferne ich die Grafik wieder, was dazu führt, daß sie nur vor der ersten Aktion sichtbar ist, und dann verschindet, aber ich denke das genügt auch. Sicher ließe es sich umschreiben, aber dazu wären mehrere Änderungen erforderlich.
Aktion:Austausch des "Abstandhalters" dieser Grafik am Seitenbeginn, zu der übrigen Seite:
Suche:
link.innerHTML = '<img src="http://zugangzureinsicht.org/html/img/more.png" alt="[show more]" /> [more]';
ersetze mit:
link.innerHTML = ' [more]';
und suche:
link.innerHTML = '<img src="http://zugangzureinsicht.org/html/img/hide.png" alt="[hide]" /> [hide]';
ersetze mit:
link.innerHTML = ' [hide]';
4. end tag for "input" omitted, but OMITTAG NO was specified…p" method="get"><input type="text" name="query" id="query" size="30" value="" >
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
Dies betrifft das Suchfenster und hier fehlt einfach ein / in den drei elementen.
Aktion:
Suche nach ("Erweiterter Suchmodus"):
<input type="text" name="query" id="query" size="30" value="" >\r\n<input type="submit" value="Suche"><input type="hidden" name="search" value="1"></form>
ersetzen mit:
<input type="text" name="query" id="query" size="30" value="" />\r\n<input type="submit" value="Suche" /><input type="hidden" name="search" value="1" /></form>
das selbe auch für die englischen Seiten "_en.htm":
Suche nach ("Erweiterter Suchmodus"):
<input type="text" name="query" id="query" size="30" value="" >\r\n<input type="submit" value="Search"><input type="hidden" name="search" value="1"></form>
ersetzen mit:
<input type="text" name="query" id="query" size="30" value="" />\r\n<input type="submit" value="Search" /><input type="hidden" name="search" value="1" /></form>
5. Problem in alten Browser mit Grafik für den Umschaltmodus:In meinem alten Windows browser ist durch die Grafik rechts oben die Zentrierung der Seite verschoben. Habe als Umbruch danach <div></div> eingefügt. Um das zu ändern mit [nobbc]
austauschen:
Suche nach (Suchmodus "Erweitert"):
<div></div>\r\n<a name="top" id="top">
Ersetze mit:
<br />\r\n<a name="top" id="top">
Rückt alles zwar etwas hinunter, aber vielleicht ist es ja gar nicht so schlecht, daß nicht alles ganz oben pickt.
6a. syntax of attribute value does not conform to declared value…estimmung des Werkes ein"><img align="" width="8" src="./../../../../img/d2.pn…
The value of an attribute contained something that is not allowed by the specified syntax for that type of attribute. For instance, the “selected” attribute must be either minimized as “selected” or spelled out in full as “selected="selected"”; the variant “selected=""” is not allowed.
6b. value of attribute "align" cannot be ""; must be one of "top", "middle", "bottom", "left", "right"…estimmung des Werkes ein"><img align="" width="8" src="./../../../../img/d2.pn…
The value of the attribute is defined to be one of a list of possible values but in the document it contained something that is not allowed for that type of attribute. For instance, the “selected” attribute must be either minimized as “selected” or spelled out in full as “selected="selected"”; a value like “selected="true"” is not allowed.
Unnötige und und ungenutzte Spezifizierung im Layout von der "Danagrafik"
Suche nach:
<img align="" width="8" src="http://zugangzureinsicht.org/html/img/d2.png" alt="[dana/©]" class='cd'/>
ersetzen mit
<img width="8" src="http://zugangzureinsicht.org/html/img/d2.png" alt="[dana/©]" class='cd'/>
ID "H_meta" already defined<div id='H_meta'><div id='H_homagetext'><a class='menu_l' href='../j00/jb3.13.h…
An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).Die id wurde von mir ein zweites Mal verwendet. Habe eine neue id im css Eingefügt "H_meta1" und in den Dateien ist folgendes zu ersetzen:
Suche nach:
<div id='H_meta'><div id='H_homagetext'>
ersetzen mit:
<div id='H_meta1'><div id='H_homagetext'>
und da es der Fall sein kann, ein anderes Apostroph verwendet wurde
suche nach:
<div id="H_meta"><div id='H_homagetext'>
ersetzen mit:
<div id='H_meta1'><div id='H_homagetext'>
7. character "<" is the first character of a delimiter but occurred as data…rc='./../../../../img/left.png' alt='<<'/>[/url]<a class='homagelink' href='./..…
This message may appear in several cases:
You tried to include the "<" character in your page: you should escape it as "<"
You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&", which is always safe.
Another possibility is that you forgot to close quotes in a previous tag.Dies ist der Alternativtext wenn die Grafik (lins/rechts Pfeil) nicht verfügbar ist. Sicher auch als einfacher Text und nicht als grafisch verwendeter Text in Ornung. Der Einfachheit halber in deutsch und englisch dann gleich (mehr Info kommt mit Hover)
suche nach:
ersetze mit:
und auch für den Fall von anderen Apostroph:
suche nach:
ersetze mit:
und nach rechts:
suche nach:
ersetze mit:
und anderes Apostroph:
suche nach:
ersetze mit:
Und für die unteren Links deutsch:
suche nach:
ersetzen mit:
anderes Apostroph:
suche nach:
ersetzen mit:
nach rechts:
suche nach:
ersetzen mit:
anderes Apostroph:
suche nach:
ersetzen mit:
und für die englischen Seiten links unten:
suche nach:
ersetzen mit:
suche nach
ersetzen mit:
suche nach
ersetzen mit:
alt='[next page]'/>[/url]
suche nach
ersetzen mit:
alt='[next page]'/>[/url]
DOCTYPE Override in effect!The detected DOCTYPE Declaration "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">" has been suppressed and the DOCTYPE for "XHTML 1.0 Transitional" inserted instead, but even if no errors are shown below the document will not be Valid until you update it to reflect this new DOCTYPE. Diesen Fehler konnte ich nicht verstehen und beheben.
there is no attribute "class"<article class="showmore">
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.element "article" undefined<article class="showmore">
You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:
incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),
by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).Diesen beiden Fehler konnte ich nicht beheben aber ich denke es hängt mit dem DOCTYPE zusammen. Die Classe ist im css definiert und funkt ja auch.
So weit sollten mit diesen Änderungen alle groben Fehler behoben sein. Bisher habe ich diese nur für den Jataka Teil durchgeführt. Vielleicht kann ich es auch noch für die anderen Teile übernehmen, um keine Mühen zu machen.