⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 177.html

📁 Python Ebook Python&XML
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<Br>

				
				<h4>Webchecker</H4>
					<p>Webchecker is not a CGI application but a Web client application. The <tt Class="monofont">webchecker.py</Tt> script is located under the <tt CLASs="monofont">tools/webchecker/</tt> directory of your Python distribution. This tool enables you to check the validity of a site. In other words, given a Web page, it searches for bad links in it, and keeps a record of the links to other sites that exist in the page.</p>

					<P>It requests all pages from the Web site via HTTP. After it loads a page, it parses the HTML code and collects the links. Pages are never requested more than once. The links found outside the original tree are treated as leaves, hence, they are checked, but their links won't be followed. Anyway, this script generates a report that contains all bad links and says which page(s) the links are referenced.</P>

					<P>The <Tt claSS="monofont">Linbot</TT> system, as you will see later in this chapter, has a similar functionality, but its checks are more extensive than Web Checker's.</p>

					<p>Check out the<a nAME="idx1073746523"></A><a name="idx1073746524"></a><tt class="monofont">websucker</tt> module, which is also part of the <tt claSs="monofont">tools/webchecker</tT> directory of the source. It mirrors a remote <tt cLass="monofont">url</tT> locally.<a naME="idx1073746525"></A><A name="idx1073746526"></A><A NAme="idx1073746527"></a><a NAME="idx1073746528"></a><a naME="idx1073746529"></A><A name="idx1073746530"></a><a name="idx1073746531"></a><a name="idx1073746532"></a><a naMe="idx1073746533"></a><A namE="idx1073746534"></a><a naMe="idx1073746535"></a><a NAME="idx1073746536"></a><a naME="idx1073746537"></A></P>

				
				<h4>LinkChecker</h4>
					<p><tT CLAss="monofont">Pylice,</tt> a link checker written in Python, was renamed to <TT CLass="monofont">LinkChecker.</tt> With <tt class="monofont">LinkChecker</tt> you can check your HTML documents for broken links. The homepage for <tt clasS="monofont">LinkChecker</tt> moved to the following:</P>

					<p><a tArget="_blank" Href="http://linkchecker.sourceforge.net">http://linkchecker.sourceforge.net</A></P>

					<P>You can find more information at</P>

					<p><a taRGET="_blank" href="http://fsinfo.cs.uni-sb.de/~calvin/software/">http://fsinfo.cs.uni-sb.de/~calvin/software/</A></P>

				
				<H4>FastCGI</H4>
					<p>FastCGI is a fast, open, and secure Web server interface that solves the performance problems inherent in CGI, without introducing the overhead and complexity of proprietary <i>APIs (Application Programming Interfaces).</i></p>

					<P>The FastCGI application library that implements the FastCGI protocol (hiding the protocol details from the developer) is based on code from Open Market, and is in the public domain while being fully supported by Fast Engines. This library makes implementing FastCGI programs as easy as writing CGI applications.</P>

					<P>The FastCGI interface combines the best aspects of CGI and vendor APIs. Like CGI, FastCGI applications run in separate, isolated processes. The main advantages of using FastCGI are</P>

					<ul>
<li><p>Performance桭astCGI processes are persistent and do not create a new process for each request.</p>
</li>
<li><p>Simplicity桰t is easily migrated from CGI.</p>
</li>
<li><p>Language independence桳ike CGI, FastCGI applications can be written in any language.</p>
</li>
<Li><p>Process isolation桝 buggy FastCGI application cannot crash or corrupt the core server or other applications.</P>
</li>
<lI><p>Non-proprietary桭astCGI was originally implemented in the Open Market Web server.<a naMe="idx1073746538"></a><a NAME="idx1073746539"></a><a naME="idx1073746540"></A><A name="idx1073746541"></A><A NAme="idx1073746542"></a><a NAME="idx1073746543"></a><a name="idx1073746544"></a><a name="idx1073746545"></a><a name="idx1073746546"></a><a NamE="idx1073746547"></a><a nAme="idx1073746548"></a><a Name="idx1073746549"></A><A NAme="idx1073746550"></a></p>
</LI>
<LI><p>Architecture independence桾he FastCGI interface isn't tied to any particular server architecture.</p>
</li>
<LI><P>Support for distributed computing桭astCGI provides the ability to run applications remotely.</P>

						</li>
</ul>
					<P>For details about the library, check out FASTCGI's official Web site at  <A TArget="_blank" href="http://www.fastcgi.org/">http://www.fastcgi.org/</a>.</p>

					<p>The following link forwards you to a white paper that explains the minor details of FASTCGI:</p>

					<p><a target="_blank" HreF="http://www.fastcgi.org/whitepapers/fcgi-whitepaper.shtml">http://www.fastcgi.org/whitepapers/fcgi-whitepaper.shtml</a></p>

					<p>The best place to go for Python FastCGI support is at  <A targEt="_blank" hrEF="http://www.digicool.com/releases/fcgi/">http://www.digicool.com/releases/fcgi/</A>.</P>

					<p>There is also an all Python (no extension module required) implementation of the FastCGI application interface located at <a taRGET="_blank" href="http://starship.python.net/crew/robind/">http://starship.python.net/crew/robind/</A>.<A NAme="idx1073746551"></a><a NAME="idx1073746552"></a><a name="idx1073746553"></a><a name="idx1073746554"></a><a name="idx1073746555"></a><a NamE="idx1073746556"></a><a nAme="idx1073746557"></a><a Name="idx1073746558"></A><A NAme="idx1073746559"></a><a NAME="idx1073746560"></a><a naME="idx1073746561"></A><A name="idx1073746562"></A><A NAme="idx1073746563"></a></p>

				
			</font>
<P><TABLE width="100%" border=0><TR valign="top"><TD><font size=1 color="#C0C0C0"><br></font></TD><TD align=right><font size=1 color="#C0C0C0">Last updated on 1/30/2002<br>Python Developer's Handbook, &copy;&nbsp;2002 Sams Publishing</font></TD></TR></TABLE></P>
<TABLE border=0 width="100%" cellspacing=0 cellpadding=0><TR><td align=left width="15%" class="headingsubbarbg"><a href="176.html" title="Other Applications"><font size="1">&lt;&nbsp;BACK</font></a></td><td align=center width="70%" class="headingsubbarbg"><font size="1"><a href="popanote.asp?pubui=oreilly&bookname=0672319942&snode=177" target="_blank" title="Make a public or private annnotation">Make Note</a> | <a href="177.html" title="Use a Safari bookmark to remember this section">Bookmark</a></font></td><td align=right width="15%" class="headingsubbarbg"><a href="178.html" title="Summary"><font size="1">CONTINUE&nbsp;&gt;</font></a></td></TR></TABLE>
</TD></TR></TABLE>
<br><TABLE width=100% bgcolor=white border=0 cellspacing=0 cellpadding=5><TR><TD><H4 class=Title>Index terms contained in this section</H4>
<font size=2>
applications<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746511">DocumentTemplate</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746548">FastCGI</a> <a href="#idx1073746561">2nd</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746479">httpd_log</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746492">Linbot</a> <a href="#idx1073746496">2nd</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746453">PyDAV</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746460">site management tools</a> <a href="#idx1073746486">2nd</a> <a href="#idx1073746503">3rd</a> <a href="#idx1073746518">4th</a> <a href="#idx1073746529">5th</a> <a href="#idx1073746542">6th</a> <a href="#idx1073746555">7th</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746535">Webchecker</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746466">WebDAV (World Wide Web Distributed Authoring and Versioning)</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746471">Zebra</a><BR>
development<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Web<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746458">site management tools</a> <a href="#idx1073746484">2nd</a> <a href="#idx1073746501">3rd</a> <a href="#idx1073746516">4th</a> <a href="#idx1073746527">5th</a> <a href="#idx1073746540">6th</a> <a href="#idx1073746553">7th</a><BR>
 <a href="#idx1073746510">DocumentTemplate</a><BR>
 <a href="#idx1073746547">FastCGI</a> <a href="#idx1073746560">2nd</a><BR>
 <a href="#idx1073746476">GD module</a><BR>
 <a href="#idx1073746478">httpd_log</a><BR>
 <a href="#idx1073746451">IETF (Internet Engineering Task Force)</a><BR>
Internet<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;development for<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746457">site management tools</a> <a href="#idx1073746483">2nd</a> <a href="#idx1073746500">3rd</a> <a href="#idx1073746515">4th</a> <a href="#idx1073746526">5th</a> <a href="#idx1073746539">6th</a> <a href="#idx1073746552">7th</a><BR>
 <a href="#idx1073746450">Internet Engineering Task Force (IETF)</a><BR>
Internet Solution Providers (ISPs)<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746508">Python-friendly</a><BR>
ISPs (Internet Solution Providers)<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746509">Python-friendly</a><BR>
 <a href="#idx1073746491">Linbot</a> <a href="#idx1073746495">2nd</a><BR>
modules<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746477">GD</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746475">PIL</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746524">websucker</a><BR>
 <a href="#idx1073746474">PIL module</a><BR>
programs<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746512">DocumentTemplate</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746549">FastCGI</a> <a href="#idx1073746562">2nd</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746480">httpd_log</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746493">Linbot</a> <a href="#idx1073746497">2nd</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746454">PyDAV</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746461">site management tools</a> <a href="#idx1073746487">2nd</a> <a href="#idx1073746504">3rd</a> <a href="#idx1073746519">4th</a> <a href="#idx1073746530">5th</a> <a href="#idx1073746543">6th</a> <a href="#idx1073746556">7th</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746536">Webchecker</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746467">WebDAV (World Wide Web Distributed Authoring and Versioning)</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746472">Zebra</a><BR>
 <a href="#idx1073746452">PyDAV</a><BR>
 <a href="#idx1073746459">site management tools</a> <a href="#idx1073746485">2nd</a> <a href="#idx1073746502">3rd</a> <a href="#idx1073746517">4th</a> <a href="#idx1073746528">5th</a> <a href="#idx1073746541">6th</a> <a href="#idx1073746554">7th</a><BR>
software<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746513">DocumentTemplate</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746550">FastCGI</a> <a href="#idx1073746563">2nd</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746481">httpd_log</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746494">Linbot</a> <a href="#idx1073746498">2nd</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746455">PyDAV</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746462">site management tools</a> <a href="#idx1073746488">2nd</a> <a href="#idx1073746505">3rd</a> <a href="#idx1073746520">4th</a> <a href="#idx1073746531">5th</a> <a href="#idx1073746544">6th</a> <a href="#idx1073746557">7th</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746537">Webchecker</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746468">WebDAV (World Wide Web Distributed Authoring and Versioning)</a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746473">Zebra</a><BR>
tools<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746463">site management</a> <a href="#idx1073746489">2nd</a> <a href="#idx1073746506">3rd</a> <a href="#idx1073746521">4th</a> <a href="#idx1073746532">5th</a> <a href="#idx1073746545">6th</a> <a href="#idx1073746558">7th</a><BR>
utilities<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746464">site management</a> <a href="#idx1073746490">2nd</a> <a href="#idx1073746507">3rd</a> <a href="#idx1073746522">4th</a> <a href="#idx1073746533">5th</a> <a href="#idx1073746546">6th</a> <a href="#idx1073746559">7th</a><BR>
 <a href="#idx1073746534">Webchecker</a><BR>
 <a href="#idx1073746465">WebDAV (World Wide Web Distributed Authoring and Versioning)</a><BR>
 <a href="#idx1073746523">websucker module</a><BR>
World Wide Web<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;development for<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#idx1073746456">site management tools</a> <a href="#idx1073746482">2nd</a> <a href="#idx1073746499">3rd</a> <a href="#idx1073746514">4th</a> <a href="#idx1073746525">5th</a> <a href="#idx1073746538">6th</a> <a href="#idx1073746551">7th</a><BR>
 <a href="#idx1073746469">World Wide Web Distributed Authoring and Versioning (WebDAV)</a><BR>
 <a href="#idx1073746470">Zebra</a><BR>
<BR>
</font></TD></TR></TABLE>




<!--EndOfBrowse-->

</TD></TR></TABLE>
<table width=100% border=0 cellspacing=0 cellpadding=0 bgcolor=#990000><tr><td><p align=center><font size=1 face="verdana,arial,helvetica" color=white>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -