# US 9,355,079 B2 · Reader mode presentation of web content

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 9,355,079 B2
- Document ID: US9355079B2
- Status: Granted
- Kind: B2
- Application number: 14/018,218
- Filed: 2013-09-04
- Published: 2014-01-23
- Granted: 2016-05-31
- Earliest claimed: 2010-06-04
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: David Frank Harrison; Jing Jin; Kevin Decker; Michael Paul Thole; Dan Bernstein
- Web page: https://patentgrep.com/patent/US9355079B2

## CPC

- G06F 40/143: Markup, e.g. Standard Generalized Markup Language [SGML] or Document Type Definition [DTD]
- G06F 3/0481: based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F 16/957: Browsing optimisation, e.g. caching or content distillation
- G06F 40/134: Hyperlinking
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods and apparatuses that automatically detect availability of a reader mode for article content in a web page addressed by a URL are described. Availability detection may be progressively performed such that cheap operations are performed first to reduce the need to perform more expensive ones. A retrieval status of the web page may be detected to determine when enough content has been retrieved to initiate a detection of the reader mode for the web page. A reader indicator may be presented in a user interface of a browser if the availability of the reader mode is detected. A user of the browser may be noted with an alternative presentation of the article content from the web page in addition to a presentation of the whole web page by the browser. If the reader mode of the web page is not available, no reader indicator may be present in the browser.

## Claims

### Claim 1

A computer implemented method for presenting a web page in a browser, the method comprising:
receiving content for the web page;
while receiving the content for the web page:
determining a retrieval status of the content for the web page addressed by a URL (Universal Resource Locator), wherein the retrieval status indicates a first portion of the content that has been received and an additional portion of the content that has not yet been received; and
in accordance with a determination that the first portion of the content that has been received is sufficient to allow the browser to render a default presentation of the web page based on the first portion of the content, analyzing the content using one or more predefined heuristics to determine whether article content is included in the content; and
in accordance with a determination that article content is included in the content, presenting a reader indicator in a user interface of the browser, the reader indicator indicating availability of an alternative presentation of the web page that includes the article content and excludes at least a portion of other content of the web page, distinct from the default presentation, that is rendered by the browser in response to a selection of the reader indicator, wherein the reader indicator is absent from the user interface of the browser if the alternative presentation is not available.

### Claim 2 (depends on 1)

The method of claim 1, wherein the web page includes a plurality of hypertext elements and wherein the determination of the retrieval status comprises:
determining if the plurality of hypertext elements have been received.

### Claim 3 (depends on 2)

The method of claim 2, wherein the plurality of hypertext elements are rendered in the user interface, and the method further comprises:
determining if the hypertext elements rendered are visually non-empty in the user interface.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
building a DOM (document object model) tree of nodes from the content retrieved; and
laying out the DOM tree to assign geometric parameters for the nodes to present the content in the user interface.

### Claim 5 (depends on 4)

The method of claim 4, wherein analyzing the content using one or more predefined heuristics to determine whether article content is included in the content comprises:
selecting a candidate node from the nodes in the DOM tree to represent the article content; and
determining if the candidate node is disqualified to represent the article content, wherein the availability of the alternative presentation of the web page that includes the article content and excludes at least a portion of other content of the web page is detected if the candidate node is not disqualified.

### Claim 6 (depends on 5)

The method of claim 5, wherein the selecting the candidate node comprises:
assigning scores to the nodes of the DOM tree, each score indicating a level of likelihood of the article content for the corresponding node, wherein the candidate node is scored highest among the nodes.

### Claim 7 (depends on 5)

The method of claim 5, wherein determining if the candidate node is disqualified comprises:
evaluating one or more heuristic conditions in sequence on the candidate node, wherein the candidate node is disqualified if at least one of the heuristics conditions is applicable.

### Claim 8 (depends on 7)

The method of claim 7, wherein the evaluation of the heuristic conditions uses progressively more processing resources according to the sequence.

### Claim 9 (depends on 1)

The method of claim 1, wherein presenting the reader indicator includes presenting the reader indicator, which indicates availability of the alternative presentation of the web page that includes the article content and excludes at least a portion of other content of the web page, while continuing to receive the content for the web page.

### Claim 10 (depends on 1)

The method of claim 1, further comprising: before analyzing the content, rendering the default presentation of the web page based on the first portion of the content.

### Claim 11 (depends on 10)

The method of claim 10, further comprising: after rendering the default presentation of the web page based on the first portion of the content, waiting for a delay period before beginning the analyzing of the content.

### Claim 12

A non-transitory computer readable storage medium having instructions stored thereon that, when executed, cause a computer to:
receive content for the web page;
while receiving the content for the web page:
determine a retrieval status of the content for the web page addressed by a URL (Universal Resource Locator), wherein the retrieval status indicates a first portion of the content that has been received and an additional portion of the content that has not yet been received; and
in accordance with a determination that the first portion of the content that has been received is sufficient to allow the browser to render a default presentation of the web page based on the first portion of the content, analyze the content using one or more predefined heuristics to determine whether article content is included in the content; and
in accordance with a determination that article content is included in the content, present a reader indicator in a user interface of the browser, the reader indicator indicating availability of an alternative presentation of the web page that includes the article content and excludes at least a portion of other content of the web page, distinct from the default presentation, that is rendered by the browser in response to a selection of the reader indicator, wherein the reader indicator is absent from the user interface of the browser if the alternative presentation is not available.

### Claim 13 (depends on 12)

The non-transitory computer readable storage medium of claim 12, wherein the instructions that, when executed, cause the computer to present the reader indicator include instructions that, when executed, cause the compute to present the reader indicator, which indicates availability of the alternative presentation of the web page that includes the article content and excludes at least a portion of other content of the web page, while continuing to receive the content for the web page.

### Claim 14 (depends on 12)

The non-transitory computer readable storage medium of claim 12, wherein the instructions further comprise instructions that, when executed, cause the computer to, before analyzing the content, render the default presentation of the web page based on the first portion of the content.

### Claim 15 (depends on 14)

The non-transitory computer readable storage medium of claim 14, wherein the instructions comprise instructions that, when executed, cause the computer to: after rendering the default presentation of the web page based on the first portion of the content, waiting for a delay period before beginning the analyzing of the content.

### Claim 16

An apparatus, comprising:
a memory storing executable instructions including a browser;
a user interface device including a display screen;
a processor coupled to the user interface device and the memory to execute the executable instructions from the memory for presenting a document corresponding to a web page in the browser, the processor being configured to:
receive content for the web page;
while receiving the content for the web page:
determine a retrieval status of the content for the web page addressed by a URL (Universal Resource Locator), wherein the retrieval status indicates a first portion of the content that has been received and an additional portion of the content that has not yet been received; and
in accordance with a determination that the first portion of the content that has been received is sufficient to allow the browser to render a default presentation of the web page based on the first portion of the content, analyze the content using one or more predefined heuristics to determine whether article content is included in the content; and
in accordance with a determination that article content is included in the content, present a reader indicator in a user interface of the browser, the reader indicator indicating availability of an alternative presentation of the web page that includes the article content and excludes at least a portion of other content of the web page, distinct from the default presentation, that is rendered by the browser in response to a selection of the reader indicator, wherein the reader indicator is absent from the user interface of the browser if the alternative presentation is not available.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein presenting the reader indicator includes presenting the reader indicator, which indicates availability of the alternative presentation of the web page that includes the article content and excludes at least a portion of other content of the web page, while continuing to receive the content for the web page.

### Claim 18 (depends on 16)

The apparatus of claim 16, wherein the processor is further configured to:
before analyzing the content, rendering the default presentation of the web page based on the first portion of the content.

### Claim 19 (depends on 18)

The apparatus of claim 18, wherein the processor is further configured to: after rendering the default presentation of the web page based on the first portion of the content, waiting for a delay period before beginning the analyzing of the content.
