Commits

shl...@cec68495-dca5-4e2b-845c-11fdaaa4f967  committed 494877c

r4608@telaviv1: shlomi | 2007-12-14 21:05:11 +0200
More validation fixes.

  • Participants
  • Parent commits f4d6e64

Comments (0)

Files changed (10)

File bin/clean-up-docbook-xsl-xhtml.pl

     $s =~ s{</body>\z}{};
 
     # It's a kludge
-    $s =~ s{ lang="en"}{};
-    $s =~ s{ xml:lang="en"}{};
+    $s =~ s{ lang="en"}{}g;
+    $s =~ s{ xml:lang="en"}{}g;
+    $s =~ s{ type="(1|disc)"}{}g;
+    $s =~ s{<hr[^/]*/>}{<hr />}g;
+    $s =~ s{ target="_top"}{}g;
 
     # Fixed in Perl 6...
     $s =~ s{<(/?)h(\d)}{"<".$1."h".($2+2)}ge;

File t2/grad-fu/1-3-x.html.wml

 #include '../template.wml'
 <latemp_subject "Gradient-Fu Patch for GIMP 1.3.x/2.0.x" />
 
-<h2><a href="grad-fu-1.3.x-rev16.diff.txt">Download the Patch</a></h2>
-

File t2/open-source/resources/software-tools/index.html.wml

 
 <h3 id="build_links">Links to Lists, Comparisons and other Resources</h3>
 
-</ul>
+<ul>
 <li>
 <a href="http://directory.google.com/Top/Computers/Software/Build_Management/Make_Tools/">Google's 
 Web Directory for Make Tools</a> - contains other useful links.

File t2/philosophy/by-others/james-carr--completely-overrated.html.wml

  
 <p>Well, I finally came across the actual cartoons in question <a href="http://www.flickr.com/photos/alanlarson/sets/72057594060428459/with/96501880/">here</a>, and I must say, after looking at them, it’s amazing how quite mundane they actually are. Some (such as the one above) are even a bit humorous, and only a couple are offensive. I’m a little curious how such mundane cartoons, especially when I have seen far worse and offensive portrayals of islam, as well as any other religion (it’s quite easy to find any kind of media or entertainment that portrays Christianity and Judaism in a disrespectful manner).<br /> <a id="more-29"></a><br /> So, being as critical as I am of the mainstream media, which is always pretty politically charged, I decided to do some research online. First I came across this excellent <a href="http://en.wikipedia.org/wiki/Jyllands-Posten_Muhammad_cartoons_controversy">wikkipedia entry</a>, which really shed some light on the issue. Although the thing that really stood out to me was that the cartoons were original published in September. So why all the outrage now?</p>
  
-<p>The <a href="http://www.dailykos.com/">Daily Kos</a> gave me some very good </a><a href="http://www.dailykos.com/story/2006/2/5/13149/60748">insight</a> into what the media really isn’t reporting. That alot of this has been stirred up by our good friends… the Saudis. </p>
+<p>The <a href="http://www.dailykos.com/">Daily Kos</a> gave me some very good 
+<a href="http://www.dailykos.com/story/2006/2/5/13149/60748">insight</a> into what the media really isn’t reporting. That alot of this has been stirred up by our good friends… the Saudis. </p>
  
 <p>An interesting fact is revealed that, in early January and not covered much by the mainstream press, were several stampedes that occur uding Hajj in Saudia Arabia, which happens every year, with each year Saudi authorities promising to improve security. This year, there was another stampede, in which around 350 people died. I think the linked post says it best,</p>
 

File t2/philosophy/case-for-file-swapping/index.html.wml

 
 <h2 id="previous">Previous Editions</h2>
 
-<h3 id="2nd-edition">Second Edition</h3>
+<h3 id="n2nd-edition">Second Edition</h3>
 
 <ul>
 <li>
 </li>
 </ul>
 
-<h3 id="1st-edition">First Edition</h3>
+<h3 id="n1st-edition">First Edition</h3>
 
 <ul>
 <li>

File t2/philosophy/computers/education/introductory-language/index.html.wml

 <li>
 <a href="http://www.networksecuritytech.com/viewtopic.php?p=26897">Network
 Security Tech Forum</a>
-</a>
 </li>
 </ul>
 

File t2/philosophy/computers/perl/joy-of-perl/joy-of-perl.html.wml

 #include "xhtml/1.x/std/toc.wml"
 
 <latemp_subject "The Joy of Perl" />
-<latemp_description "An Essay in which Shlomi Fish explains why he likes the 
+<latemp_meta_desc "An Essay in which Shlomi Fish explains why he likes the 
 Perl programming language so much" />
 
 <h2*>Table of Contents</h2*>

File t2/philosophy/computers/when-c-is-best/when-c-is-the-best.html.wml

 #include "xhtml/1.x/std/toc.wml"
 
 <latemp_subject "When C is the Best (Tool for the Job)" />
-<latemp_description "Gives some reasons why the C language still has its place and explains when it should be used instead of other alternatives" />
+<latemp_meta_desc "Gives some reasons why the C language still has its place and explains when it should be used instead of other alternatives" />
 <latemp_more_keywords "C,best,tool for the job,java,perl,ANSI C,C++,high level,low level,programming,languages" />
 
 <h2*>Table of Contents</h2*>

File t2/philosophy/politics/drug-legalisation/index.html.wml

 
 <latemp_subject "The Case for Drug Legalisation" />
 
-<h2* id="toc">Table of Contents</h2>
+<h2* id="toc">Table of Contents</h2*>
 
 <toc />
 

File t2/puzzles/index.html.wml

 
 <h2>Computer Science Amusements</h2>
 
-<h3><a href="cs/lotg/">The "Lotg" Code</a></h2>
+<h3><a href="cs/lotg/">The "Lotg" Code</a></h3>
 
 <p>
 A minimalistic pseudocode I designed.