<div dir="ltr"><div><div><div>Hi everyone, <br><br></div>I just wrote a small Python script to check if the links inside the documentation still work:<br><br><font size="1"><span style="font-family:courier new,monospace"># <a href="http://www.noah.org/wiki/RegEx_Python">http://www.noah.org/wiki/RegEx_Python</a><br>
import re<br>import urllib2<br><br>#filehandle = open("C:/Users/Uwe/Desktop/texlive/texlive-de/texlive-de-new.tex")<br>filehandle = open("C:/Users/Uwe/Desktop/texlive/texlive-en/texlive-en.tex")<br><br>
text = filehandle.read()<br>filehandle.close()<br><br>m = re.findall('http[s]?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\(\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+', text)<br><br>i = 0<br>for item in m:<br>        i=i+1<br>        print i, '\t', item, '\t',<br>
        try:<br>            response = urllib2.urlopen(item)<br>        except urllib2.HTTPError, e:<br>                    print e.code<br>        except urllib2.URLError, u:<br>                    print u.args<br>        print "\n"<br>
</span></font><br></div>Maybe you find it helpful. In my German version I found 11 broken links, in the English version three:<br><br>
 <table border="0" cellpadding="0" cellspacing="0" width="418"><colgroup><col style="width:314pt" width="418">
 </colgroup><tbody><tr style="height:15pt" height="20">
  <td style="height:15pt;width:314pt;font-size:11pt;color:black;font-weight:400;text-decoration:none;font-family:Calibri;border-width:0.5pt medium;border-style:solid none;border-color:rgb(149,179,215) -moz-use-text-color;background:none repeat scroll 0% 0% rgb(220,230,241)" height="20" width="418">
<a href="http://groups.google.com/group/comp.text.tex/topics">http://groups.google.com/group/comp.text.tex/topics</a><span style> </span></td>
 </tr>
 <tr style="height:15pt" height="20">
  <td style="height:15pt;font-size:11pt;color:black;font-weight:400;text-decoration:none;font-family:Calibri;border-width:0.5pt medium;border-style:solid none;border-color:rgb(149,179,215) -moz-use-text-color" height="20">
<a href="http://ctan.example.org/tex-archive/systems/texlive/tlnet/">http://ctan.example.org/tex-archive/systems/texlive/tlnet/</a><span style> </span></td>
 </tr>
 <tr style="height:15pt" height="20">
  <td style="height:15pt;font-size:11pt;color:black;font-weight:400;text-decoration:none;font-family:Calibri;border-width:0.5pt medium;border-style:solid none;border-color:rgb(149,179,215) -moz-use-text-color;background:none repeat scroll 0% 0% rgb(220,230,241)" height="20">
<a href="http://mirror.ctan.org/tex-archive/fonts/greek/cb">http://mirror.ctan.org/tex-archive/fonts/greek/cb</a><span style> </span></td>
 </tr>
</tbody></table><br><br></div>Uwe<br><div><br clear="all"><div><div><div><div><br>-- <br>Uwe Ziegenhagen<br><<a href="http://www.uweziegenhagen.de" target="_blank">http://www.uweziegenhagen.de</a>>
</div></div></div></div></div></div>