Documentation on how to integrate with Reading in Internet Explorer 11

How browsing works in Internet Explorer 11? only the developer documentation that I could find was pretty useless.

+6
source share
3 answers

Read documentation View can be found on IE test drive

In the link you will find more specific recommendations on viewing the type of reading during extraction to determine the title of the article, date, author, publisher, image, signature and copyright. Below is an example that I copy and paste from a test disk.

Date Read View will provide publisher information and dates together on a single line with an additional style to highlight this information. The publication date of the article will be displayed exactly as it appears on the line. Reading View is not converted to a specific date format.

How results viewing works

Once the website is set up to read access to the view, the read view uses a series of heuristics to identify and then extract the appropriate content from the page to create a new page (in memory). The algorithm was developed using an example network to provide the highest possible coverage and accuracy. These heuristics look at HTML tags, node depth, image size and word count to determine what content on the page is the "main" content.

+2
source

I also could not find the documentation. I found my page that worked with Internet Explorer 11 Reading View and worked backwards. Here is what I found:

  • You must have a non-empty <title> element. It doesn’t matter what if there is at least one character without spaces.
  • You must also have a non-empty element <h1> . This will be used as the page title in the reading view. It must not match <title> .
  • After that, you will need at least 700 characters of content.

With these findings, I created a minimal page for entering a reading view:

 <title>.</title> <h1>.</h1> abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxy 

There are a few more caveats:

  • Images must be at least 400 pixels wide. Images in portrait orientation will not be displayed. Only JPEG images will appear. The first relevant image on the page will be used as the banner image.
  • The <pre> anywhere in the page will not allow you to enter read mode. (This seems like a mistake to me.)

(Testing performed using Internet Explorer 11.0.9600.16384 on Windows 8.1 build 9600.)

+5
source

The accepted return link no longer points to the correct documentation, so I'm going to throw this link in the hat, as it seems to contain some solid information:

Reading at Developer.Microsoft.com

0
source

Source: https://habr.com/ru/post/956443/


All Articles