diff options
author | Andrew Dolgov <[email protected]> | 2021-02-26 17:35:58 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-26 17:35:58 +0300 |
commit | cf1ede0ba8c687d9bfadf1c372546657968f1dd8 (patch) | |
tree | 3394cbf3d1cd60d4e1e42f8ef0aa88c4eef368b9 /plugins/af_readability/vendor/andreskrey/readability.php/test/test-pages/003-metadata-preferred | |
parent | 1baf8c521785ab4dc8f474fdd772280737c7e254 (diff) |
pull latest readability-php via composer
Diffstat (limited to 'plugins/af_readability/vendor/andreskrey/readability.php/test/test-pages/003-metadata-preferred')
4 files changed, 72 insertions, 0 deletions
diff --git a/plugins/af_readability/vendor/andreskrey/readability.php/test/test-pages/003-metadata-preferred/expected-images.json b/plugins/af_readability/vendor/andreskrey/readability.php/test/test-pages/003-metadata-preferred/expected-images.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/plugins/af_readability/vendor/andreskrey/readability.php/test/test-pages/003-metadata-preferred/expected-images.json @@ -0,0 +1 @@ +[]
\ No newline at end of file diff --git a/plugins/af_readability/vendor/andreskrey/readability.php/test/test-pages/003-metadata-preferred/expected-metadata.json b/plugins/af_readability/vendor/andreskrey/readability.php/test/test-pages/003-metadata-preferred/expected-metadata.json new file mode 100644 index 000000000..7c31c2296 --- /dev/null +++ b/plugins/af_readability/vendor/andreskrey/readability.php/test/test-pages/003-metadata-preferred/expected-metadata.json @@ -0,0 +1,8 @@ +{ + "Author": "Dublin Core property author", + "Direction": null, + "Excerpt": "Dublin Core property description", + "Image": null, + "Title": "Dublin Core property title", + "SiteName": null +} diff --git a/plugins/af_readability/vendor/andreskrey/readability.php/test/test-pages/003-metadata-preferred/expected.html b/plugins/af_readability/vendor/andreskrey/readability.php/test/test-pages/003-metadata-preferred/expected.html new file mode 100644 index 000000000..6b03dd384 --- /dev/null +++ b/plugins/af_readability/vendor/andreskrey/readability.php/test/test-pages/003-metadata-preferred/expected.html @@ -0,0 +1,18 @@ +<article> + <p> + Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod + tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, + quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo + consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse + cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non + proident, sunt in culpa qui officia deserunt mollit anim id est laborum. + </p> + <p> + Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod + tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, + quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo + consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse + cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non + proident, sunt in culpa qui officia deserunt mollit anim id est laborum. + </p> + </article>
\ No newline at end of file diff --git a/plugins/af_readability/vendor/andreskrey/readability.php/test/test-pages/003-metadata-preferred/source.html b/plugins/af_readability/vendor/andreskrey/readability.php/test/test-pages/003-metadata-preferred/source.html new file mode 100644 index 000000000..c7275b3b2 --- /dev/null +++ b/plugins/af_readability/vendor/andreskrey/readability.php/test/test-pages/003-metadata-preferred/source.html @@ -0,0 +1,45 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset="utf-8"/> + <title>Title Element</title> + <meta name="title" content="Meta name title"/> + <meta name="og:title" content="Open Graph name title"/> + <meta name="twitter:title" content="Twitter name title"/> + <meta name="DC.title" content="Dublin Core name title"/> + <meta property="dc:title" content="Dublin Core property title"/> + <meta property="twitter:title" content="Twitter property title"/> + <meta property="og:title" content="Open Graph property title"/> + <meta name="author" content="Meta name author"/> + <meta name="DC.creator" content="Dublin Core name author"/> + <meta property="dc:creator" content="Dublin Core property author"/> + <meta name="description" content="Meta name description"/> + <meta name="og:description" content="Open Graph name description"/> + <meta name="twitter:description" content="Twitter name description"/> + <meta name="DC.description" content="Dublin Core name description"/> + <meta property="dc:description" content="Dublin Core property description"/> + <meta property="twitter:description" content="Twitter property description"/> + <meta property="og:description" content="Open Graph property description"/> + </head> + <body> + <article> + <h1>Test document title</h1> + <p> + Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod + tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, + quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo + consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse + cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non + proident, sunt in culpa qui officia deserunt mollit anim id est laborum. + </p> + <p> + Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod + tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, + quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo + consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse + cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non + proident, sunt in culpa qui officia deserunt mollit anim id est laborum. + </p> + </article> + </body> +</html>
\ No newline at end of file |