home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / internet / webster / !Webster / Docs / fetchers < prev    next >
Text File  |  1995-06-25  |  5KB  |  88 lines

  1. <HTML><HEAD><title>Fetchers and Proxies</title>
  2. </HEAD><BODY>
  3. <center>
  4. <A HREF="example.html"><IMG WIDTH=67 HEIGHT=39 ALT="Prev" SRC="ToPrev"></A> <a HREF="../!Help.html#index"><IMG WIDTH=67 HEIGHT=39 ALT="Index" SRC="ToIndex"></a> <a HREF="files.html"><IMG WIDTH=67 HEIGHT=39 ALT="Next" SRC="ToNext"></a><BR>
  5. <h1><a NAME="usage">Fetchers and Proxies</a></h1>
  6. </center>
  7. <h2>Fetchers</h2>
  8. Fetchers are the programs that fetch HTML pages, Gopher menus, FTP Directory lists etc. from remote sites.
  9.  
  10. There are two types of Fetchers supported
  11. <ul>
  12. <LI><a HREF="#Webster">Original Webster Standard</a>
  13. <LI><a HREF="#ArcWeb">Archimedes Standard</a>
  14. </ul>
  15.  
  16. <a href="#Proxies">Proxies</a> should be supported with the Original Webster Fetchers. With KA9Q it should be just a simple variation of the Fetchers command line parameters (See <a HREF="#proxies">Below</a>).
  17.  
  18. <h3><a name="Webster">Webster Standard</a></h3>
  19.  
  20. <P>The Following Fetchers are supplied in the <Webster$Fetch> directory.
  21. <ol>
  22. <li><em>Directory</em> which <em>fetches</em> directory listings from the local disk.
  23. <li><em><a href="http.html">!http</a></em> which <em>fetches</em> from http servers using the telnet part of KA9Q.
  24. <li><EM>RNMail</EM> Which sends mail via ReadNews (for the <quote>mailto</quote> method). Provided by Julian Wright
  25. <LI><em>RNNews</em> Which reads news via ReadNews (for the <quote>news</quote> method). Provided by Julian Wright
  26. <li><EM><a href="nbmail.html">NBMail</a></EM> Which sends mail via NewsBase (for the <quote>mailto</quote> method). Provided by <a href="author.html">me</a>.
  27. <li><EM>FTP</EM> Which, with the assistance of TCPIP v2.04 Allows you to <quote>Browse</quote> FTP sites.
  28. </ol>
  29. All fetchers will be external programs to keep the size of the main program down. They should also be multitasking, although the wimpslot can be set by this Application via the <quote>WimpSlot</quote> value within the <quote>Fetchers</quote> sections of the Choices windows.
  30.  
  31. <p>A fetcher can be used by putting an appropriate command for 'Call Command Below' in the <quote>Fetchers</quote> section of the <quote>Choices</quote> window (accessable from the <a href="menus.html#iconbar">Iconbar Menu</a>)
  32. <P>The substitutions that are automatically carried out on this command as follows...
  33. <ul>
  34. <li>%0 is replaced by the machine name in dot notation.
  35. <li>%1 is replaced with the Directory or filename to be retrieved from the indicated machine.
  36. <li>%2 is replaced with the name of a file to which the output should be written.
  37. The fetcher should stamp this file with the correct file type for the data that was fetched.
  38. <li>%3 is replaced with the value of any inpage jump. (Any bit after a hash)
  39. </ul>
  40. <h4><a name="examples">Examples</a></h4>
  41. <pre>
  42.  For HTTP
  43.        <Webster$Fetch>.!HTTP %0 %1 %2
  44.  
  45.  For HTTP via a proxy
  46.        <Webster$Fetch>.!HTTP www.demon.co.uk:80 http://%0%1 %2
  47.  
  48.  For FTP
  49.        <Webster$Fetch>.FTP %0 %1 %2
  50.  
  51.  For FTP via a proxy
  52.        <Webster$Fetch>.!HTTP www.hensa.ac.uk:8080 ftp://%0%1 %2
  53.  
  54.  For RNMail
  55.        <Webster$Fetch>.RNMail %0 %1%2
  56.  
  57.  For RNNews
  58.        <Webster$Fetch>.RNNews %0
  59.  
  60.  For NBMail
  61.        <Webster$Fetch>.NBMail %0 %1%2
  62.  
  63.  For Telnet
  64.        <Webster$Fetch>.Telnet %0
  65. </pre>
  66. <dl>
  67. <dt>NOTES
  68. <dd>You can miss any % values out if required and include any other command line parameters.
  69. <DD>The port for the Proxy may be differant. The examples use 8080, but 80 may also be used, or indeed any other number.
  70. <DD>For the Proxies the second to last field should always result in the original URL when decoded.
  71. </DL>
  72. There do appear to be some problems. Mostly due to the file returned sometimes having MIME data at the begining, even though it has not been requested. The supplied <a href="http.html">HTTP fetcher</a> will attempt to remove this, but it has only been tested on a small number of MIME headers.
  73.  
  74. <h3><a name="ArcWeb">Archimedes Standard</h3>
  75.  
  76. These fetchers and their protocol may become a 'standard' on the Archimedes.
  77.  
  78. <p>This type of fetcher is the same (or will be) as that used for other Non-Comercial Archimedes Browsers.
  79. <p>These fetchers (Which are separate Multitasking Applications) can be used by selecting the 'Call Standard Fetcher' or 'Call Standard Fetcher (Extended URL)' option for a particular method in the <a href="choice/fetchers.html"><quote>Fetchers</quote></a> section of the <a href="choices.html"><quote>Choices</quote> window</a> (accessable from the <a href="menus.html#iconbar">Iconbar Menu</a>). Which of the options you need depends on the Fetcher you are using, so you should read the Fetchers installation note
  80.  
  81. <H2><A NAME="proxies">Proxies</A></H2>
  82. You should now be able to use proxies by use of the command line fetchers (See the <a href="#examples">Examples</a> above).
  83. <P>
  84. Using a proxy may be faster that going direct as many Proxies also Cache pages and files (This is often their main purpose). The proxies also allow FTP, WAIS and Gopher connections without requireing a specific fetcher. (Only an <a href="http.html">HTTP fetcher</a> is required if you can use proxies for everything else)
  85.  
  86. <HR><address><A HREF="author.html">Andrew Pullan</A>, 30th May 1995</address>
  87. </BODY></HTML>
  88.