I'm a little curious about this useful feature of Facebook. When I paste the URL into "What do you have in mind?" box, it almost perfectly receives the body of the article. How does Facebook do it?
Thank!
This is part of how Facebook Share works.
The Linter URL is also very useful. For example, if we test it with this very question , you can scroll down and see where it gets data from
", Facebook . URL- " ?' , . Facebook ? " <description> <p>
<description>
<p>
Facebook, , . , Reddit .
, , .
Readability , - - .
, , OpenGraph protocol - Facebook.
HTML, Content Main, , , , , , menus, Content, main body, right menu, top menu, main article .. ( ).
Content
Main
menus
main body
right menu
top menu
main article
, . , div id="content"
div id="content"
. , facebook. , , , , .
Source: https://habr.com/ru/post/1770269/More articles:How to remove the longest prefix that appears in an array? - arraysduplication of code in javascript - javascriptcrossite scripting using script tag, change src of script tag, can id be used for script tag - javascriptJavascript source code analysis (in particular, duplication check) - code-analysisMTD / YTD Execution Calculates Multiple Calendars in Analysis Services - ssasHow to determine when the input is alphabetic? - pythonActive Directory Web Services (ADWS) SDK - soapDataGridView: how to enable multiple row selection but disable multiple cell selection? - c #MVVM-PRISM, how to display multiple instances of a view in a region / ItemsControl - dependency-injectionlower_bound in set (C ++) - c ++All Articles