December 2000
Intermediate to advanced
784 pages
20h 54m
English
Now that we've seen the LWP API, we'll look at some practical examples that use it.
The Internet FAQ Consortium (http://www.faqs.org) maintains a Web server that archives a large number of useful Internet documents, including Usenet FAQs and IETF RFCs. Our first example is a small command-line tool to fetch a list of RFCs by their numbers.
The RFC archive at http://www.faqs.org follows a predictable pattern. To view RFC 1028, for example, we would fetch the URL http://www.faqs.org/rfcs/rfc1028.html. The returned HTML document is a minimally marked-up version of the original text-only RFC. The FAQ Consortium adds an image and a few links to the top and bottom. In addition, every reference to another RFC becomes ...
Read now
Unlock full access