>![]() |
Next: emacspeak-w3m, Previous: emacspeak-vm, Up: Emacspeak Commands
Commentary: Ensure that speech support for W3 gets installed and loaded correctly. The emacs W3 browser comes with builtin support for Emacspeak and ACSS
Automatically generated documentation for commands defined in module emacspeak-w3.
control e :
Start or control streaming audio including MP3 and realaudio. If using `TRPlayer' as the player, accepts trplayer control commands if a stream is already playing. Otherwise, the playing stream is simply stopped. If no stream is playing, this command prompts for a realaudio resource. Realaudio resources can be specified either as a Realaudio URL, the location of a local Realaudio file, or as the name of a local Realaudio metafile. Realaudio resources you have played in this session are available in the minibuffer history. The default is to play the resource you played most recently. Emacspeak uses the contents of the directory specified by variable emacspeak-realaudio-shortcuts-directory to offer a set of completions. Hit space to use this completion list.
If using TRPlayer, you can either give one-shot commands using command emacspeak-realaudio available from anywhere on the audio desktop as `C-e :'. Alternatively, switch to buffer *realaudio* using `C-e :;' if you wish to issue many navigation commands. Note that buffer *realaudio* uses a special major mode that provides the various navigation commands via single keystrokes.
Browse URL with specified XSL style.
Browse XML+CSS using W3. With interactive prefix arg, also prompt for an XSL stylesheet. XML files can be rendered by an XML browser that is CSS aware. Emacs/W3 is not quite a complete XML+CSS browser, but it does a good enough job for many things, especially the XML files from bookshare.org. Setting W3 up at present to display any and all XML files at present would be a bug, since W3 is an HTML browser –not a true XML browser. This command opens a specified XML file under the covers and has W3 render it using CSS as available. The result on bookshare.org XML files is quite usable:
0) You get Aural CSS support.
1) You get a navigable buffer using imenu if you have w3-imenu loaded.
Browse XML URL with specified XSL style.
Follow url and point, and filter the result by specified class. Class can be set locally for a buffer, and overridden with an interactive prefix arg. If there is a known rewrite url rule, that is used as well.
Count matches for locator in HTML.
Display contents of URL under point using Curl and W3. The document is displayed in a separate buffer.
Defines custom buffer local pronunciation for base URI.
Extract elements having specified class attribute from HTML. Extracts specified elements from current WWW page and displays it in a separate buffer. Optional arg url specifies the page to extract content from. Interactive use provides list of class values as completion.
Extract elements having class specified in list `classes' from HTML. Extracts specified elements from current WWW page and displays it in a separate buffer. Optional arg url specifies the page to extract content from. Interactive use provides list of class values as completion.
Extract elements having specified id attribute from HTML. Extracts specified elements from current WWW page and displays it in a separate buffer. Optional arg url specifies the page to extract content from. Interactive use provides list of id values as completion.
Extract elements having id specified in list `ids' from HTML. Extracts specified elements from current WWW page and displays it in a separate buffer. Optional arg url specifies the page to extract content from. Interactive use provids list of id values as completion.
Extracts links whose URL matches pattern.
Extract links to media streams. operate on current web page when in a W3 buffer; otherwise prompt for url. `prompt-url' is the URL to process. Prompts for URL when called interactively. Optional arg `speak' specifies if the result should be spoken automatically.
In W3 mode buffers, extract media streams from url under point.
Extract nested table specified by `table-index'. Default is to operate on current web page when in a W3 buffer; otherwise `prompt-url' is the URL to process. Prompts for URL when called interactively. Optional arg `speak' specifies if the result should be spoken automatically.
Extract specified list of tables from a WWW page.
Extract specified node from URI.
Extract links to printable streams. operate on current web page when in a W3 buffer; otherwise prompt for url. `prompt-url' is the URL to process. Prompts for URL when called interactively. Optional arg `speak' specifies if the result should be spoken automatically.
Extract table containing specified match. Optional arg url specifies the page to extract content from. Interactive prefix arg causes url to be read from the minibuffer.
Extract table at specified position. Optional arg url specifies the page to extract content from. Interactive prefix arg causes url to be read from the minibuffer.
Extract specified tables from a WWW page. Tables are specified by containing match pattern found in the match list.
Extract specified list of nested tables from a WWW page. Tables are specified by their position in the list nested of tables found in the page.
Follow URL hidden inside a javascript link
Junk elements having class specified in list `classes' from HTML. Extracts specified elements from current WWW page and displays it in a separate buffer. Optional arg url specifies the page to extract content from. Interactive use provides list of class values as completion.
Display contents of URL under point using LYNX. The document is displayed in a separate buffer. Note that the hyperlinks in that display are not active– this facility is present only to help me iron out the remaining problems with the table structure extraction code in W3.
Move forward to the next document element. Optional interactive prefix argument COUNT specifies by how many eleemnts to move.
Move back to the previous document element. Optional interactive prefix argument COUNT specifies by how many eleemnts to move.
Set value of `emacspeak-w3-xsl-keep-result'.
Display any class attributes set on corresponding anchor element.
Extract elements matching specified style from HTML. Extracts specified elements from current WWW page and displays it in a separate buffer. Optional arg url specifies the page to extract contents from.
Applies buffer-specific URL expander/executor function.
Apply a url rewrite rule as specified in the current buffer before following link under point. If no rewrite rule is defined, first prompt for one. Rewrite rules are of the form `(from to)' where from and to are strings. Typically, the rewrite rule is automatically set up by Emacspeak tools like websearch where a rewrite rule is known. Rewrite rules are useful in jumping directly to the printer friendly version of an article for example. Optional interactive prefix arg prompts for a rewrite rule even if one is already defined.
Follow url and point, and filter the result by specified xpath. XPath can be set locally for a buffer, and overridden with an interactive prefix arg. If there is a known rewrite url rule, that is used as well.
Follow url and point, and filter the result by junking elements specified xpath. XPath can be set locally for a buffer, and overridden with an interactive prefix arg. If there is a known rewrite url rule, that is used as well.
Toggle application of XSL transformations. This uses XSLT Processor xsltproc available as part of the libxslt package.
Apply specified transformation to current page.
Extract elements matching specified XPath path locator from HTML. Extracts specified elements from current WWW page and displays it in a separate buffer. Optional arg url specifies the page to extract table from. Optional arg COMPLEMENT inverts the filter.