Posted by: Moritz
« on: November 29, 2013, 05:57:11 PM »Ja, sicher, passt. Hätte ich klarer bescheid geben sollen.
Another day, another possibility. We don't know what tomorrow might be. _()_
Ein neuer Tag, wieder eine Möglichkeit. Wir wissen nicht was morgen sein wird. _()_
ថ្ងៃ ថ្មី មួូយ ជា ឳកាស ថ្មី មួយ ទៀត។ យើង មិន អាច ដឹង មុន នូវ អ្វី ដែល នឹង កើតឡើង ថ្ងៃ ស្អែក
"Dhammo have rakkhati dammacāriṁ"
"N'atthi santi param sukham"
Congratulations
The document located at <http://zugangzureinsicht.org/html/tipitaka/an/an04/an04.094.than_en.html> was tentatively checked as XHTML 1.0 Transitional. This means that with the use of some fallback or override mechanism, we successfully performed a formal validation of it. In other words, the document would validate as XHTML 1.0 Transitional if you changed the markup to match the changes we have performed automatically, but it will not be valid until you make these changes. The parser implementations we used for this check are based on OpenSP (SGML/XML) and libxml2 (XML).
DOCTYPE Override in effect!
The detected DOCTYPE Declaration "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.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.
.................
Byte-Order Mark found in UTF-8 File.
The Unicode Byte-Order Mark (BOM) in UTF-8 encoded files is known to cause problems for some text editors and older browsers. You may want to consider avoiding its use until it is better supported.
Für ähnliche Fälle und das Apostroph mitten im Text könnte man wohl noch einige Zeit suchen, um sie alle zu finden.
<a class='para'id='para-B' name='para-B' title='Geschichte aus der Vergangenheit'>[§B]</a>
<a class='mit Apostroph ist's schwierig'>
Vielleicht fällt irgendjemandem ja auch zwischendurch spontan was praktisches aus dem Stegreif ein, was man unter Linux (Ubuntu) mit ein paar Handgriffen machen kann. Da gibt es ja manchmal einfache Handgriffe, die schnell zu einer Lösung führen.
article.showmore{
max-height: 85px;
overflow:hidden;/* hide excessive text */
margin:20px;
}
article.showall{
overflow: auto;
}
Da fehlt das Leerzeichen zwischen href='#more' und class="onclick" wohl auf vielen oder vielleicht jeder Seite.
Änderungen im Javascript (article -> div, 'ARTICLE' -> 'DIV'):
Dafür sind 15 neue Fehler aufgetaucht, die nichts damit zu tun haben und vorher wohl nicht so erwähnenswert schienen.
Ich hab jetzt den Inhalt vom FTP-Server komplett runtergeladen und würde mal probieren, das mit einem Skript, das alle Seiten durchläuft, zu beheben.
article.showmore{
max-height: 85px;
overflow:hidden;/* hide excessive text */
margin:20px;
}
article.showall{
overflow: auto;
}
div.showmore{
max-height: 85px;
overflow:hidden;/* hide excessive text */
margin:20px;
}
div.showall{
overflow: auto;
}
<script type="text/javascript">
//<![CDATA[
function showHide(link){
var div = link.previousSibling;
while(div.nodeName!='DIV'){// find the previous article
div = div.previousSibling;
}
if(div.className=='showall'){
link.innerHTML = '<img src="http://zugangzureinsicht.org/html/img/more.png" alt="[show more]"/> [more]';
div.className='showmore';
}else{
link.innerHTML = '<img src="http://zugangzureinsicht.org/html/img/hide.png" alt="[hide]"/> [hide]';
div.className='showall';
}
}
//]]>
</script>
<article class="showmore">
...
</article>
<div class="showmore">
...
</div>
<a class='para'id='para-B' name='para-B' title='Geschichte aus der Vergangenheit'>[§B]</a>
<a id='more' href='#more'class="onclick" onclick="showHide(this);" title="Click here to get the whole infomation of this field and also to hide it again.">