Two new web services
5th September 2002
I’ve implemented two example web services to demonstrate the Incutio PHP XML-RPC library’s capabilities. The services allow you to search and retrieve articles from FOLDOC and the Jargon File, two popular freely available online dictionaries.
The Jargon File
The Jargon File is “a comprehensive compendium of hacker slang illuminating many aspects of hackish tradition, folklore, and humor”.
It is currently edited by Eric Raymond, and can be found on the web at http://www.tuxedo.org/~esr/jargon/
The web service interface to the Jargon File allows you to search the dictionary and retrieve entries from it.
Server: scripts.incutio.com Path: /xmlrpc/services/jargonfile.php Port: 80
The following methods are available (in addition to the standard system methods):
- Returns a string containing information about the Jargon File and the web service interface.
- Accepts a string (the search term) and returns an array of shortnames for entries that contain the term.
- Accepts a string (the shortname), and returns a struct representing the entry with that shortname.
- Accepts a string (the title), and returns a struct representing the entry with that title.
I have written a guide to accessing the Jargon File web service using Python’s
FOLDOC is the Free Online Dictionary of Computing, edited by Denis Howe and made available under the GNU Free Documentation License. It can be found on the web at www.foldoc.org.
Server: scripts.incutio.com Path: /xmlrpc/foldoc/server.php Port: 80
- Returns a string containing information about FOLDOC and the web service interface.
- Accepts a string (the search term) and returns an array of names of entries containing that term (up to a limit of 1000).
- Accepts a string (the name of an entry) and returns a struct representing that entry.
- Returns a struct with a list of all of the categories in the dictionary along with the number of entries in each category.
- Accepts a string (the category) and returns an array of entry titles that belong to the category.
More recent articles
- Datasette Enrichments: a new plugin framework for augmenting your data - 1st December 2023
- llamafile is the new best way to run a LLM on your own computer - 29th November 2023
- Prompt injection explained, November 2023 edition - 27th November 2023
- I'm on the Newsroom Robots podcast, with thoughts on the OpenAI board - 25th November 2023
- Weeknotes: DevDay, GitHub Universe, OpenAI chaos - 22nd November 2023
- Deciphering clues in a news article to understand how it was reported - 22nd November 2023
- Exploring GPTs: ChatGPT in a trench coat? - 15th November 2023
- Financial sustainability for open source projects at GitHub Universe - 10th November 2023
- ospeak: a CLI tool for speaking text in the terminal via OpenAI - 7th November 2023
- DALL-E 3, GPT4All, PMTiles, sqlite-migrate, datasette-edit-schema - 30th October 2023