diff options
Diffstat (limited to 'vendor/mikespub/php-epub-meta/test/data')
16 files changed, 2257 insertions, 0 deletions
diff --git a/vendor/mikespub/php-epub-meta/test/data/broken.zip b/vendor/mikespub/php-epub-meta/test/data/broken.zip Binary files differnew file mode 100644 index 000000000..0c407313c --- /dev/null +++ b/vendor/mikespub/php-epub-meta/test/data/broken.zip diff --git a/vendor/mikespub/php-epub-meta/test/data/calibre_bookmarks.txt b/vendor/mikespub/php-epub-meta/test/data/calibre_bookmarks.txt new file mode 100644 index 000000000..f4d518ab8 --- /dev/null +++ b/vendor/mikespub/php-epub-meta/test/data/calibre_bookmarks.txt @@ -0,0 +1,26 @@ +encoding=json+base64: +W3sidGl0bGUiOiAiQWJvdXQgIzEiLCAicG9zX3R5cGUiOiAiZXB1YmNmaSIsICJwb3MiOiAiZXB1YmNm +aSgvNi8yLzQvMi82LzI6MzgpIiwgInRpbWVzdGFtcCI6ICIyMDI0LTAzLTExVDExOjU0OjM1LjEyODM5 +NiswMDowMCIsICJ0eXBlIjogImJvb2ttYXJrIn0sIHsicG9zIjogImVwdWJjZmkoLzgvMi80LzIvMltj +aGFwdGVyXzQ1OF0vNC80LzE6Mjg3KSIsICJwb3NfdHlwZSI6ICJlcHViY2ZpIiwgInRpbWVzdGFtcCI6 +ICIyMDI0LTAzLTExVDExOjU3OjUxLjAwMDM4NyswMDowMCIsICJ0eXBlIjogImxhc3QtcmVhZCJ9LCB7 +ImVuZF9jZmkiOiAiLzIvNC8yLzIvNi8xOjI0IiwgImhpZ2hsaWdodGVkX3RleHQiOiAiQ2hhcmxlcyBM +dXR3aWRnZSBEb2Rnc29uIiwgIm5vdGVzIjogIkZ1bGwgYXV0aG9yIG5hbWUiLCAic3BpbmVfaW5kZXgi +OiAyLCAic3BpbmVfbmFtZSI6ICJPUFMvYWJvdXQueG1sIiwgInN0YXJ0X2NmaSI6ICIvMi80LzIvMi82 +LzE6MCIsICJzdHlsZSI6IHsia2luZCI6ICJjb2xvciIsICJ0eXBlIjogImJ1aWx0aW4iLCAid2hpY2gi +OiAieWVsbG93In0sICJ0aW1lc3RhbXAiOiAiMjAyNC0wMy0xMVQxMTo1Mzo1NS41ODNaIiwgInRvY19m +YW1pbHlfdGl0bGVzIjogWyJBYm91dCJdLCAidHlwZSI6ICJoaWdobGlnaHQiLCAidXVpZCI6ICI1SEhH +dW9DT3RwQS11bWFJYkJ1YzBRIn0sIHsiZW5kX2NmaSI6ICIvMi80LzIvMi82LzE6MTA2IiwgImhpZ2hs +aWdodGVkX3RleHQiOiAiTGV3aXMgQ2Fycm9sbCIsICJzcGluZV9pbmRleCI6IDIsICJzcGluZV9uYW1l +IjogIk9QUy9hYm91dC54bWwiLCAic3RhcnRfY2ZpIjogIi8yLzQvMi8yLzYvMTo5MyIsICJzdHlsZSI6 +IHsia2luZCI6ICJjb2xvciIsICJ0eXBlIjogImJ1aWx0aW4iLCAid2hpY2giOiAieWVsbG93In0sICJ0 +aW1lc3RhbXAiOiAiMjAyNC0wMy0xMVQxMTo1NTozMi43MzRaIiwgInRvY19mYW1pbHlfdGl0bGVzIjog +WyJBYm91dCJdLCAidHlwZSI6ICJoaWdobGlnaHQiLCAidXVpZCI6ICJpdUdUeS1XSVhXRGluQnVzenBw +R3dBIn0sIHsiZW5kX2NmaSI6ICIvMi80LzIvMltjaGFwdGVyXzQ1OF0vNC8yLzE6NSIsICJoaWdobGln +aHRlZF90ZXh0IjogIkFsaWNlIiwgIm5vdGVzIjogIlByb3RhZ29uaXN0IiwgInNwaW5lX2luZGV4Ijog +MywgInNwaW5lX25hbWUiOiAiT1BTL21haW4wLnhtbCIsICJzdGFydF9jZmkiOiAiLzIvNC8yLzJbY2hh +cHRlcl80NThdLzQvMi8xOjAiLCAic3R5bGUiOiB7ImtpbmQiOiAiY29sb3IiLCAidHlwZSI6ICJidWls +dGluIiwgIndoaWNoIjogInllbGxvdyJ9LCAidGltZXN0YW1wIjogIjIwMjQtMDMtMTFUMTE6NTY6NTIu +ODkxWiIsICJ0b2NfZmFtaWx5X3RpdGxlcyI6IFsiQ2hhcHRlciAxIC0gRG93biB0aGUgUmFiYml0IEhv +bGUiXSwgInR5cGUiOiAiaGlnaGxpZ2h0IiwgInV1aWQiOiAiS0ZHTlhWQjJIZWI1M2doc0FqVnF2USJ9 +XQ==
\ No newline at end of file diff --git a/vendor/mikespub/php-epub-meta/test/data/empty.zip b/vendor/mikespub/php-epub-meta/test/data/empty.zip Binary files differnew file mode 100644 index 000000000..15cb0ecb3 --- /dev/null +++ b/vendor/mikespub/php-epub-meta/test/data/empty.zip diff --git a/vendor/mikespub/php-epub-meta/test/data/eng.components.json b/vendor/mikespub/php-epub-meta/test/data/eng.components.json new file mode 100644 index 000000000..59e7646f8 --- /dev/null +++ b/vendor/mikespub/php-epub-meta/test/data/eng.components.json @@ -0,0 +1,16 @@ +[ + "text/titlepage.xhtml", + "text/internal_titlepage.xhtml", + "text/toc.xhtml", + "text/introduction.xhtml", + "text/installing_calibre.xhtml", + "text/the_main_gui_window.xhtml", + "text/common_tasks.xhtml", + "text/task_1_organizing.xhtml", + "text/task_2_conversion.xhtml", + "text/task_3_the_ebook_editor.xhtml", + "text/task_4_downloading_news.xhtml", + "text/task_5_interacting_with_ebook_readers.xhtml", + "text/task_6_the_ebook_viewer.xhtml", + "text/where_to_get_help.xhtml" +]
\ No newline at end of file diff --git a/vendor/mikespub/php-epub-meta/test/data/eng.contents.json b/vendor/mikespub/php-epub-meta/test/data/eng.contents.json new file mode 100644 index 000000000..90dd2208e --- /dev/null +++ b/vendor/mikespub/php-epub-meta/test/data/eng.contents.json @@ -0,0 +1,96 @@ +[ + { + "title": "Calibre Quick Start Guide", + "src": "text/internal_titlepage.xhtml" + }, + { + "title": "Table of Contents", + "src": "text/toc.xhtml" + }, + { + "title": "Introduction", + "src": "text/introduction.xhtml" + }, + { + "title": "Installing calibre", + "src": "text/installing_calibre.xhtml" + }, + { + "title": "The Main Library Window, aka the GUI", + "src": "text/the_main_gui_window.xhtml" + }, + { + "title": "Common Tasks", + "src": "text/common_tasks.xhtml", + "children": [ + { + "title": "Task 1: Organizing", + "src": "text/task_1_organizing.xhtml" + }, + { + "title": "Task 2: Conversion", + "src": "text/task_2_conversion.xhtml", + "children": [ + { + "title": "2.1: Background", + "src": "text/task_2_conversion.xhtml#task2.1" + }, + { + "title": "2.2: Why are there different e-book formats?", + "src": "text/task_2_conversion.xhtml#task2.2" + }, + { + "title": "2.3: Conversion basics", + "src": "text/task_2_conversion.xhtml#task2.3" + }, + { + "title": "2.4: Auto Conversion", + "src": "text/task_2_conversion.xhtml#task2.4" + }, + { + "title": "2.5: More robust conversion", + "src": "text/task_2_conversion.xhtml#task2.5" + }, + { + "title": "2.6: Limitations of conversion", + "src": "text/task_2_conversion.xhtml#task2.6" + }, + { + "title": "2.7: DRM: the bane of conversion", + "src": "text/task_2_conversion.xhtml#task2.7" + } + ] + }, + { + "title": "Task 3: The e-book editor", + "src": "text/task_3_the_ebook_editor.xhtml" + }, + { + "title": "Task 4: Downloading News", + "src": "text/task_4_downloading_news.xhtml" + }, + { + "title": "Task 5: Interacting with e-book readers", + "src": "text/task_5_interacting_with_ebook_readers.xhtml", + "children": [ + { + "title": "5.1: Putting an e-book on your e-book reader", + "src": "text/task_5_interacting_with_ebook_readers.xhtml#task5.1" + }, + { + "title": "5.2: E-book reader optional configuration", + "src": "text/task_5_interacting_with_ebook_readers.xhtml#task5.2" + } + ] + }, + { + "title": "Task 6: The e-book viewer", + "src": "text/task_6_the_ebook_viewer.xhtml" + } + ] + }, + { + "title": "Where to get help", + "src": "text/where_to_get_help.xhtml" + } +] diff --git a/vendor/mikespub/php-epub-meta/test/data/eng.epub b/vendor/mikespub/php-epub-meta/test/data/eng.epub Binary files differnew file mode 100644 index 000000000..fd256d41a --- /dev/null +++ b/vendor/mikespub/php-epub-meta/test/data/eng.epub diff --git a/vendor/mikespub/php-epub-meta/test/data/eng3.epub b/vendor/mikespub/php-epub-meta/test/data/eng3.epub Binary files differnew file mode 100644 index 000000000..5fad2dd76 --- /dev/null +++ b/vendor/mikespub/php-epub-meta/test/data/eng3.epub diff --git a/vendor/mikespub/php-epub-meta/test/data/markup.1.xml b/vendor/mikespub/php-epub-meta/test/data/markup.1.xml new file mode 100644 index 000000000..ac1e50e57 --- /dev/null +++ b/vendor/mikespub/php-epub-meta/test/data/markup.1.xml @@ -0,0 +1,41 @@ +<div> + <div> + <h3>Act I</h3> + <div> + <h3>Prologue</h3> + <div> + + <p>Two households, both alike in dignity, + <br /> + In fair Verona, where we lay our scene, + <br /> + From ancient grudge break to new mutiny, + <br /> + Where civil blood makes civil hands unclean. + <br /> + From forth the fatal loins of these two foes + <br /> + A pair of star-cross'd lovers take their life; + <br /> + Whole misadventured piteous overthrows + <br /> + Do with their death bury their parents' strife. + <br /> + The fearful passage of their death-mark'd love, + <br /> + And the continuance of their parents' rage, + <br /> + Which, but their children's end, nought could remove, + <br /> + Is now the two hours' traffic of our stage; + <br /> + The which if you with patient ears attend, + <br /> + What here shall miss, our toil shall strive to mend. + </p> + + + </div> + </div> + </div> +</div>
\ No newline at end of file diff --git a/vendor/mikespub/php-epub-meta/test/data/markup.2.xml b/vendor/mikespub/php-epub-meta/test/data/markup.2.xml new file mode 100644 index 000000000..643df54a7 --- /dev/null +++ b/vendor/mikespub/php-epub-meta/test/data/markup.2.xml @@ -0,0 +1,1175 @@ +<div> + <div> + <h3>SCENE I. Verona. A public place.</h3> + <div> + + <p>Enter SAMPSON and GREGORY, of the house of Capulet, armed + with swords and bucklers + </p> + + + <p> + <strong>SAMPSON</strong> + </p> + + <p>Gregory, o' my word, we'll not carry coals. + <br /> + </p> + + + <p> + <strong>GREGORY</strong> + </p> + + <p>No, for then we should be colliers. + <br /> + </p> + + + <p> + <strong>SAMPSON</strong> + </p> + + <p>I mean, an we be in choler, we'll draw. + <br /> + </p> + + + <p> + <strong>GREGORY</strong> + </p> + + <p>Ay, while you live, draw your neck out o' the collar. + <br /> + </p> + + + <p> + <strong>SAMPSON</strong> + </p> + + <p>I strike quickly, being moved. + <br /> + </p> + + + <p> + <strong>GREGORY</strong> + </p> + + <p>But thou art not quickly moved to strike. + <br /> + </p> + + + <p> + <strong>SAMPSON</strong> + </p> + + <p>A dog of the house of Montague moves me. + <br /> + </p> + + + <p> + <strong>GREGORY</strong> + </p> + + <p>To move is to stir; and to be valiant is to stand: + <br /> + therefore, if thou art moved, thou runn'st away. + <br /> + </p> + + + <p> + <strong>SAMPSON</strong> + </p> + + <p>A dog of that house shall move me to stand: I will + <br /> + take the wall of any man or maid of Montague's. + <br /> + </p> + + + <p> + <strong>GREGORY</strong> + </p> + + <p>That shows thee a weak slave; for the weakest goes + <br /> + to the wall. + <br /> + </p> + + + <p> + <strong>SAMPSON</strong> + </p> + + <p>True; and therefore women, being the weaker vessels, + <br /> + are ever thrust to the wall: therefore I will push + <br /> + Montague's men from the wall, and thrust his maids + <br /> + to the wall. + <br /> + </p> + + + <p> + <strong>GREGORY</strong> + </p> + + <p>The quarrel is between our masters and us their men. + <br /> + </p> + + + <p> + <strong>SAMPSON</strong> + </p> + + <p>'Tis all one, I will show myself a tyrant: when I + <br /> + have fought with the men, I will be cruel with the + <br /> + maids, and cut off their heads. + <br /> + </p> + + + <p> + <strong>GREGORY</strong> + </p> + + <p>The heads of the maids? + <br /> + </p> + + + <p> + <strong>SAMPSON</strong> + </p> + + <p>Ay, the heads of the maids, or their maidenheads; + <br /> + take it in what sense thou wilt. + <br /> + </p> + + + <p> + <strong>GREGORY</strong> + </p> + + <p>They must take it in sense that feel it. + <br /> + </p> + + + <p> + <strong>SAMPSON</strong> + </p> + + <p>Me they shall feel while I am able to stand: and + <br /> + 'tis known I am a pretty piece of flesh. + <br /> + </p> + + + <p> + <strong>GREGORY</strong> + </p> + + <p>'Tis well thou art not fish; if thou hadst, thou + <br /> + hadst been poor John. Draw thy tool! here comes + <br /> + two of the house of the Montagues. + <br /> + </p> + + + <p> + <strong>SAMPSON</strong> + </p> + + <p>My naked weapon is out: quarrel, I will back thee. + <br /> + </p> + + + <p> + <strong>GREGORY</strong> + </p> + + <p>How! turn thy back and run? + <br /> + </p> + + + <p> + <strong>SAMPSON</strong> + </p> + + <p>Fear me not. + <br /> + </p> + + + <p> + <strong>GREGORY</strong> + </p> + + <p>No, marry; I fear thee! + <br /> + </p> + + + <p> + <strong>SAMPSON</strong> + </p> + + <p>Let us take the law of our sides; let them begin. + <br /> + </p> + + + <p> + <strong>GREGORY</strong> + </p> + + <p>I will frown as I pass by, and let them take it as + <br /> + they list. + <br /> + </p> + + + <p> + <strong>SAMPSON</strong> + </p> + + <p>Nay, as they dare. I will bite my thumb at them; + <br /> + which is a disgrace to them, if they bear it. + <br /> + </p> + <p>Enter ABRAHAM and BALTHASAR</p> + + + <p> + <strong>ABRAHAM</strong> + </p> + + <p>Do you bite your thumb at us, sir? + <br /> + </p> + + + <p> + <strong>SAMPSON</strong> + </p> + + <p>I do bite my thumb, sir. + <br /> + </p> + + + <p> + <strong>ABRAHAM</strong> + </p> + + <p>Do you bite your thumb at us, sir? + <br /> + </p> + + + <p> + <strong>SAMPSON</strong> + </p> + + <p>[Aside to GREGORY] Is the law of our side, if I say + <br /> + ay? + <br /> + </p> + + + <p> + <strong>GREGORY</strong> + </p> + + <p>No. + <br /> + </p> + + + <p> + <strong>SAMPSON</strong> + </p> + + <p>No, sir, I do not bite my thumb at you, sir, but I + <br /> + bite my thumb, sir. + <br /> + </p> + + + <p> + <strong>GREGORY</strong> + </p> + + <p>Do you quarrel, sir? + <br /> + </p> + + + <p> + <strong>ABRAHAM</strong> + </p> + + <p>Quarrel sir! no, sir. + <br /> + </p> + + + <p> + <strong>SAMPSON</strong> + </p> + + <p>If you do, sir, I am for you: I serve as good a man as + you. + <br /> + </p> + + + <p> + <strong>ABRAHAM</strong> + </p> + + <p>No better. + <br /> + </p> + + + <p> + <strong>SAMPSON</strong> + </p> + + <p>Well, sir. + <br /> + </p> + + + <p> + <strong>GREGORY</strong> + </p> + + <p>Say 'better:' here comes one of my master's kinsmen. + <br /> + </p> + + + <p> + <strong>SAMPSON</strong> + </p> + + <p>Yes, better, sir. + <br /> + </p> + + + <p> + <strong>ABRAHAM</strong> + </p> + + <p>You lie. + <br /> + </p> + + + <p> + <strong>SAMPSON</strong> + </p> + + <p>Draw, if you be men. Gregory, remember thy swashing + blow. + <br /> + </p> + <p>They fight</p> + <p>Enter BENVOLIO</p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>Part, fools! + <br /> + Put up your swords; you know not what you do. + <br /> + </p> + <p>Beats down their swords</p> + <p>Enter TYBALT</p> + + + <p> + <strong>TYBALT</strong> + </p> + + <p>What, art thou drawn among these heartless hinds? + <br /> + Turn thee, Benvolio, look upon thy death. + <br /> + </p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>I do but keep the peace: put up thy sword, + <br /> + Or manage it to part these men with me. + <br /> + </p> + + + <p> + <strong>TYBALT</strong> + </p> + + <p>What, drawn, and talk of peace! I hate the word, + <br /> + As I hate hell, all Montagues, and thee: + <br /> + Have at thee, coward! + <br /> + </p> + <p>They fight</p> + <p>Enter, several of both houses, who join the fray; then enter + Citizens, with clubs + </p> + + + <p> + <strong>First Citizen</strong> + </p> + + <p>Clubs, bills, and partisans! strike! beat them down! + <br /> + Down with the Capulets! down with the Montagues! + <br /> + </p> + <p>Enter CAPULET in his gown, and LADY CAPULET</p> + + + <p> + <strong>CAPULET</strong> + </p> + + <p>What noise is this? Give me my long sword, ho! + <br /> + </p> + + + <p> + <strong>LADY CAPULET</strong> + </p> + + <p>A crutch, a crutch! why call you for a sword? + <br /> + </p> + + + <p> + <strong>CAPULET</strong> + </p> + + <p>My sword, I say! Old Montague is come, + <br /> + And flourishes his blade in spite of me. + <br /> + </p> + <p>Enter MONTAGUE and LADY MONTAGUE</p> + + + <p> + <strong>MONTAGUE</strong> + </p> + + <p>Thou villain Capulet,—Hold me not, let me go. + <br /> + </p> + + + <p> + <strong>LADY MONTAGUE</strong> + </p> + + <p>Thou shalt not stir a foot to seek a foe. + <br /> + </p> + <p>Enter PRINCE, with Attendants</p> + + + <p> + <strong>PRINCE</strong> + </p> + + <p>Rebellious subjects, enemies to peace, + <br /> + Profaners of this neighbour-stained steel,— + <br /> + Will they not hear? What, ho! you men, you beasts, + <br /> + That quench the fire of your pernicious rage + <br /> + With purple fountains issuing from your veins, + <br /> + On pain of torture, from those bloody hands + <br /> + Throw your mistemper'd weapons to the ground, + <br /> + And hear the sentence of your moved prince. + <br /> + Three civil brawls, bred of an airy word, + <br /> + By thee, old Capulet, and Montague, + <br /> + Have thrice disturb'd the quiet of our streets, + <br /> + And made Verona's ancient citizens + <br /> + Cast by their grave beseeming ornaments, + <br /> + To wield old partisans, in hands as old, + <br /> + Canker'd with peace, to part your canker'd hate: + <br /> + If ever you disturb our streets again, + <br /> + Your lives shall pay the forfeit of the peace. + <br /> + For this time, all the rest depart away: + <br /> + You Capulet; shall go along with me: + <br /> + And, Montague, come you this afternoon, + <br /> + To know our further pleasure in this case, + <br /> + To old Free-town, our common judgment-place. + <br /> + Once more, on pain of death, all men depart. + <br /> + </p> + <p>Exeunt all but MONTAGUE, LADY MONTAGUE, and + BENVOLIO + </p> + + + <p> + <strong>MONTAGUE</strong> + </p> + + <p>Who set this ancient quarrel new abroach? + <br /> + Speak, nephew, were you by when it began? + <br /> + </p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>Here were the servants of your adversary, + <br /> + And yours, close fighting ere I did approach: + <br /> + I drew to part them: in the instant came + <br /> + The fiery Tybalt, with his sword prepared, + <br /> + Which, as he breathed defiance to my ears, + <br /> + He swung about his head and cut the winds, + <br /> + Who nothing hurt withal hiss'd him in scorn: + <br /> + While we were interchanging thrusts and blows, + <br /> + Came more and more and fought on part and part, + <br /> + Till the prince came, who parted either part. + <br /> + </p> + + + <p> + <strong>LADY MONTAGUE</strong> + </p> + + <p>O, where is Romeo? saw you him to-day? + <br /> + Right glad I am he was not at this fray. + <br /> + </p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>Madam, an hour before the worshipp'd sun + <br /> + Peer'd forth the golden window of the east, + <br /> + A troubled mind drave me to walk abroad; + <br /> + Where, underneath the grove of sycamore + <br /> + That westward rooteth from the city's side, + <br /> + So early walking did I see your son: + <br /> + Towards him I made, but he was ware of me + <br /> + And stole into the covert of the wood: + <br /> + I, measuring his affections by my own, + <br /> + That most are busied when they're most alone, + <br /> + Pursued my humour not pursuing his, + <br /> + And gladly shunn'd who gladly fled from me. + <br /> + </p> + + + <p> + <strong>MONTAGUE</strong> + </p> + + <p>Many a morning hath he there been seen, + <br /> + With tears augmenting the fresh morning dew. + <br /> + Adding to clouds more clouds with his deep sighs; + <br /> + But all so soon as the all-cheering sun + <br /> + Should in the furthest east begin to draw + <br /> + The shady curtains from Aurora's bed, + <br /> + Away from the light steals home my heavy son, + <br /> + And private in his chamber pens himself, + <br /> + Shuts up his windows, locks far daylight out + <br /> + And makes himself an artificial night: + <br /> + Black and portentous must this humour prove, + <br /> + Unless good counsel may the cause remove. + <br /> + </p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>My noble uncle, do you know the cause? + <br /> + </p> + + + <p> + <strong>MONTAGUE</strong> + </p> + + <p>I neither know it nor can learn of him. + <br /> + </p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>Have you importuned him by any means? + <br /> + </p> + + + <p> + <strong>MONTAGUE</strong> + </p> + + <p>Both by myself and many other friends: + <br /> + But he, his own affections' counsellor, + <br /> + Is to himself—I will not say how true— + <br /> + But to himself so secret and so close, + <br /> + So far from sounding and discovery, + <br /> + As is the bud bit with an envious worm, + <br /> + Ere he can spread his sweet leaves to the air, + <br /> + Or dedicate his beauty to the sun. + <br /> + Could we but learn from whence his sorrows grow. + <br /> + We would as willingly give cure as know. + <br /> + </p> + <p>Enter ROMEO</p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>See, where he comes: so please you, step aside; + <br /> + I'll know his grievance, or be much denied. + <br /> + </p> + + + <p> + <strong>MONTAGUE</strong> + </p> + + <p>I would thou wert so happy by thy stay, + <br /> + To hear true shrift. Come, madam, let's away. + <br /> + </p> + <p>Exeunt MONTAGUE and LADY MONTAGUE</p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>Good-morrow, cousin. + <br /> + </p> + + + <p> + <strong>ROMEO</strong> + </p> + + <p>Is the day so young? + <br /> + </p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>But new struck nine. + <br /> + </p> + + + <p> + <strong>ROMEO</strong> + </p> + + <p>Ay me! sad hours seem long. + <br /> + Was that my father that went hence so fast? + <br /> + </p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>It was. What sadness lengthens Romeo's hours? + <br /> + </p> + + + <p> + <strong>ROMEO</strong> + </p> + + <p>Not having that, which, having, makes them short. + <br /> + </p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>In love? + <br /> + </p> + + + <p> + <strong>ROMEO</strong> + </p> + + <p>Out— + <br /> + </p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>Of love? + <br /> + </p> + + + <p> + <strong>ROMEO</strong> + </p> + + <p>Out of her favour, where I am in love. + <br /> + </p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>Alas, that love, so gentle in his view, + <br /> + Should be so tyrannous and rough in proof! + <br /> + </p> + + + <p> + <strong>ROMEO</strong> + </p> + + <p>Alas, that love, whose view is muffled still, + <br /> + Should, without eyes, see pathways to his will! + <br /> + Where shall we dine? O me! What fray was here? + <br /> + Yet tell me not, for I have heard it all. + <br /> + Here's much to do with hate, but more with love. + <br /> + Why, then, O brawling love! O loving hate! + <br /> + O any thing, of nothing first create! + <br /> + O heavy lightness! serious vanity! + <br /> + Mis-shapen chaos of well-seeming forms! + <br /> + Feather of lead, bright smoke, cold fire, + <br /> + sick health! + <br /> + Still-waking sleep, that is not what it is! + <br /> + This love feel I, that feel no love in this. + <br /> + Dost thou not laugh? + <br /> + </p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>No, coz, I rather weep. + <br /> + </p> + + + <p> + <strong>ROMEO</strong> + </p> + + <p>Good heart, at what? + <br /> + </p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>At thy good heart's oppression. + <br /> + </p> + + + <p> + <strong>ROMEO</strong> + </p> + + <p>Why, such is love's transgression. + <br /> + Griefs of mine own lie heavy in my breast, + <br /> + Which thou wilt propagate, to have it prest + <br /> + With more of thine: this love that thou hast shown + <br /> + Doth add more grief to too much of mine own. + <br /> + Love is a smoke raised with the fume of sighs; + <br /> + Being purged, a fire sparkling in lovers' eyes; + <br /> + Being vex'd a sea nourish'd with lovers' tears: + <br /> + What is it else? a madness most discreet, + <br /> + A choking gall and a preserving sweet. + <br /> + Farewell, my coz. + <br /> + </p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>Soft! I will go along; + <br /> + An if you leave me so, you do me wrong. + <br /> + </p> + + + <p> + <strong>ROMEO</strong> + </p> + + <p>Tut, I have lost myself; I am not here; + <br /> + This is not Romeo, he's some other where. + <br /> + </p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>Tell me in sadness, who is that you love. + <br /> + </p> + + + <p> + <strong>ROMEO</strong> + </p> + + <p>What, shall I groan and tell thee? + <br /> + </p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>Groan! why, no. + <br /> + But sadly tell me who. + <br /> + </p> + + + <p> + <strong>ROMEO</strong> + </p> + + <p>Bid a sick man in sadness make his will: + <br /> + Ah, word ill urged to one that is so ill! + <br /> + In sadness, cousin, I do love a woman. + <br /> + </p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>I aim'd so near, when I supposed you loved. + <br /> + </p> + + + <p> + <strong>ROMEO</strong> + </p> + + <p>A right good mark-man! And she's fair I love. + <br /> + </p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>A right fair mark, fair coz, is soonest hit. + <br /> + </p> + + + <p> + <strong>ROMEO</strong> + </p> + + <p>Well, in that hit you miss: she'll not be hit + <br /> + With Cupid's arrow; she hath Dian's wit; + <br /> + And, in strong proof of chastity well arm'd, + <br /> + From love's weak childish bow she lives unharm'd. + <br /> + She will not stay the siege of loving terms, + <br /> + Nor bide the encounter of assailing eyes, + <br /> + Nor ope her lap to saint-seducing gold: + <br /> + O, she is rich in beauty, only poor, + <br /> + That when she dies with beauty dies her store. + <br /> + </p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>Then she hath sworn that she will still live chaste? + <br /> + </p> + + + <p> + <strong>ROMEO</strong> + </p> + + <p>She hath, and in that sparing makes huge waste, + <br /> + For beauty starved with her severity + <br /> + Cuts beauty off from all posterity. + <br /> + She is too fair, too wise, wisely too fair, + <br /> + To merit bliss by making me despair: + <br /> + She hath forsworn to love, and in that vow + <br /> + Do I live dead that live to tell it now. + <br /> + </p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>Be ruled by me, forget to think of her. + <br /> + </p> + + + <p> + <strong>ROMEO</strong> + </p> + + <p>O, teach me how I should forget to think. + <br /> + </p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>By giving liberty unto thine eyes; + <br /> + Examine other beauties. + <br /> + </p> + + + <p> + <strong>ROMEO</strong> + </p> + + <p>'Tis the way + <br /> + To call hers exquisite, in question more: + <br /> + These happy masks that kiss fair ladies' brows + <br /> + Being black put us in mind they hide the fair; + <br /> + He that is strucken blind cannot forget + <br /> + The precious treasure of his eyesight lost: + <br /> + Show me a mistress that is passing fair, + <br /> + What doth her beauty serve, but as a note + <br /> + Where I may read who pass'd that passing fair? + <br /> + Farewell: thou canst not teach me to forget. + <br /> + </p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>I'll pay that doctrine, or else die in debt. + <br /> + </p> + <p>Exeunt</p> + + + </div> + </div> +</div> + diff --git a/vendor/mikespub/php-epub-meta/test/data/markup.3.xml b/vendor/mikespub/php-epub-meta/test/data/markup.3.xml new file mode 100644 index 000000000..58ffb5d11 --- /dev/null +++ b/vendor/mikespub/php-epub-meta/test/data/markup.3.xml @@ -0,0 +1,3 @@ +<div> + <h3>Act III</h3> +</div>
\ No newline at end of file diff --git a/vendor/mikespub/php-epub-meta/test/data/markup.4.xml b/vendor/mikespub/php-epub-meta/test/data/markup.4.xml new file mode 100644 index 000000000..fdda27bac --- /dev/null +++ b/vendor/mikespub/php-epub-meta/test/data/markup.4.xml @@ -0,0 +1,5 @@ +<div> + <div> + <h3>Act III</h3> + </div> +</div>
\ No newline at end of file diff --git a/vendor/mikespub/php-epub-meta/test/data/markup.5.xml b/vendor/mikespub/php-epub-meta/test/data/markup.5.xml new file mode 100644 index 000000000..52e046b5c --- /dev/null +++ b/vendor/mikespub/php-epub-meta/test/data/markup.5.xml @@ -0,0 +1,860 @@ +<div> + <h3>SCENE I. A public place.</h3> + <div> + + <p>Enter MERCUTIO, BENVOLIO, Page, and Servants</p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>I pray thee, good Mercutio, let's retire: + <br /> + The day is hot, the Capulets abroad, + <br /> + And, if we meet, we shall not scape a brawl; + <br /> + For now, these hot days, is the mad blood stirring. + <br /> + </p> + + + <p> + <strong>MERCUTIO</strong> + </p> + + <p>Thou art like one of those fellows that when he + <br /> + enters the confines of a tavern claps me his sword + <br /> + upon the table and says 'God send me no need of + <br /> + thee!' and by the operation of the second cup draws + <br /> + it on the drawer, when indeed there is no need. + <br /> + </p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>Am I like such a fellow? + <br /> + </p> + + + <p> + <strong>MERCUTIO</strong> + </p> + + <p>Come, come, thou art as hot a Jack in thy mood as + <br /> + any in Italy, and as soon moved to be moody, and as + <br /> + soon moody to be moved. + <br /> + </p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>And what to? + <br /> + </p> + + + <p> + <strong>MERCUTIO</strong> + </p> + + <p>Nay, an there were two such, we should have none + <br /> + shortly, for one would kill the other. Thou! why, + <br /> + thou wilt quarrel with a man that hath a hair more, + <br /> + or a hair less, in his beard, than thou hast: thou + <br /> + wilt quarrel with a man for cracking nuts, having no + <br /> + other reason but because thou hast hazel eyes: what + <br /> + eye but such an eye would spy out such a quarrel? + <br /> + Thy head is as fun of quarrels as an egg is full of + <br /> + meat, and yet thy head hath been beaten as addle as + <br /> + an egg for quarrelling: thou hast quarrelled with a + <br /> + man for coughing in the street, because he hath + <br /> + wakened thy dog that hath lain asleep in the sun: + <br /> + didst thou not fall out with a tailor for wearing + <br /> + his new doublet before Easter? with another, for + <br /> + tying his new shoes with old riband? and yet thou + <br /> + wilt tutor me from quarrelling! + <br /> + </p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>An I were so apt to quarrel as thou art, any man + <br /> + should buy the fee-simple of my life for an hour and a + quarter. + <br /> + </p> + + + <p> + <strong>MERCUTIO</strong> + </p> + + <p>The fee-simple! O simple! + <br /> + </p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>By my head, here come the Capulets. + <br /> + </p> + + + <p> + <strong>MERCUTIO</strong> + </p> + + <p>By my heel, I care not. + <br /> + </p> + <p>Enter TYBALT and others</p> + + + <p> + <strong>TYBALT</strong> + </p> + + <p>Follow me close, for I will speak to them. + <br /> + Gentlemen, good den: a word with one of you. + <br /> + </p> + + + <p> + <strong>MERCUTIO</strong> + </p> + + <p>And but one word with one of us? couple it with + <br /> + something; make it a word and a blow. + <br /> + </p> + + + <p> + <strong>TYBALT</strong> + </p> + + <p>You shall find me apt enough to that, sir, an you + <br /> + will give me occasion. + <br /> + </p> + + + <p> + <strong>MERCUTIO</strong> + </p> + + <p>Could you not take some occasion without giving? + <br /> + </p> + + + <p> + <strong>TYBALT</strong> + </p> + + <p>Mercutio, thou consort'st with Romeo,— + <br /> + </p> + + + <p> + <strong>MERCUTIO</strong> + </p> + + <p>Consort! what, dost thou make us minstrels? an + <br /> + thou make minstrels of us, look to hear nothing but + <br /> + discords: here's my fiddlestick; here's that shall + <br /> + make you dance. 'Zounds, consort! + <br /> + </p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>We talk here in the public haunt of men: + <br /> + Either withdraw unto some private place, + <br /> + And reason coldly of your grievances, + <br /> + Or else depart; here all eyes gaze on us. + <br /> + </p> + + + <p> + <strong>MERCUTIO</strong> + </p> + + <p>Men's eyes were made to look, and let them gaze; + <br /> + I will not budge for no man's pleasure, I. + <br /> + </p> + <p>Enter ROMEO</p> + + + <p> + <strong>TYBALT</strong> + </p> + + <p>Well, peace be with you, sir: here comes my man. + <br /> + </p> + + + <p> + <strong>MERCUTIO</strong> + </p> + + <p>But I'll be hanged, sir, if he wear your livery: + <br /> + Marry, go before to field, he'll be your follower; + <br /> + Your worship in that sense may call him 'man.' + <br /> + </p> + + + <p> + <strong>TYBALT</strong> + </p> + + <p>Romeo, the hate I bear thee can afford + <br /> + No better term than this,—thou art a villain. + <br /> + </p> + + + <p> + <strong>ROMEO</strong> + </p> + + <p>Tybalt, the reason that I have to love thee + <br /> + Doth much excuse the appertaining rage + <br /> + To such a greeting: villain am I none; + <br /> + Therefore farewell; I see thou know'st me not. + <br /> + </p> + + + <p> + <strong>TYBALT</strong> + </p> + + <p>Boy, this shall not excuse the injuries + <br /> + That thou hast done me; therefore turn and draw. + <br /> + </p> + + + <p> + <strong>ROMEO</strong> + </p> + + <p>I do protest, I never injured thee, + <br /> + But love thee better than thou canst devise, + <br /> + Till thou shalt know the reason of my love: + <br /> + And so, good Capulet,—which name I tender + <br /> + As dearly as my own,—be satisfied. + <br /> + </p> + + + <p> + <strong>MERCUTIO</strong> + </p> + + <p>O calm, dishonourable, vile submission! + <br /> + Alla stoccata carries it away. + <br /> + </p> + <p>Draws</p> + <p>Tybalt, you rat-catcher, will you walk? + <br /> + </p> + + + <p> + <strong>TYBALT</strong> + </p> + + <p>What wouldst thou have with me? + <br /> + </p> + + + <p> + <strong>MERCUTIO</strong> + </p> + + <p>Good king of cats, nothing but one of your nine + <br /> + lives; that I mean to make bold withal, and as you + <br /> + shall use me hereafter, drybeat the rest of the + <br /> + eight. Will you pluck your sword out of his pitcher + <br /> + by the ears? make haste, lest mine be about your + <br /> + ears ere it be out. + <br /> + </p> + + + <p> + <strong>TYBALT</strong> + </p> + + <p>I am for you. + <br /> + </p> + <p>Drawing</p> + + + <p> + <strong>ROMEO</strong> + </p> + + <p>Gentle Mercutio, put thy rapier up. + <br /> + </p> + + + <p> + <strong>MERCUTIO</strong> + </p> + + <p>Come, sir, your passado. + <br /> + </p> + <p>They fight</p> + + + <p> + <strong>ROMEO</strong> + </p> + + <p>Draw, Benvolio; beat down their weapons. + <br /> + Gentlemen, for shame, forbear this outrage! + <br /> + Tybalt, Mercutio, the prince expressly hath + <br /> + Forbidden bandying in Verona streets: + <br /> + Hold, Tybalt! good Mercutio! + <br /> + </p> + <p>TYBALT under ROMEO's arm stabs MERCUTIO, and flies with his + followers + </p> + + + <p> + <strong>MERCUTIO</strong> + </p> + + <p>I am hurt. + <br /> + A plague o' both your houses! I am sped. + <br /> + Is he gone, and hath nothing? + <br /> + </p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>What, art thou hurt? + <br /> + </p> + + + <p> + <strong>MERCUTIO</strong> + </p> + + <p>Ay, ay, a scratch, a scratch; marry, 'tis enough. + <br /> + Where is my page? Go, villain, fetch a surgeon. + <br /> + </p> + <p>Exit Page</p> + + + <p> + <strong>ROMEO</strong> + </p> + + <p>Courage, man; the hurt cannot be much. + <br /> + </p> + + + <p> + <strong>MERCUTIO</strong> + </p> + + <p>No, 'tis not so deep as a well, nor so wide as a + <br /> + church-door; but 'tis enough,'twill serve: ask for + <br /> + me to-morrow, and you shall find me a grave man. I + <br /> + am peppered, I warrant, for this world. A plague o' + <br /> + both your houses! 'Zounds, a dog, a rat, a mouse, a + <br /> + cat, to scratch a man to death! a braggart, a + <br /> + rogue, a villain, that fights by the book of + <br /> + arithmetic! Why the devil came you between us? I + <br /> + was hurt under your arm. + <br /> + </p> + + + <p> + <strong>ROMEO</strong> + </p> + + <p>I thought all for the best. + <br /> + </p> + + + <p> + <strong>MERCUTIO</strong> + </p> + + <p>Help me into some house, Benvolio, + <br /> + Or I shall faint. A plague o' both your houses! + <br /> + They have made worms' meat of me: I have it, + <br /> + And soundly too: your houses! + <br /> + </p> + <p>Exeunt MERCUTIO and BENVOLIO</p> + + + <p> + <strong>ROMEO</strong> + </p> + + <p>This gentleman, the prince's near ally, + <br /> + My very friend, hath got his mortal hurt + <br /> + In my behalf; my reputation stain'd + <br /> + With Tybalt's slander,—Tybalt, that an hour + <br /> + Hath been my kinsman! O sweet Juliet, + <br /> + Thy beauty hath made me effeminate + <br /> + And in my temper soften'd valour's steel! + <br /> + </p> + <p>Re-enter BENVOLIO</p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>O Romeo, Romeo, brave Mercutio's dead! + <br /> + That gallant spirit hath aspired the clouds, + <br /> + Which too untimely here did scorn the earth. + <br /> + </p> + + + <p> + <strong>ROMEO</strong> + </p> + + <p>This day's black fate on more days doth depend; + <br /> + This but begins the woe, others must end. + <br /> + </p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>Here comes the furious Tybalt back again. + <br /> + </p> + + + <p> + <strong>ROMEO</strong> + </p> + + <p>Alive, in triumph! and Mercutio slain! + <br /> + Away to heaven, respective lenity, + <br /> + And fire-eyed fury be my conduct now! + <br /> + </p> + <p>Re-enter TYBALT</p> + <p>Now, Tybalt, take the villain back again, + <br /> + That late thou gavest me; for Mercutio's soul + <br /> + Is but a little way above our heads, + <br /> + Staying for thine to keep him company: + <br /> + Either thou, or I, or both, must go with him. + <br /> + </p> + + + <p> + <strong>TYBALT</strong> + </p> + + <p>Thou, wretched boy, that didst consort him here, + <br /> + Shalt with him hence. + <br /> + </p> + + + <p> + <strong>ROMEO</strong> + </p> + + <p>This shall determine that. + <br /> + </p> + <p>They fight; TYBALT falls</p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>Romeo, away, be gone! + <br /> + The citizens are up, and Tybalt slain. + <br /> + Stand not amazed: the prince will doom thee death, + <br /> + If thou art taken: hence, be gone, away! + <br /> + </p> + + + <p> + <strong>ROMEO</strong> + </p> + + <p>O, I am fortune's fool! + <br /> + </p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>Why dost thou stay? + <br /> + </p> + <p>Exit ROMEO</p> + <p>Enter Citizens, & c</p> + + + <p> + <strong>First Citizen</strong> + </p> + + <p>Which way ran he that kill'd Mercutio? + <br /> + Tybalt, that murderer, which way ran he? + <br /> + </p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>There lies that Tybalt. + <br /> + </p> + + + <p> + <strong>First Citizen</strong> + </p> + + <p>Up, sir, go with me; + <br /> + I charge thee in the princes name, obey. + <br /> + </p> + <p>Enter Prince, attended; MONTAGUE, CAPULET, their Wives, and + others + </p> + + + <p> + <strong>PRINCE</strong> + </p> + + <p>Where are the vile beginners of this fray? + <br /> + </p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>O noble prince, I can discover all + <br /> + The unlucky manage of this fatal brawl: + <br /> + There lies the man, slain by young Romeo, + <br /> + That slew thy kinsman, brave Mercutio. + <br /> + </p> + + + <p> + <strong>LADY CAPULET</strong> + </p> + + <p>Tybalt, my cousin! O my brother's child! + <br /> + O prince! O cousin! husband! O, the blood is spilt + <br /> + O my dear kinsman! Prince, as thou art true, + <br /> + For blood of ours, shed blood of Montague. + <br /> + O cousin, cousin! + <br /> + </p> + + + <p> + <strong>PRINCE</strong> + </p> + + <p>Benvolio, who began this bloody fray? + <br /> + </p> + + + <p> + <strong>BENVOLIO</strong> + </p> + + <p>Tybalt, here slain, whom Romeo's hand did slay; + <br /> + Romeo that spoke him fair, bade him bethink + <br /> + How nice the quarrel was, and urged withal + <br /> + Your high displeasure: all this uttered + <br /> + With gentle breath, calm look, knees humbly bow'd, + <br /> + Could not take truce with the unruly spleen + <br /> + Of Tybalt deaf to peace, but that he tilts + <br /> + With piercing steel at bold Mercutio's breast, + <br /> + Who all as hot, turns deadly point to point, + <br /> + And, with a martial scorn, with one hand beats + <br /> + Cold death aside, and with the other sends + <br /> + It back to Tybalt, whose dexterity, + <br /> + Retorts it: Romeo he cries aloud, + <br /> + 'Hold, friends! friends, part!' and, swifter than + <br /> + his tongue, + <br /> + His agile arm beats down their fatal points, + <br /> + And 'twixt them rushes; underneath whose arm + <br /> + An envious thrust from Tybalt hit the life + <br /> + Of stout Mercutio, and then Tybalt fled; + <br /> + But by and by comes back to Romeo, + <br /> + Who had but newly entertain'd revenge, + <br /> + And to 't they go like lightning, for, ere I + <br /> + Could draw to part them, was stout Tybalt slain. + <br /> + And, as he fell, did Romeo turn and fly. + <br /> + This is the truth, or let Benvolio die. + <br /> + </p> + + + <p> + <strong>LADY CAPULET</strong> + </p> + + <p>He is a kinsman to the Montague; + <br /> + Affection makes him false; he speaks not true: + <br /> + Some twenty of them fought in this black strife, + <br /> + And all those twenty could but kill one life. + <br /> + I beg for justice, which thou, prince, must give; + <br /> + Romeo slew Tybalt, Romeo must not live. + <br /> + </p> + + + <p> + <strong>PRINCE</strong> + </p> + + <p>Romeo slew him, he slew Mercutio; + <br /> + Who now the price of his dear blood doth owe? + <br /> + </p> + + + <p> + <strong>MONTAGUE</strong> + </p> + + <p>Not Romeo, prince, he was Mercutio's friend; + <br /> + His fault concludes but what the law should end, + <br /> + The life of Tybalt. + <br /> + </p> + + + <p> + <strong>PRINCE</strong> + </p> + + <p>And for that offence + <br /> + Immediately we do exile him hence: + <br /> + I have an interest in your hate's proceeding, + <br /> + My blood for your rude brawls doth lie a-bleeding; + <br /> + But I'll amerce you with so strong a fine + <br /> + That you shall all repent the loss of mine: + <br /> + I will be deaf to pleading and excuses; + <br /> + Nor tears nor prayers shall purchase out abuses: + <br /> + Therefore use none: let Romeo hence in haste, + <br /> + Else, when he's found, that hour is his last. + <br /> + Bear hence this body and attend our will: + <br /> + Mercy but murders, pardoning those that kill. + <br /> + </p> + <p>Exeunt</p> + + + </div> +</div> + + + diff --git a/vendor/mikespub/php-epub-meta/test/data/metadata.opf b/vendor/mikespub/php-epub-meta/test/data/metadata.opf new file mode 100644 index 000000000..dc2f6e011 --- /dev/null +++ b/vendor/mikespub/php-epub-meta/test/data/metadata.opf @@ -0,0 +1,35 @@ +<?xml version='1.0' encoding='utf-8'?> +<package xmlns="http://www.idpf.org/2007/opf" unique-identifier="uuid_id" version="2.0"> + <metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf"> + <dc:identifier opf:scheme="calibre" id="calibre_id">17</dc:identifier> + <dc:identifier opf:scheme="uuid" id="uuid_id">d74fec58-06bc-4ba8-b8b4-24a91a58e6f9</dc:identifier> + <dc:title>Alice's Adventures in Wonderland</dc:title> + <dc:creator opf:file-as="Carroll, Lewis" opf:role="aut">Lewis Carroll</dc:creator> + <dc:contributor opf:file-as="calibre" opf:role="bkp">calibre (7.6.0) [https://calibre-ebook.com]</dc:contributor> + <dc:date>1897-04-10T23:00:00+00:00</dc:date> + <dc:description><p class="description">Alice's Adventures in Wonderland (1865) is a novel written by English author Charles Lutwidge Dodgson, better known under the pseudonym Lewis Carroll. It tells the story of a girl named Alice who falls down a rabbit-hole into a fantasy world populated by peculiar and anthropomorphic creatures.<br>The tale is filled with allusions to Dodgson's friends (and enemies), and to the lessons that British schoolchildren were expected to memorize. The tale plays with logic in ways that have made the story of lasting popularity with adults as well as children. It is considered to be one of the most characteristic examples of the genre of literary nonsense, and its narrative course and structure has been enormously influential, mainly in the fantasy genre.</p> + +Alice's Adventures in Wonderland (1865) is a novel written by English author Charles Lutwidge Dodgson, better known under the pseudonym Lewis Carroll. It tells the story of a girl named Alice who falls down a rabbit-hole into a fantasy world populated by peculiar and anthropomorphic creatures. +The tale is filled with allusions to Dodgson's friends (and enemies), and to the lessons that British schoolchildren were expected to memorize. The tale plays with logic in ways that have made the story of lasting popularity with adults as well as children. It is considered to be one of the most characteristic examples of the genre of literary nonsense, and its narrative course and structure has been enormously influential, mainly in the fantasy genre.</dc:description> + <dc:publisher>Macmillan and Co. London</dc:publisher> + <dc:language>eng</dc:language> + <dc:subject>Fantasy</dc:subject> + <dc:subject>Juvenile</dc:subject> + <dc:subject>Fiction</dc:subject> + <meta name="calibre:link_maps" content="{"authors": {"Lewis Carroll": "http://www.wikidata.org/entity/Q38082"}}"/> + <meta name="calibre:rating" content="4"/> + <meta name="calibre:timestamp" content="2012-04-11T12:12:09+00:00"/> + <meta name="calibre:title_sort" content="Alice's Adventures in Wonderland"/> + <meta name="calibre:user_metadata:#type1" content="{"table": "custom_column_3", "column": "value", "datatype": "text", "is_multiple": null, "kind": "field", "name": "Type1", "search_terms": ["#type1"], "label": "type1", "colnum": 3, "display": {"use_decorations": 0}, "is_custom": true, "is_category": true, "link_column": "value", "category_sort": "value", "is_csp": false, "is_editable": true, "rec_index": 22, "#value#": "text", "#extra#": null, "is_multiple2": {}}"/> + <meta name="calibre:user_metadata:#type2" content="{"table": "custom_column_2", "column": "value", "datatype": "text", "is_multiple": "|", "kind": "field", "name": "Type2", "search_terms": ["#type2"], "label": "type2", "colnum": 2, "display": {"is_names": false}, "is_custom": true, "is_category": true, "link_column": "value", "category_sort": "value", "is_csp": false, "is_editable": true, "rec_index": 23, "#value#": ["tag1", "tag2"], "#extra#": null, "is_multiple2": {"cache_to_list": "|", "ui_to_list": ",", "list_to_ui": ", "}}"/> + <meta name="calibre:user_metadata:#type4" content="{"table": "custom_column_1", "column": "value", "datatype": "series", "is_multiple": null, "kind": "field", "name": "Type4", "search_terms": ["#type4"], "label": "type4", "colnum": 1, "display": {}, "is_custom": true, "is_category": true, "link_column": "value", "category_sort": "value", "is_csp": false, "is_editable": true, "rec_index": 24, "#value#": "SeriesLike", "#extra#": 1.0, "is_multiple2": {}}"/> + <meta name="calibre:annotation" content="{"format": "EPUB", "user_type": "local", "user": "viewer", "annotation": {"title": "About #1", "pos_type": "epubcfi", "pos": "epubcfi(/6/2/4/2/6/2:38)", "timestamp": "2024-03-11T11:54:35.128396+00:00", "type": "bookmark"}}"/> + <meta name="calibre:annotation" content="{"format": "EPUB", "user_type": "local", "user": "viewer", "annotation": {"end_cfi": "/2/4/2/2/6/1:24", "highlighted_text": "Charles Lutwidge Dodgson", "notes": "Full author name", "spine_index": 2, "spine_name": "OPS/about.xml", "start_cfi": "/2/4/2/2/6/1:0", "style": {"kind": "color", "type": "builtin", "which": "yellow"}, "timestamp": "2024-03-11T11:53:55.583Z", "toc_family_titles": ["About"], "type": "highlight", "uuid": "5HHGuoCOtpA-umaIbBuc0Q"}}"/> + <meta name="calibre:annotation" content="{"format": "EPUB", "user_type": "local", "user": "viewer", "annotation": {"end_cfi": "/2/4/2/2[chapter_458]/4/2/1:5", "highlighted_text": "Alice", "notes": "Protagonist", "spine_index": 3, "spine_name": "OPS/main0.xml", "start_cfi": "/2/4/2/2[chapter_458]/4/2/1:0", "style": {"kind": "color", "type": "builtin", "which": "yellow"}, "timestamp": "2024-03-11T11:56:52.891Z", "toc_family_titles": ["Chapter 1 - Down the Rabbit Hole"], "type": "highlight", "uuid": "KFGNXVB2Heb53ghsAjVqvQ"}}"/> + <meta name="calibre:annotation" content="{"format": "EPUB", "user_type": "local", "user": "viewer", "annotation": {"end_cfi": "/2/4/2/2/6/1:106", "highlighted_text": "Lewis Carroll", "spine_index": 2, "spine_name": "OPS/about.xml", "start_cfi": "/2/4/2/2/6/1:93", "style": {"kind": "color", "type": "builtin", "which": "yellow"}, "timestamp": "2024-03-11T11:55:32.734Z", "toc_family_titles": ["About"], "type": "highlight", "uuid": "iuGTy-WIXWDinBuszppGwA"}}"/> + <meta name="calibre:annotation" content="{"format": "EPUB", "user_type": "web", "user": "*", "annotation": {"type": "highlight", "timestamp": "2024-03-11T16:24:14.624Z", "uuid": "1ZUnS8Bf4uZGH0hS9JOKGQ", "highlighted_text": "About Carroll", "start_cfi": "/2/4/2/2/2/1:0", "end_cfi": "/2/4/2/2/2/1:13", "style": {"type": "builtin", "kind": "color", "which": "yellow"}, "spine_name": "OPS/about.xml", "spine_index": 2, "notes": "About note", "toc_family_titles": ["About"]}}"/> + </metadata> + <guide> + <reference type="cover" title="Cover" href="cover.jpg"/> + </guide> +</package> diff --git a/vendor/mikespub/php-epub-meta/test/data/nav-non-text_img_title.epub b/vendor/mikespub/php-epub-meta/test/data/nav-non-text_img_title.epub Binary files differnew file mode 100644 index 000000000..0670367e3 --- /dev/null +++ b/vendor/mikespub/php-epub-meta/test/data/nav-non-text_img_title.epub diff --git a/vendor/mikespub/php-epub-meta/test/data/test.epub b/vendor/mikespub/php-epub-meta/test/data/test.epub Binary files differnew file mode 100644 index 000000000..85d60aece --- /dev/null +++ b/vendor/mikespub/php-epub-meta/test/data/test.epub diff --git a/vendor/mikespub/php-epub-meta/test/data/test.jpg b/vendor/mikespub/php-epub-meta/test/data/test.jpg Binary files differnew file mode 100644 index 000000000..4ca4a685c --- /dev/null +++ b/vendor/mikespub/php-epub-meta/test/data/test.jpg |