diff options
Diffstat (limited to 'test/test-pages/004-metadata-space-separated-properties')
4 files changed, 59 insertions, 0 deletions
diff --git a/test/test-pages/004-metadata-space-separated-properties/expected-images.json b/test/test-pages/004-metadata-space-separated-properties/expected-images.json new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/test/test-pages/004-metadata-space-separated-properties/expected-images.json @@ -0,0 +1 @@ +[]
\ No newline at end of file diff --git a/test/test-pages/004-metadata-space-separated-properties/expected-metadata.json b/test/test-pages/004-metadata-space-separated-properties/expected-metadata.json new file mode 100644 index 0000000..a41ac6b --- /dev/null +++ b/test/test-pages/004-metadata-space-separated-properties/expected-metadata.json @@ -0,0 +1,5 @@ +{ + "Title": "Preferred title", + "Author": "Creator Name", + "Excerpt": "Preferred description" +} diff --git a/test/test-pages/004-metadata-space-separated-properties/expected.html b/test/test-pages/004-metadata-space-separated-properties/expected.html new file mode 100644 index 0000000..6b03dd3 --- /dev/null +++ b/test/test-pages/004-metadata-space-separated-properties/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/test/test-pages/004-metadata-space-separated-properties/source.html b/test/test-pages/004-metadata-space-separated-properties/source.html new file mode 100644 index 0000000..9b95100 --- /dev/null +++ b/test/test-pages/004-metadata-space-separated-properties/source.html @@ -0,0 +1,35 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset="utf-8"/> + <title>Title Element</title> + <meta property="x:title dc:title" content="Preferred title"/> + <meta property="og:title twitter:title" content="A title"/> + <meta property="dc:creator twitter:site_name" content="Creator Name"/> + <meta name="author" content="FAIL"/> + <meta property="og:description x:description twitter:description" content="A description"/> + <meta property="dc:description og:description" content="Preferred description"/> + <meta name="description" content="FAIL"/> + </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 |