Next: , Previous: , Up: Emacspeak Commands And Options   [Contents][Index]


12.202 emacspeak-we

we is for webedit Invoke XSLT to edit/transform Web pages before they get rendered. we makes emacspeak’s webedit layer independent of a given Emacs web browser EWW This module will use the abstraction provided by browse-url to handle Web pages. Module emacspeak-webutils provides the needed additional abstractions not already covered by browse-url

12.202.1 emacspeak-we Commands

12.202.1.1 emacspeak-we-class-filter-and-follow

Command: emacspeak-we-class-filter-and-follow (class url &optional prompt)
C-e x e y
<fn> x e y
        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.

(fn CLASS URL &optional PROMPT)

12.202.1.2 emacspeak-we-class-filter-and-follow-link

Command: emacspeak-we-class-filter-and-follow-link (&optional prompt)
C-e x e v
<fn> x e v
        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.

(fn &optional PROMPT)

12.202.1.3 emacspeak-we-count-matches

Command: emacspeak-we-count-matches (url locator)
C-e x e C-f
<fn> x e C-f
Count matches for locator  in Web page.

(fn URL LOCATOR)

12.202.1.4 emacspeak-we-count-nested-tables

Command: emacspeak-we-count-nested-tables (url)
C-e x e C-x
<fn> x e C-x
Count nested tables in Web page.

(fn URL)

12.202.1.5 emacspeak-we-count-tables

Command: emacspeak-we-count-tables (url)
C-e x e C-t
<fn> x e C-t
Count  tables in Web page.

(fn URL)

12.202.1.6 emacspeak-we-extract-by-class

Command: emacspeak-we-extract-by-class (class url &optional speak)
C-e x e c
<fn> x e c
        Extract elements having specified class attribute from HTML. Extracts
specified elements from current WWW page and displays it in a separate
buffer. Interactive use provides list of class values as completion.

(fn CLASS URL &optional SPEAK)

12.202.1.7 emacspeak-we-extract-by-class-list

Command: emacspeak-we-extract-by-class-list (classes url &optional speak)
C-e x e C
<fn> x e C
        Extract elements having class specified in list ‘classes’ from HTML.
Extracts specified elements from current WWW page and displays it
in a separate buffer.  Interactive use provides list of class
values as completion. 

(fn CLASSES URL &optional SPEAK)

12.202.1.8 emacspeak-we-extract-by-id

Command: emacspeak-we-extract-by-id (id url &optional speak)
C-e x e i
<fn> x e i
        Extract elements having specified id attribute from HTML. Extracts
specified elements from current WWW page and displays it in a separate
buffer.
Interactive use provides list of id values as completion.

(fn ID URL &optional SPEAK)

12.202.1.9 emacspeak-we-extract-by-id-list

Command: emacspeak-we-extract-by-id-list (ids url &optional speak)
C-e x e I
<fn> x e I
        Extract elements having id specified in list ‘ids’ from HTML.
Extracts specified elements from current WWW page and displays it in a
separate buffer. Interactive use provides list of id values as completion. 

(fn IDS URL &optional SPEAK)

12.202.1.10 emacspeak-we-extract-by-role

Command: emacspeak-we-extract-by-role (role url &optional speak)
C-e x e r
<fn> x e r
        Extract elements having specified role attribute from HTML. Extracts
specified elements from current WWW page and displays it in a separate
buffer. Interactive use provides list of role values as completion.

(fn ROLE URL &optional SPEAK)

12.202.1.11 emacspeak-we-extract-id-list-text

Command: emacspeak-we-extract-id-list-text (ids url &optional speak)
        Extract text nodes from elements having id specified in list ‘ids’ from HTML.
Extracts specified elements from current WWW page and displays it in a
separate buffer. Interactive use provides list of id values as completion. 

(fn IDS URL &optional SPEAK)

12.202.1.12 emacspeak-we-extract-id-text

Command: emacspeak-we-extract-id-text (id url &optional speak)
        Extract text nodes from elements having specified id attribute from HTML. Extracts
specified elements from current WWW page and displays it in a separate
buffer.
Interactive use provides list of id values as completion.

(fn ID URL &optional SPEAK)

12.202.1.13 emacspeak-we-extract-matching-urls

Command: emacspeak-we-extract-matching-urls (pattern url &optional speak)
C-e x e u
<fn> x e u
        Extracts links whose URL matches pattern.

(fn PATTERN URL &optional SPEAK)

12.202.1.14 emacspeak-we-extract-media-streams

Command: emacspeak-we-extract-media-streams (url &optional speak)
Extract links to media streams.
operate on current web page when in a browser buffer; otherwise
 prompt for url.  Optional arg ‘speak’ specifies if the result
 should be spoken automatically.

(fn URL &optional SPEAK)

12.202.1.15 emacspeak-we-extract-media-streams-under-point

Command: emacspeak-we-extract-media-streams-under-point
        In browser buffers, extract media streams from url under point.

12.202.1.16 emacspeak-we-extract-nested-table

Command: emacspeak-we-extract-nested-table (index url &optional speak)
C-e x e x
<fn> x e x
        Extract nested table specified by ‘table-index’. Default is to
operate on current web page when in a browser buffer; otherwise
prompt for URL. Optional arg ‘speak’ specifies if the result should be
spoken automatically.

(fn INDEX URL &optional SPEAK)

12.202.1.17 emacspeak-we-extract-nested-table-list

Command: emacspeak-we-extract-nested-table-list (tables url &optional speak)
C-e x e X
<fn> x e X
        Extract specified list of tables from a Web page.

(fn TABLES URL &optional SPEAK)

12.202.1.18 emacspeak-we-extract-print-streams

Command: emacspeak-we-extract-print-streams (url &optional speak)
Extract links to printable  streams.
operate on current web page when in a browser buffer; otherwise
 prompt for url.  Optional arg ‘speak’ specifies if the result
 should be spoken automatically.

(fn URL &optional SPEAK)

12.202.1.19 emacspeak-we-extract-speakable

Command: emacspeak-we-extract-speakable (url &optional speak)
C-e x e z
<fn> x e z
        Extract elements having class‘speakable’ from HTML. 

(fn URL &optional SPEAK)

12.202.1.20 emacspeak-we-extract-table-by-match

Command: emacspeak-we-extract-table-by-match (match url &optional speak)
C-e x e m
<fn> x e m
        Extract table containing  specified match.
 Optional arg url specifies the page to extract content from.

(fn MATCH URL &optional SPEAK)

12.202.1.21 emacspeak-we-extract-table-by-position

Command: emacspeak-we-extract-table-by-position (pos url &optional speak)
C-e x e t
<fn> x e t
Extract table at specified pos.
Default is to extract from current page.

(fn POS URL &optional SPEAK)

12.202.1.22 emacspeak-we-extract-tables-by-match-list

Command: emacspeak-we-extract-tables-by-match-list (match-list url &optional speak)
C-e x e M
<fn> x e M
        Extract specified  tables from a WWW page.
Tables are specified by containing  match pattern
 found in the match list.

(fn MATCH-LIST URL &optional SPEAK)

12.202.1.23 emacspeak-we-extract-tables-by-position-list

Command: emacspeak-we-extract-tables-by-position-list (positions url &optional speak)
C-e x e T
<fn> x e T
        Extract specified list of nested tables from a WWW page.
Tables are specified by their position in the list
 of nested tables found in the page.

(fn POSITIONS URL &optional SPEAK)

12.202.1.24 emacspeak-we-follow-and-extract-main

Command: emacspeak-we-follow-and-extract-main (&optional speak)
C-e x e P
<fn> x e P
Follow URL, then extract role=main.

(fn &optional SPEAK)

12.202.1.25 emacspeak-we-follow-and-filter-by-id

Command: emacspeak-we-follow-and-filter-by-id (id prompt)
C-e x e b
<fn> x e b
        Follow url and point, and filter the result by specified id.
Id 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.

(fn ID PROMPT)

12.202.1.26 emacspeak-we-junk-by-class

Command: emacspeak-we-junk-by-class (class url &optional speak)
C-e x e d
<fn> x e d
        Extract elements not having specified class attribute from HTML. Extracts
specified elements from current WWW page and displays it in a separate
buffer. Interactive use provides list of class values as completion.

(fn CLASS URL &optional SPEAK)

12.202.1.27 emacspeak-we-junk-by-class-list

Command: emacspeak-we-junk-by-class-list (classes url &optional speak)
C-e x e D
C-e x e C-c
<fn> x e D
<fn> x e C-c
        Extract elements not having class specified in list ‘classes’ from HTML.
Extracts specified elements from current WWW page and displays it
in a separate buffer.  Interactive use provides list of class
values as completion. 

(fn CLASSES URL &optional SPEAK)

12.202.1.28 emacspeak-we-style-filter

Command: emacspeak-we-style-filter (style url &optional speak)
C-e x e S
<fn> x e S
        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.

(fn STYLE URL &optional SPEAK)

12.202.1.29 emacspeak-we-toggle-xsl-keep-result

Command: emacspeak-we-toggle-xsl-keep-result
C-e x e k
<fn> x e k
Toggle xsl keep result flag.

12.202.1.30 emacspeak-we-url-expand-and-execute

Command: emacspeak-we-url-expand-and-execute (&optional prefix)
C-e x e e
<fn> x e e
        Applies buffer-specific URL expander/executor function.

(fn &optional PREFIX)

12.202.1.31 emacspeak-we-url-rewrite-and-follow

Command: emacspeak-we-url-rewrite-and-follow (&optional prompt)
        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.

(fn &optional PROMPT)

12.202.1.32 emacspeak-we-xpath-filter-and-follow

Command: emacspeak-we-xpath-filter-and-follow (&optional prompt)
C-e x e p
<fn> x e p
        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.

(fn &optional PROMPT)

12.202.1.33 emacspeak-we-xpath-junk-and-follow

Command: emacspeak-we-xpath-junk-and-follow (&optional prompt)
C-e x e C-p
<fn> x e C-p
        Follow url and point, and filter the result by junking
elements specified by 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.

(fn &optional PROMPT)

12.202.1.34 emacspeak-we-xsl-toggle

Command: emacspeak-we-xsl-toggle
C-e x e o
<fn> x e o
        Toggle  application of XSL transformations.

12.202.1.35 emacspeak-we-xslt-apply

Command: emacspeak-we-xslt-apply (xsl)
C-e x e a
<fn> x e a
        Apply specified transformation to current Web page.

(fn XSL)

12.202.1.36 emacspeak-we-xslt-filter

Command: emacspeak-we-xslt-filter (path url &optional speak)
C-e x e f
<fn> x e f
        Extract elements matching specified XPath path locator
from Web page – default is the current page being viewed.

(fn PATH URL &optional SPEAK)

12.202.1.37 emacspeak-we-xslt-junk

Command: emacspeak-we-xslt-junk (path url &optional speak)
C-e x e j
<fn> x e j
        Junk elements matching specified locator.

(fn PATH URL &optional SPEAK)

12.202.1.38 emacspeak-we-xslt-select

Command: emacspeak-we-xslt-select (xsl)
C-e x e s
<fn> x e s
        Select XSL transformation applied to Web pages before they are displayed .

(fn XSL)

12.202.2 emacspeak-we Options

Variable: User Option emacspeak-we-cleanup-bogus-quotes

Clean up bogus Unicode chars for magic quotes.

Variable: User Option emacspeak-we-filters-rename-buffer

Set to T if you want the buffer name to contain the applied filter.

Variable: User Option emacspeak-we-media-stream-suffixes

Suffixes that identify URLs to media streams.

Variable: User Option emacspeak-we-xsl-p

T means we apply XSL before displaying HTML.

Variable: User Option emacspeak-we-xsl-transform

Specifies transform to use before displaying a page. Default is to apply sort-tables.


Next: , Previous: , Up: Emacspeak Commands And Options   [Contents][Index]