diff --git a/README.md b/README.md new file mode 100644 index 0000000..0e3ac03 --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# OPDS for EOA + +Examples downloaded from , and . A title feed was at http://www.feedbooks.com/item/2846030.atom + +`textbooks.atom` was manually coded following above examples. It is currently active at http://www.edition-open-access.de/textbooks.atom and can be harvested by programs like [Readium2](https://github.com/readium/readium-desktop/releases). diff --git a/examples/2846030.atom b/examples/2846030.atom new file mode 100644 index 0000000..57e4488 --- /dev/null +++ b/examples/2846030.atom @@ -0,0 +1,34 @@ + + + Driving by Starlight + http://www.feedbooks.com/item/2846030 + urn:ISBN:9781250133434 + + Anat Deracine + http://www.feedbooks.com/search?query=contributor%3A%22Anat+Deracine%22 + + 2018-04-27T07:05:29Z + 2018-05-22T14:01:22Z + en + Henry Holt and Co. (BYR) + 2018-05-21 + In this debut YA friendship story set in Saudi Arabia, two girls navigate typical teen issues—crushes, college, family expectations, future hopes, and dreams.Sixteen-year-olds Leena and Mishie are best friends. They delight in small rebellions aga... + + + + + + + <p><b>In this debut YA friendship story set in Saudi Arabia, two girls navigate typical teen issues—crushes, college, family expectations, future hopes, and dreams.</b>Sixteen-year-olds Leena and Mishie are best friends. They delight in small rebellions against the Saudi cultural police—secret Western clothing, forbidden music, flirtations. But Leena wants college, independence—she wants a different life. Though her story is specific to her world (a world where it's illegal for women to drive, where a ten-year-old boy is the natural choice as guardian of a fatherless woman), ultimately it's a story about friendship, family, and freedom that transcends cultural differences. - GODWIN BOOKS -</p> + + + 8.50 + + + + + + + + + diff --git a/examples/catalog.atom b/examples/catalog.atom new file mode 100644 index 0000000..7221b91 --- /dev/null +++ b/examples/catalog.atom @@ -0,0 +1,61 @@ + + + http://www.feedbooks.com/catalog.atom + Feedbooks + 2018-05-23T08:22:17Z + http://assets2.feedbooks.net/images/favicon.ico?t=1526652313 + + Feedbooks + http://www.feedbooks.com + support@feedbooks.zendesk.com + + + + + + + + + + Best Sellers + + 2018-05-23T08:22:17Z + http://www.feedbooks.com/books/top.atom?range=week + All categories + + + New Releases + + 2018-05-23T08:22:17Z + http://www.feedbooks.com/books/recent.atom + Freshly arrived on Feedbooks + + + Recommended Readings + + 2018-05-23T08:22:17Z + http://www.feedbooks.com/store/selection.atom + Browse through our lists of recommended books + + + Fiction + http://www.feedbooks.com/store/categories/FBFIC000000.atom + + 2018-05-23T08:22:17Z + Literary, Science Fiction, Romance, Thrillers, Fantasy + + + Non-Fiction + http://www.feedbooks.com/store/categories/FBNFC000000.atom + + 2018-05-23T08:22:17Z + Biography & autobiography, Travel, History, Health & fitness, Philosophy + + + Free Books + + 2018-05-23T08:22:17Z + http://www.feedbooks.com/publicdomain/catalog.atom + Free classics and CC-licensed books + + diff --git a/examples/opensearch.xml b/examples/opensearch.xml new file mode 100644 index 0000000..9cb180d --- /dev/null +++ b/examples/opensearch.xml @@ -0,0 +1,14 @@ + + + Feedbooks + Search on Feedbooks + UTF-8 + UTF-8 + http://www.feedbooks.com/favicon.ico + + + + + + + diff --git a/examples/selection.atom b/examples/selection.atom new file mode 100644 index 0000000..5440dad --- /dev/null +++ b/examples/selection.atom @@ -0,0 +1,1521 @@ + + + http://www.feedbooks.com/store/selection.atom + Our Selection + 2018-05-23T08:25:21Z + http://assets3.feedbooks.net/images/favicon.ico?t=1526652313 + + Feedbooks + http://www.feedbooks.com + support@feedbooks.zendesk.com + + + + + + 684 + 50 + + + + + + + + Driving by Starlight + http://www.feedbooks.com/item/2846030 + urn:ISBN:9781250133434 + + Anat Deracine + http://www.feedbooks.com/search?query=contributor%3A%22Anat+Deracine%22 + + 2018-04-27T07:05:29Z + 2018-05-22T14:01:22Z + en + Henry Holt and Co. (BYR) + 2018-05-21 + In this debut YA friendship story set in Saudi Arabia, two girls navigate typical teen issues—crushes, college, family expectations, future hopes, and dreams.Sixteen-year-olds Leena and Mishie are best friends. They delight in small rebellions aga... + + + + + + + + 8.50 + + + + + + + + + MEM + http://www.feedbooks.com/item/2841288 + urn:ISBN:9781944700560 + + Bethany C. Morrow + http://www.feedbooks.com/search?query=contributor%3A%22Bethany+C.+Morrow%22 + + 2018-04-22T20:08:24Z + 2018-05-22T13:52:35Z + en + The Unnamed Press + 2018-05-21 + MEM is a rare novel, a small book carrying very big ideas, the kind of story that stays with you long after you’ve finished reading it. +Set in the glittering art deco world of a century ago, MEM makes one slight alteration to history: a scientist... + + + + + + + + + 24.10 + + + + + + + + + Pay No Heed to the Rockets + http://www.feedbooks.com/item/2849468 + urn:ISBN:9780863569852 + + Marcello Di Cintio + http://www.feedbooks.com/search?query=contributor%3A%22Marcello+Di+Cintio%22 + + 2018-05-02T07:14:38Z + 2018-05-22T14:06:49Z + en + Saqi Books + 2018-05-20 + Across Palestine, from the Allenby Bridge and Ramallah, to Jerusalem and Gaza, Marcello Di Cintio has met with writers, poets, librarians, booksellers and readers, finding extraordinary stories in every corner. Stories of how revolutionary writing... + 224 pages + + + + + + + + 8.91 + + + + + + + + + Towards a Gay Communism + http://www.feedbooks.com/item/2855346 + urn:ISBN:9781786800541 + urn:ISBN:9780745399515 + + Mario Mieli + http://www.feedbooks.com/search?query=contributor%3A%22Mario+Mieli%22 + + 2018-05-12T19:53:50Z + 2018-05-22T14:37:16Z + en + Pluto Press + 2018-05-19 + First published in Italian in 1977, Mario Mieli's groundbreaking book is an early landmark of revolutionary queer theory - now available for the first time in a complete and unabridged English translation. *BR**BR*Among the most important works ev... + 320 pages + + + + + + + + + 29.75 + + + + + + + + + So Lucky + http://www.feedbooks.com/item/2835304 + urn:ISBN:9780374718343 + + Nicola Griffith + http://www.feedbooks.com/search?query=contributor%3A%22Nicola+Griffith%22 + + 2018-04-20T07:25:57Z + 2018-05-23T06:52:56Z + en + Farrar, Straus and Giroux + 2018-05-14 + From the author of Hild, a fierce and urgent autobiographical novel about a woman facing down a formidable foeSo Lucky is the sharp, surprising new novel by Nicola Griffith—the profoundly personal and emphatically political story of a confident wo... + + + + + + + + 7.09 + + + + + + + + + The Blind Spot + http://www.feedbooks.com/item/2580552 + urn:ISBN:9780857056559 + + Javier Cercas + http://www.feedbooks.com/search?query=contributor%3A%22Javier+Cercas%22 + + 2017-11-24T20:16:41Z + 2018-05-12T11:15:12Z + en + MacLehose Press + 2018-05-02 + An essential collection of literary criticism by one of Spain's most acclaimed authorsJavier Cercas is one of the most enjoyable and innovative novelists at work today. Well known among English-language readers as the author of Soldiers of Salamis... + 192 pages + + + + + + + 10.99 + + + + + + + + + Motherhood + http://www.feedbooks.com/item/2740891 + urn:ISBN:9781627790789 + + Sheila Heti + http://www.feedbooks.com/search?query=contributor%3A%22Sheila+Heti%22 + + 2018-04-07T01:31:58Z + 2018-05-21T11:10:08Z + en + Henry Holt and Co. + 2018-04-30 + From the author of How Should a Person Be? (“one of the most talked-about books of the year”—Time Magazine) and the New York Times Bestseller Women in Clothes comes a daring novel about whether to have children.In Motherhood, Sheila Heti asks what... + + + + + + + + 12.76 + + + + + + + + + The Thorn Necklace + http://www.feedbooks.com/item/2508034 + urn:ISBN:9781580057523 + + Francesca Lia Block + http://www.feedbooks.com/search?query=contributor%3A%22Francesca+Lia+Block%22 + + 2017-09-26T23:26:25Z + 2018-05-08T11:28:21Z + en + Seal Press + 2018-04-30 + For devotees of Bird by Bird and The Artist's Way, a memoir-driven guide to healing through the craft of writingFrancesca Lia Block is the bestselling author of more than twenty-five books, including the award-winning Weetzie Bat series. Her writi... + 304 pages + + + + + + + + 10.99 + + + + + + + + + Brother in Ice + http://www.feedbooks.com/item/2540103 + urn:ISBN:9781911508212 + + Alicia Kopf + http://www.feedbooks.com/search?query=contributor%3A%22Alicia+Kopf%22 + + 2017-11-01T04:18:11Z + 2018-05-08T04:06:50Z + en + And Other Stories + 2018-04-22 + ‘She thought that it was precisely when things get uncomfortable or can’t be shown that something interesting comes to light. That is the point of no return, the point that must be reached, the point you reach after crossing the border of what has... + 224 pages + + + + + + + + 8.91 + + + + + + + + + In Our Mad and Furious City + http://www.feedbooks.com/item/2533980 + urn:ISBN:9781472250223 + + Guy Gunaratne + http://www.feedbooks.com/search?query=contributor%3A%22Guy+Gunaratne%22 + + 2017-10-23T19:45:54Z + 2018-05-22T11:50:37Z + en + Tinder Press + 2018-04-18 + 'This is cracking. Original, honest voices and a vivid portrayal of a London rarely seen in literature' Paula HawkinsLonglisted for the 2018 Gordon Burn Prize, IN OUR MAD AND FURIOUS CITY is an unforgettable portrait of 48 hours on a London housin... + 352 pages + + + + + + + + 6.99 + + + + + + + + + Not to Read + http://www.feedbooks.com/item/2786204 + urn:ISBN:9781910695647 + + Alejandro Zambra + http://www.feedbooks.com/search?query=contributor%3A%22Alejandro+Zambra%22 + + 2018-04-13T23:15:35Z + 2018-05-07T10:02:50Z + en + Fitzcarraldo Editions + 2018-04-17 + In Not to Read, Alejandro Zambra outlines his own particular theory of reading that also offers a kind of blurry self-portrait, or literary autobiography. Whether writing about Natalia Ginzburg, typewriters and computers, Paul Léautaud, or how to ... + 288 pages + + + + + + + + 7.72 + + + + + + + + + The View from Flyover Country + http://www.feedbooks.com/item/2702665 + urn:ISBN:9781250189981 + + Sarah Kendzior + http://www.feedbooks.com/search?query=contributor%3A%22Sarah+Kendzior%22 + + 2018-03-23T07:52:26Z + 2018-05-21T11:10:47Z + en + Flatiron Books + 2018-04-16 + NEW YORK TIMES and MIBA BESTSELLERFrom the St. Louis–based journalist often credited with first predicting Donald Trump’s presidential victory."A collection of sharp-edged, humanistic pieces about the American heartland...Passionate pieces that re... + + + + + + + + 7.46 + + + + + + + + + The Comedown + http://www.feedbooks.com/item/2702645 + urn:ISBN:9781250127532 + + Rebekah Frumkin + http://www.feedbooks.com/search?query=contributor%3A%22Rebekah+Frumkin%22 + + 2018-03-23T07:49:09Z + 2018-05-14T06:58:07Z + en + Henry Holt and Co. + 2018-04-16 + A dazzling epic that follows two very different families in Cleveland across generations, beginning with their patriarchs, who become irrevocably intertwined one fateful nightA blistering dark comedy, Rebekah Frumkin's The Comedown is a romp acros... + + + + + + + + 12.76 + + + + + + + + + The Trauma Cleaner + http://www.feedbooks.com/item/2693542 + urn:ISBN:9781250101211 + + Sarah Krasnostein + http://www.feedbooks.com/search?query=contributor%3A%22Sarah+Krasnostein%22 + + 2018-03-19T12:20:39Z + 2018-05-07T07:25:03Z + en + St. Martin's Press + 2018-04-09 + A fascinating, incredible true story about the person who spends her life cleaning up after traumas."Absolutely stunning."—PopSugarBefore she was a trauma cleaner, Sandra Pankhurst was many things: husband and father, drag queen, gender reassignme... + + + + + + + + 12.76 + + + + + + + + + Woman of the Ashes + http://www.feedbooks.com/item/2693539 + urn:ISBN:9780374715663 + + Mia Couto + http://www.feedbooks.com/search?query=contributor%3A%22Mia+Couto%22 + + 2018-03-19T12:19:38Z + 2018-05-07T07:23:55Z + en + Farrar, Straus and Giroux + 2018-04-09 + The first in a trilogy about the last emperor of southern Mozambique by one of Africa’s most important writersSouthern Mozambique, 1894. Sergeant Germano de Melo is posted to the village of Nkokolani to oversee the Portuguese conquest of territory... + + + + + + + + 12.29 + + + + + + + + + Not Here + http://www.feedbooks.com/item/2610477 + urn:ISBN:9781566895194 + + Hieu Nguyen + http://www.feedbooks.com/search?query=contributor%3A%22Hieu+Nguyen%22 + + 2017-12-20T00:31:50Z + 2018-05-21T01:04:19Z + en + Coffee House Press + 2018-04-09 + Not Here is a flight plan for escape and a map for navigating home; a queer Vietnamese American body in confrontation with whiteness, trauma, family, and nostalgia; and a big beating heart of a book. Nguyen’s poems ache with loneliness and desire ... + + + + + + + 16.39 + + + + + + + + + Lust on Trial + http://www.feedbooks.com/item/2591769 + urn:ISBN:9780231547031 + + Amy Werbel + http://www.feedbooks.com/search?query=contributor%3A%22Amy+Werbel%22 + + 2017-12-05T00:57:54Z + 2018-05-15T13:08:18Z + en + Columbia University Press + 2018-04-09 + Anthony Comstock was America’s first professional censor. From 1873 to 1915, as Secretary of the New York Society for the Suppression of Vice, Comstock led a spirited crusade against lasciviousness, salaciousness, and obscenity that resulted in th... + + + + + + + + + 33.76 + + + + + + + + + Downdrift + http://www.feedbooks.com/item/2571664 + urn:ISBN:9781941110621 + + Johanna Drucker + http://www.feedbooks.com/search?query=contributor%3A%22Johanna+Drucker%22 + + 2017-11-18T10:09:42Z + 2018-05-18T04:04:21Z + en + Three Rooms Press + 2018-04-09 + Narrated by an Archaea, a 3.8 billion year old species, the oldest on earth, Downdrift is a work of speculative eco-fiction that describes the impact of ecological pressures on animals that are adopting human behaviors, with droll and sometimes al... + + + + + + + + + 9.64 + + + + + + + + + Sharp + http://www.feedbooks.com/item/2505393 + urn:ISBN:9780802165718 + + Michelle Dean + http://www.feedbooks.com/search?query=contributor%3A%22Michelle+Dean%22 + + 2017-09-24T02:11:29Z + 2018-05-18T08:54:35Z + en + Grove Press + 2018-04-09 + Dorothy Parker, Rebecca West, Hannah Arendt, Mary McCarthy, Susan Sontag, Pauline Kael, Joan Didion, Nora Ephron, Renata Adler, and Janet Malcolm—these brilliant women are the central figures of Sharp. Their lives intertwine as they cut through th... + 384 pages + + + + + + + + 14.47 + + + + + + + + + And Now We Have Everything + http://www.feedbooks.com/item/2487822 + urn:ISBN:9780316393836 + + Meaghan O'Connell + http://www.feedbooks.com/search?query=contributor%3A%22Meaghan+O%27Connell%22 + + 2017-09-05T15:29:38Z + 2018-05-22T19:59:12Z + en + Little, Brown and Company + 2018-04-09 + One of the most anticipated books of 2018 -- Esquire, Elle, Nylon, Huffington Post, The Boston Globe, The Rumpus, GoodReads, The Millions, BookRiot, Bustle, The Week."Smart, funny, and true in all the best ways, this book made me ache with recogni... + 240 pages + + + + + + + + + 9.49 + + + + + + + + + How to eat a peach + http://www.feedbooks.com/item/2556226 + urn:ISBN:9781784724887 + + Diana Henry + http://www.feedbooks.com/search?query=contributor%3A%22Diana+Henry%22 + + 2017-11-11T00:33:16Z + 2018-05-16T12:08:21Z + en + Mitchell Beazley + 2018-04-04 + 'This is an extraordinary piece of food writing, pitch perfect in every way. I couldn't love anyone who didn't love this book.' - Nigella LawsonWhen Diana Henry was sixteen she started a menu notebook (an exercise book carefully covered in wrappin... + 256 pages + + + + + + + + + + 8.99 + + + + + + + + + Whirlaway + http://www.feedbooks.com/item/2707778 + urn:ISBN:9780998825700 + + Poe Ballantine + http://www.feedbooks.com/search?query=contributor%3A%22Poe+Ballantine%22 + + 2018-03-31T03:11:37Z + 2018-05-07T10:52:22Z + en + Hawthorne Books + 2018-04-02 + Since the publication of Love and Terror on the Howling Plains of Nowhere, with an introduction by Cheryl Strayed, legions of Poe Ballantine fans have been waiting for his new book. + + + +Poe Ballantine is touted as the most "under known" writer by T... + + + + + + + + 16.35 + + + + + + + + + Look Alive Out There + http://www.feedbooks.com/item/2688549 + urn:ISBN:9780374711801 + + Sloane Crosley + http://www.feedbooks.com/search?query=contributor%3A%22Sloane+Crosley%22 + + 2018-03-09T08:19:26Z + 2018-04-19T13:47:24Z + en + Farrar, Straus and Giroux + 2018-04-02 + Sloane Crosley returns to the form that made her a household name in really quite a lot of households: Essays!From the New York Times–bestselling author Sloane Crosley comes Look Alive Out There—a brand-new collection of essays filled with her tra... + + + + + + + + 12.29 + + + + + + + + + The Science of Roman History + http://www.feedbooks.com/item/2538177 + urn:ISBN:9781400889730 + 2017-10-31T04:06:01Z + 2018-05-20T16:48:12Z + en + Princeton University Press + 2018-04-02 + This groundbreaking book provides the first comprehensive look at how the latest advances in the sciences are transforming our understanding of ancient Roman history. Walter Scheidel brings together leading historians, anthropologists, and genetic... + 280 pages + + + + + + + + + 39.27 + + + + + + + + + Asking for a Friend + http://www.feedbooks.com/item/2487968 + urn:ISBN:9781568585352 + + Jessica Weisberg + http://www.feedbooks.com/search?query=contributor%3A%22Jessica+Weisberg%22 + + 2017-09-05T19:27:25Z + 2018-04-13T15:13:22Z + en + Nation Books + 2018-04-02 + A delightful history of Americans' obsession with advice--from Poor Richard to Dr. Spock to Miss MannersAmericans, for all our talk of pulling ourselves up by our bootstraps, obsessively seek advice on matters large and small. Perhaps precisely be... + 320 pages + + + + + + + + 10.99 + + + + + + + + + The Frighteners + http://www.feedbooks.com/item/2601989 + urn:ISBN:9781785782213 + urn:ISBN:9781785782206 + + Peter Laws + http://www.feedbooks.com/search?query=contributor%3A%22Peter+Laws%22 + + 2017-12-13T08:03:01Z + 2018-04-28T14:17:13Z + en + Icon Books Ltd + 2018-03-21 + The Frighteners follows the quest of Peter Laws, a Baptist minister with a penchant for the macabre, to understand why so many people love things that are spooky, morbid and downright repellent. He meets vampires, hunts werewolves in Hull, talks ... + + + + + + + + 14.27 + + + + + + + + + Arkady + http://www.feedbooks.com/item/2654615 + urn:ISBN:9781910695524 + + Patrick Langley + http://www.feedbooks.com/search?query=contributor%3A%22Patrick+Langley%22 + + 2018-02-14T14:13:20Z + 2018-04-23T09:04:31Z + en + Fitzcarraldo Editions + 2018-03-20 + Brothers Jackson and Frank live on the margins of a big urban sprawl. From abandoned tower blocks to gleaming skyscrapers, their city is brutal, beautiful and divided. As anti-government protests erupt across the teeming metropolis, the brothers ... + 200 pages + + + + + + + + 7.72 + + + + + + + + + Tyler Johnson Was Here + http://www.feedbooks.com/item/2684322 + urn:ISBN:9780316440783 + + Jay Coles + http://www.feedbooks.com/search?query=contributor%3A%22Jay+Coles%22 + + 2018-03-02T18:07:27Z + 2018-05-22T19:48:43Z + en + Little, Brown Books for Young Readers + 2018-03-19 + A young man searches for answers after the death of his brother at the hands of police in this striking debut novel, for readers of The Hate U Give.When Marvin Johnson's twin, Tyler, goes to a party, Marvin decides to tag along to keep an eye on h... + 304 pages + + + + + + + + + + 6.99 + + + + + + + + + The Gunners + http://www.feedbooks.com/item/2535860 + urn:ISBN:9781640090705 + + Rebecca Kauffman + http://www.feedbooks.com/search?query=contributor%3A%22Rebecca+Kauffman%22 + + 2017-10-26T16:05:03Z + 2018-05-23T04:05:49Z + en + Counterpoint + 2018-03-14 + "I recommend you read every single thing Rebecca Kauffman writes—start with this beautiful novel, +and start now." —Julie Buntin, author of Marlena + +Following on her wonderfully received first novel, Another Place You’ve Never Been, called "mesmeri... + + + + + + + + 25.07 + + + + + + + + + Whiskey + http://www.feedbooks.com/item/2655415 + urn:ISBN:9780374716387 + + Bruce Holbert + http://www.feedbooks.com/search?query=contributor%3A%22Bruce+Holbert%22 + + 2018-02-16T08:34:41Z + 2018-05-07T07:26:28Z + en + Farrar, Straus and Giroux + 2018-03-12 + Whiskey burns pleasantly as it goes down, but has a lasting, powerful effect. Brothers Andre and Smoker were raised in a cauldron of their parents’ failed marriage and appetite for destruction, and find themselves in the same straits as adults—nav... + + + + + + + + 12.29 + + + + + + + + + The Merry Spinster + http://www.feedbooks.com/item/2655393 + urn:ISBN:9781250113436 + + Mallory Ortberg + http://www.feedbooks.com/search?query=contributor%3A%22Mallory+Ortberg%22 + + 2018-02-16T08:33:26Z + 2018-04-30T07:08:50Z + en + Henry Holt and Co. + 2018-03-12 + A collection of darkly playful stories based on classic folk and fairy tales (but with a feminist spin) that find the sinister in the familiar and the familiar in the alien—from Mallory Ortberg, author of Texts From Jane Eyre.From Mallory Ortberg ... + + + + + + + + + + 8.03 + + + + + + + + + Camp Austen + http://www.feedbooks.com/item/2652575 + urn:ISBN:9780374712341 + + Ted Scheinman + http://www.feedbooks.com/search?query=contributor%3A%22Ted+Scheinman%22 + + 2018-02-09T08:02:27Z + 2018-04-08T22:09:44Z + en + Farrar, Straus and Giroux + 2018-03-05 + A raucous tour through the world of Mr. Darcy imitations, tailored gowns, and tipsy ballroom dancingThe son of a devoted Jane Austen scholar, Ted Scheinman spent his childhood summers eating Yorkshire pudding, singing in an Anglican choir, and wat... + + + + + + + 7.09 + + + + + + + + + Tomb Song + http://www.feedbooks.com/item/2652541 + urn:ISBN:9781555979898 + + Julián Herbert + http://www.feedbooks.com/search?query=contributor%3A%22Juli%C3%A1n+Herbert%22 + + 2018-02-09T07:59:45Z + 2018-04-30T07:08:14Z + en + Graywolf Press + 2018-03-05 + An incandescent new voice from Mexico, for readers of Ben Lerner and Rachel CuskSitting at the bedside of his mother as she is dying from leukemia in a hospital in northern Mexico, the narrator of Tomb Song is immersed in memories of his unstable... + + + + + + + + 7.09 + + + + + + + + + Girls Burn Brighter + http://www.feedbooks.com/item/2580469 + urn:ISBN:9780349006857 + + Shobha Rao + http://www.feedbooks.com/search?query=contributor%3A%22Shobha+Rao%22 + + 2017-11-24T20:05:22Z + 2018-05-16T11:22:26Z + en + Fleet + 2018-03-05 + 'A treat for Ferrante fans, exploring the bonds of friendship and how female ambition beats against the strictures of poverty and patriarchal societies' Huffington PostAn electrifying debut novel - the story of the unbreakable bond between two gir... + 320 pages + + + + + + + + 9.99 + + + + + + + + + The House of Broken Angels + http://www.feedbooks.com/item/2559589 + urn:ISBN:9780316516259 + + Luis Alberto Urrea + http://www.feedbooks.com/search?query=contributor%3A%22Luis+Alberto+Urrea%22 + + 2017-11-14T16:38:28Z + 2018-05-15T20:17:05Z + en + Little, Brown and Company + 2018-03-05 + NATIONAL BESTSELLER * From a Pulitzer Prize finalist comes a powerful and unforgettable portrait of one Mexican American family and the American dream. "Epic . . . Rambunctious . . . Highly entertaining." --New York Times Book Review"A raucous, mo... + 368 pages + + + + + + + + 9.49 + + + + + + + + + Barbed Wire Heart + http://www.feedbooks.com/item/2478256 + urn:ISBN:9781538744109 + + Tess Sharpe + http://www.feedbooks.com/search?query=contributor%3A%22Tess+Sharpe%22 + + 2017-08-22T23:05:50Z + 2018-05-01T19:26:33Z + en + Grand Central Publishing + 2018-03-05 + The daughter of a meth kingpin faces the most difficult choice of her life--family loyalty, or freedom. Set in a harsh and insular rural community reminiscent of Winter's Bone, Tess Sharpe's powerful debut BARBED WIRE HEART is a breathtaking "ball... + 416 pages + + + + + + + + 9.49 + + + + + + + + + Orbán + http://www.feedbooks.com/item/2657979 + urn:ISBN:9780190911591 + + Paul Lendvai + http://www.feedbooks.com/search?query=contributor%3A%22Paul+Lendvai%22 + + 2018-02-23T00:25:06Z + 2018-04-10T15:49:04Z + en + Oxford University Press + 2018-02-28 + A no-holds-barred biography of Hungarian Prime Minister Viktor Orbán, who has become a pivotal figure in European politics since 2010, this is the first English- language study of the erstwhile anti-communist rebel turned populist autocrat. Throug... + + + + + + + + + + 23.14 + + + + + + + + + Sabers and Utopias + http://www.feedbooks.com/item/2648535 + urn:ISBN:9780374708917 + + Mario Vargas Llosa + http://www.feedbooks.com/search?query=contributor%3A%22Mario+Vargas+Llosa%22 + + 2018-02-02T08:52:14Z + 2018-04-08T21:47:13Z + en + Farrar, Straus and Giroux + 2018-02-26 + A landmark collection of essays on the Nobel laureate’s conception of Latin America, past, present, and futureThroughout his career, the Nobel Prize winner Mario Vargas Llosa has grappled with the concept of Latin America on a global stage. Examin... + + + + + + + + 13.24 + + + + + + + + + The Neighborhood + http://www.feedbooks.com/item/2648534 + urn:ISBN:9780374716134 + + Mario Vargas Llosa + http://www.feedbooks.com/search?query=contributor%3A%22Mario+Vargas+Llosa%22 + + 2018-02-02T08:51:54Z + 2018-05-04T15:54:49Z + en + Farrar, Straus and Giroux + 2018-02-26 + A thrilling tale of desire and Peruvian corruption swirls around a scandalous exposé that leads to murderFrom the Nobel Laureate comes a politically charged detective novel weaving through the underbelly of Peruvian privilege. In the 1990s, during... + + + + + + + + 12.29 + + + + + + + + + The Rise of Yeast + http://www.feedbooks.com/item/2655120 + urn:ISBN:9780191066634 + + Nicholas P. Money + http://www.feedbooks.com/search?query=contributor%3A%22Nicholas+P.+Money%22 + + 2018-02-15T20:15:18Z + 2018-03-14T16:23:21Z + en + OUP Oxford + 2018-02-21 + From breakfast toast to evening wine, yeast is the microscopic thing that we cannot live without. We knew what yeast did as an invisible brewer and baker long before we had a clue about the existence of microorganisms. Ten thousand years ago, our ... + 240 pages + + + + + + + + 16.39 + + + + + + + + + What Are We Doing Here? + http://www.feedbooks.com/item/2645071 + urn:ISBN:9780374717780 + + Marilynne Robinson + http://www.feedbooks.com/search?query=contributor%3A%22Marilynne+Robinson%22 + + 2018-01-29T08:17:43Z + 2018-04-08T22:07:05Z + en + Farrar, Straus and Giroux + 2018-02-19 + New essays on theological, political, and contemporary themes, by the Pulitzer Prize winnerMarilynne Robinson has plumbed the human spirit in her renowned novels, including Lila, winner of the National Book Critics Circle Award, and Gilead, winner... + + + + + + + + 12.76 + + + + + + + + + A Dangerous Woman + http://www.feedbooks.com/item/2645061 + urn:ISBN:9781250092229 + + Susan Ronald + http://www.feedbooks.com/search?query=contributor%3A%22Susan+Ronald%22 + + 2018-01-29T08:14:41Z + 2018-05-07T07:21:53Z + en + St. Martin's Press + 2018-02-19 + A revealing biography of Florence Gould, fabulously wealthy socialite and patron of the arts, who hid a dark past as a Nazi collaborator in 1940’s Paris.Born in turn-of-the-century San Francisco to French parents, Florence moved to Paris, aged ele... + + + + + + + + 13.23 + + + + + + + + + Eloquent Rage + http://www.feedbooks.com/item/2645060 + urn:ISBN:9781250112897 + + Brittney Cooper + http://www.feedbooks.com/search?query=contributor%3A%22Brittney+Cooper%22 + + 2018-01-29T08:13:53Z + 2018-05-07T07:21:09Z + en + St. Martin's Press + 2018-02-19 + Roxane Gay: "I encourage you to check out Eloquent Rage out now."Joy Reid, Cosmopolitan: "A dissertation on black women’s pain and possibility."Damon Young: "Like watching the world’s best Baptist preacher but with sermons about intersectionality ... + + + + + + + + + 12.28 + + + + + + + + + The Last Wilderness + http://www.feedbooks.com/item/2351381 + urn:ISBN:9781472247131 + + Neil Ansell + http://www.feedbooks.com/search?query=contributor%3A%22Neil+Ansell%22 + + 2017-05-31T05:11:47Z + 2018-03-08T21:32:19Z + en + Tinder Press + 2018-02-07 + Neil Ansell's THE LAST WILDERNESS is a mesmerising book on nature and solitude by a writer who has spent his lifetime taking solitary ventures into the wild. For any readers of the author's previous book, DEEP COUNTRY, Robert Macfarlane's THE OLD... + 288 pages + + + + + + + + 9.99 + + + + + + + + + Black Girl Baking + http://www.feedbooks.com/item/2644252 + urn:ISBN:9781624145131 + + Jerrelle Guy + http://www.feedbooks.com/search?query=contributor%3A%22Jerrelle+Guy%22 + + 2018-01-27T01:44:59Z + 2018-04-08T21:38:14Z + en + Page Street Publishing + 2018-02-05 + "Black Girl Baking has a rhythm and a realness to it." - Carla Hall, Chef and television personalityInvigorating and Creative Recipes to Ignite Your SensesFor Jerrelle Guy, food has always been what has shaped her—her body, her character, her expe... + + + + + + + + 10.39 + + + + + + + + + The Kings of Big Spring + http://www.feedbooks.com/item/2644246 + urn:ISBN:9781250058935 + + Bryan Mealer + http://www.feedbooks.com/search?query=contributor%3A%22Bryan+Mealer%22 + + 2018-01-27T01:43:03Z + 2018-04-08T21:16:36Z + en + Flatiron Books + 2018-02-05 + "Think of it as a Texas version of Hillbilly Elegy."— Bryan Burrough, New York Times bestselling author of THE BIG RICH and BARBARIANS AT THE GATE"Bryan Mealer has given us a brilliant, and brilliantly entertaining, portrayal of family, and a burs... + + + + + + + + 13.23 + + + + + + + + + Between Harlem and Heaven + http://www.feedbooks.com/item/2644239 + urn:ISBN:9781250139375 + + Alexander Smalls + http://www.feedbooks.com/search?query=contributor%3A%22Alexander+Smalls%22 + + + Jj Johnson + http://www.feedbooks.com/search?query=contributor%3A%22Jj+Johnson%22 + + + Veronica Chambers + http://www.feedbooks.com/search?query=contributor%3A%22Veronica+Chambers%22 + + 2018-01-27T01:40:53Z + 2018-04-08T20:59:41Z + en + Flatiron Books + 2018-02-05 + “Between Harlem and Heaven presents a captivatingly original cuisine. Afro-Asian-American cooking is packed with unique and delicious layers of flavor. These stories and recipes lay praise to the immense influence the African Diaspora has had on g... + + + + + + + + 17.73 + + + + + + + + + Surveillance Valley + http://www.feedbooks.com/item/2478193 + urn:ISBN:9781610398039 + + Yasha Levine + http://www.feedbooks.com/search?query=contributor%3A%22Yasha+Levine%22 + + 2017-08-22T19:01:57Z + 2018-04-17T15:09:38Z + en + PublicAffairs + 2018-02-05 + The internet is the most effective weapon the government has ever built.In this fascinating book, investigative reporter Yasha Levine uncovers the secret origins of the internet, tracing it back to a Pentagon counterinsurgency surveillance project... + 384 pages + + + + + + + + 10.99 + + + + + + + + + The Wicked Cometh + http://www.feedbooks.com/item/2350884 + urn:ISBN:9781473661417 + + Laura Carlin + http://www.feedbooks.com/search?query=contributor%3A%22Laura+Carlin%22 + + 2017-05-30T14:58:21Z + 2018-05-14T23:17:45Z + en + Hodder & Stoughton + 2018-01-31 + 'We have no need to protect ourselves from the bad sort because WE are the bad sort . . .' 'Beguiling' Stylist*********Down the murky alleyways of London, acts of unspeakable wickedness are taking place and the city's vulnerable poor are disappear... + 352 pages + + + + + + + + 5.49 + + + + + + + + + Theory of Shadows + http://www.feedbooks.com/item/2595179 + urn:ISBN:9780374715915 + + Paolo Maurensig + http://www.feedbooks.com/search?query=contributor%3A%22Paolo+Maurensig%22 + + 2017-12-08T08:12:18Z + 2018-05-07T07:25:59Z + en + Farrar, Straus and Giroux + 2018-01-15 + The strange circumstances surrounding the death of the world chess champion and alleged Nazi collaborator Alexander Alekhine, as investigated by a literary grand masterOn the morning of March 24, 1946, the world chess champion Alexander Alekhine—“... + + + + + + + + 10.87 + + + + + + + + diff --git a/textbooks.atom b/textbooks.atom new file mode 100644 index 0000000..a355d0b --- /dev/null +++ b/textbooks.atom @@ -0,0 +1,104 @@ + + + http://www.edition-open-access.de/textbooks.atom + MPRL Textbooks + 2018-05-23T08:25:21Z + http://edition-open-access.de/media/favicon.ico + + Edition Open Access + http://www.edition-open-access.de + eoa@mpiwg-berlin.mpg.de + + + + Non-Isothermal Kinetic Methods + http://www.edition-open-access.de/textbooks/1/index.html + urn:ISBN:9783945561171 + + Igor V. Arhangel`skii + http://edition-open-access.de/author/16.html + + + Alexander V. Dunaev + http://edition-open-access.de/author/17.html + + + Irina V. Makarenko + http://edition-open-access.de/author/18.html + + + Nikolay. A. Tikhonov + http://edition-open-access.de/author/19.html + + + Andrey V. Tarasov + http://edition-open-access.de/author/20.html + + 2013-04-24T07:05:29Z + 2018-05-22T14:01:22Z + en + Edition Open Access + 2018-05-21 + In the modern world of ever-advancing technologies, actual tests of products and processes are more and more often preceded, if not replaced, by computer modeling. This saves the time and resources required for actual tests, and enables a better understanding of processes that occur in the course of tests. Preliminary computer modeling favors prudent planning of experiments. Calculations in thermal analysis are used everywhere, for example, in estimating the efficiency of thermal insulation of pipelines and in estimating the critical overheating conditions for some chemical substances under which their decomposition, self-heating, explosion, and so forth, occurs. This methodical manual focuses on a small aspect of calculations in thermal analysis dealing with constructing kinetic models from thermogravimetry and differential scanning calorimetry experimental data. + + + + + + + 3.70 + + + + + + + + + Algebra in Cuneiform + http://www.edition-open-access.de/textbooks/2/index.html + urn:ISBN:9783945561157 + + Jens Høyrup + http://edition-open-access.de/author/46.html + + 2017-12-08T07:05:29Z + 2018-05-22T14:01:22Z + en + Edition Open Access + 2018-05-21 + This textbook analyzes a number of texts in “conformal translation,” that is, a translation in which the same Babylonian term is always translated in the same way and, more importantly, in which different terms are always translated differently. Appendixes are provided for readers who are familiar with basic Assyriology but otherwise philological details are avoided. All of these texts are from the second half of the Old Babylonian period, that is, 1800–1600 BCE. It is indeed during this period that the “algebraic” discipline, and Babylonian mathematics in general, culminates. Even though a few texts from the late period show some similarities with what comes from the Old Babylonian period, they are but remnants. Beyond analyzing texts, the book gives a general characterization of the kind of mathematics involved, and locates it within the context of the Old Babylonian scribe school and its particular culture. Finally, it describes the origin of the discipline and its impact in later mathematics, not least Euclid’s geometry and genuine algebra as created in medieval Islam and taken over in European medieval and Renaissance mathematics. + + + + + + + 6.80 + + + + + + + + diff --git a/validators/atom.rnc b/validators/atom.rnc new file mode 100644 index 0000000..9c993d1 --- /dev/null +++ b/validators/atom.rnc @@ -0,0 +1,263 @@ +# -*- rnc -*- +# RELAX NG Compact Syntax Grammar for the +# Atom Format Specification Version 11 + +namespace atom = "http://www.w3.org/2005/Atom" +namespace local = "" +namespace s = "http://www.ascc.net/xml/schematron" +namespace xhtml = "http://www.w3.org/1999/xhtml" + +start = atomFeed | atomEntry +# Common attributes +atomCommonAttributes = + attribute xml:base { atomUri }?, + attribute xml:lang { atomLanguageTag }?, + undefinedAttribute* +# Text Constructs +atomPlainTextConstruct = + atomCommonAttributes, + attribute type { "text" | "html" }?, + text +atomXHTMLTextConstruct = + atomCommonAttributes, + attribute type { "xhtml" }, + xhtmlDiv +atomTextConstruct = atomPlainTextConstruct | atomXHTMLTextConstruct +# Person Construct +atomPersonConstruct = + atomCommonAttributes, + (element atom:name { text } + & element atom:uri { atomUri }? + & element atom:email { atomEmailAddress }? + & extensionElement*) +# Date Construct +atomDateConstruct = atomCommonAttributes, xsd:dateTime +# atom:feed +atomFeed = + [ + s:rule [ + context = "atom:feed" + "\x{a}" ~ + " " + s:assert [ + test = "atom:author or not(atom:entry[not(atom:author)])" + "An atom:feed must have an atom:author unless all of its atom:entry children have an atom:author." + ] + "\x{a}" ~ + " " + ] + ] + element atom:feed { + atomCommonAttributes, + (atomAuthor* + & atomCategory* + & atomContributor* + & atomGenerator? + & atomIcon? + & atomId + & atomLink* + & atomLogo? + & atomRights? + & atomSubtitle? + & atomTitle + & atomUpdated + & extensionElement*), + atomEntry* + } +# atom:entry +atomEntry = + [ + s:rule [ + context = "atom:entry" + "\x{a}" ~ + " " + s:assert [ + test = + "atom:link[@rel='alternate'] or atom:link[not(@rel)] or atom:content" + "An atom:entry must have at least one atom:link element with a rel attribute of 'alternate' or an atom:content." + ] + "\x{a}" ~ + " " + ] + s:rule [ + context = "atom:entry" + "\x{a}" ~ + " " + s:assert [ + test = + "atom:author or ../atom:author or atom:source/atom:author" + "An atom:entry must have an atom:author if its feed does not." + ] + "\x{a}" ~ + " " + ] + ] + element atom:entry { + atomCommonAttributes, + (atomAuthor* + & atomCategory* + & atomContent? + & atomContributor* + & atomId + & atomLink* + & atomPublished? + & atomRights? + & atomSource? + & atomSummary? + & atomTitle + & atomUpdated + & extensionElement*) + } +# atom:content +atomInlineTextContent = + element atom:content { + atomCommonAttributes, + attribute type { "text" | "html" }?, + text* + } +atomInlineXHTMLContent = + element atom:content { + atomCommonAttributes, + attribute type { "xhtml" }, + xhtmlDiv + } +atomInlineOtherContent = + element atom:content { + atomCommonAttributes, + attribute type { atomMediaType }?, + (text | anyElement)* + } +atomOutOfLineContent = + element atom:content { + atomCommonAttributes, + attribute type { atomMediaType }?, + attribute src { atomUri }, + empty + } +atomContent = + atomInlineTextContent + | atomInlineXHTMLContent + | atomInlineOtherContent + | atomOutOfLineContent +# atom:author +atomAuthor = element atom:author { atomPersonConstruct } +# atom:category +atomCategory = + element atom:category { + atomCommonAttributes, + attribute term { text }, + attribute scheme { atomUri }?, + attribute label { text }?, + undefinedContent + } +# atom:contributor +atomContributor = element atom:contributor { atomPersonConstruct } +# atom:generator +atomGenerator = + element atom:generator { + atomCommonAttributes, + attribute uri { atomUri }?, + attribute version { text }?, + text + } +# atom:icon +atomIcon = element atom:icon { atomCommonAttributes, atomUri } +# atom:id +atomId = element atom:id { atomCommonAttributes, atomUri } +# atom:logo +atomLogo = element atom:logo { atomCommonAttributes, atomUri } +# atom:link +atomLink = + element atom:link { + atomCommonAttributes, + attribute href { atomUri }, + attribute rel { atomNCName | atomUri }?, + attribute type { atomMediaType }?, + attribute hreflang { atomLanguageTag }?, + attribute title { text }?, + attribute length { text }?, + undefinedContent + } +# atom:published +atomPublished = element atom:published { atomDateConstruct } +# atom:rights +atomRights = element atom:rights { atomTextConstruct } +# atom:source +atomSource = + element atom:source { + atomCommonAttributes, + (atomAuthor* + & atomCategory* + & atomContributor* + & atomGenerator? + & atomIcon? + & atomId? + & atomLink* + & atomLogo? + & atomRights? + & atomSubtitle? + & atomTitle? + & atomUpdated? + & extensionElement*) + } +# atom:subtitle +atomSubtitle = element atom:subtitle { atomTextConstruct } +# atom:summary +atomSummary = element atom:summary { atomTextConstruct } +# atom:title +atomTitle = element atom:title { atomTextConstruct } +# atom:updated +atomUpdated = element atom:updated { atomDateConstruct } +# Low-level simple types +atomNCName = xsd:string { minLength = "1" pattern = "[^:]*" } +# Whatever a media type is, it contains at least one slash +atomMediaType = xsd:string { pattern = ".+/.+" } +# As defined in RFC 3066 +atomLanguageTag = + xsd:string { pattern = "[A-Za-z]{1,8}(-[A-Za-z0-9]{1,8})*" } +# Unconstrained; it's not entirely clear how IRI fit into +# xsd:anyURI so let's not try to constrain it here +atomUri = text +# Whatever an email address is, it contains at least one @ +atomEmailAddress = xsd:string { pattern = ".+@.+" } +# Simple Extension +simpleExtensionElement = element * - atom:* { text } +# Structured Extension +structuredExtensionElement = + element * - atom:* { + (attribute * { text }+, + (text | anyElement)*) + | (attribute * { text }*, + (text?, anyElement+, (text | anyElement)*)) + } +# Other Extensibility +extensionElement = simpleExtensionElement | structuredExtensionElement +undefinedAttribute = + attribute * - (xml:base | xml:lang | local:*) { text } +undefinedContent = (text | anyForeignElement)* +anyElement = + element * { + (attribute * { text } + | text + | anyElement)* + } +anyForeignElement = + element * - atom:* { + (attribute * { text } + | text + | anyElement)* + } +# XHTML +anyXHTML = + element xhtml:* { + (attribute * { text } + | text + | anyXHTML)* + } +xhtmlDiv = + element xhtml:div { + (attribute * { text } + | text + | anyXHTML)* + } +# EOF diff --git a/validators/opds_catalog.rnc b/validators/opds_catalog.rnc new file mode 100644 index 0000000..bdd29bf --- /dev/null +++ b/validators/opds_catalog.rnc @@ -0,0 +1,149 @@ +# -*- rnc -*- +# RELAX NG Compact Syntax Grammar for OPDS Catalog Feed & Entry Documents +# Version 2010-08-18 +namespace atom = "http://www.w3.org/2005/Atom" +namespace opds = "http://opds-spec.org/2010/catalog" +namespace local = "" + +# The OPDS Catalog spec extends Atom (RFC4287), and the additions require some +# patterns not used in the Atom schema. The first is atomUriExceptOPDS, which +# is used to describe an atomLink whose rel value is an atomNCName (no-colon +# name) or any URI other than these from OPDS Catalogs. In these cases, no +# opds:price element should appear. +atomUriExceptOPDS = string - ( string "http://opds-spec.org/acquisition/buy" + | string "http://opds-spec.org/acquisition/borrow" + | string "http://opds-spec.org/acquisition/subscribe" + | string "http://opds-spec.org/acquisition/sample" ) + +# Next is OPDSUrisExceptBuy, which is used to describe an atomLink whose +# rel value is from OPDS Catalogs but is not ".../acquisition/buy". In such +# cases, an opds:price element is optional. +OPDSUrisExceptBuy = string "http://opds-spec.org/acquisition/borrow" + | string "http://opds-spec.org/acquisition/subscribe" + | string "http://opds-spec.org/acquisition/sample" + +# To simplify OPDS Catalog validation, we do not use Schematron to assert that +# any atom:link with a rel value of ".../acquisition/buy" must be accompanied +# by one or more opds:price elements. +# Instead we rely on Relax NG to describe one of three situations: +# - the rel value is ".../acquisition/buy" and at least one opds:price element +# is required +# - the rel value is ".../acquisition/borrow" or ".../acquisition/subscribe" or +# ".../acquisition/sample", in case opds:price elements may be +# included; or +# - the value of the rel attribute is any other URI or an Atom-defined no-colon +# name, and no opds:price element is permitted + +# Note that this OPDS Catalog schema includes atom.rnc, so that schema must be +# present for validation. +# +# Note also that atom.rnc defines atomUri as text and not as xsd:anyURI, and so +# wherever the Atom spec requires an IRI, the schema will not check the value +# against any URI pattern or logic. The OPDS Catalog schema overrides atom.rnc +# to provide a relatively accurate test. With the approval of XSD 1.1, the +# schema definition should change to xsd:anyURI to match what the spec text +# says. +include "atom.rnc" { + +undefinedAttribute = + attribute * - (xml:base | xml:lang | local:*| opds:* ) { text } + + atomLink = + element atom:link { + atomCommonAttributes , + attribute href { atomUri }, + attribute type { atomMediaType }? , + attribute hreflang { atomLanguageTag }? , + attribute title { text }? , + attribute length { text }? , + ((attribute rel { "http://opds-spec.org/facet" }, (attribute + opds:facetGroup { text }? & attribute opds:activeFacet { "true" }? )) + | + (attribute rel { "http://opds-spec.org/acquisition/buy" }, opdsPrice+ ) + | + (attribute rel { OPDSUrisExceptBuy }, opdsPrice*) + | + (attribute rel { atomNCName | ( atomUriExceptOPDS ) } ))? , + (opdsIndirectAcquisition | + anyOPDSForeignElement | + text)* + } + +# Here is where OPDS Catalogs use John Cowan's pragmatic evaluation of an +# IRI. This modifies xsd:anyURI in XSD 1.0 to exclude ASCII characters not +# valid in 1.1 or IRI's without being escaped. This matches the OPDS and Atom +# specs, but not the non-normative atom.rnc. + atomUri = xsd:anyURI - xsd:string {pattern = '.*[ <>{}|^`"\nrt].*'} + +# Here we override Atom to account for HTML abuse in the summary element, +# restricting it in OPDS Catalog to text: + atomSummary = + element atom:summary { + atomCommonAttributes, + attribute type { "text" }?, + text + } + } + + anyOPDSForeignElement = + element * - ( atom:* | opds:* ) { + ( attribute * { text } + | text + | anyElement )* + } + +# An opds:indirectAcquisition should use strictly MIME media type for +#its type attribute + opdsIndirectAcquisition = + element opds:indirectAcquisition { + atomCommonAttributes, + attribute type { atomMediaType }, + ( anyOPDSForeignElement | + opdsIndirectAcquisition) * + } + +# An opds:price element should not contain a currency symbol; it is +# restricted to non-negative decimal numbers. + opdsPrice = + element opds:price { + atomCommonAttributes, + attribute currencycode { opdsPriceCurrencyCode }, + xsd:decimal { minInclusive="0.0" } + } + + +# Instead of allowing every possible 3-letter or 3-digit combination as a +# currency code, here the permissible codes (as identified in ISO4217 as of +# 2010-08-25) are enumerated. In 2012 or so, that standard may add, remove or +# change some currency codes, thus requiring this schema to be updated. Note +# that codes for metals and funds are not included. + opdsPriceCurrencyCode = ( + "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | + "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYR" | "BZD" | + "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | + "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EEK" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | + "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | + "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | + "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LVL" | "LYD" | + "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | + "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | + "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | + "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | + "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "USS" | "UYI" | "UYU" | "UZS" | + "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | + "XFU" | "XOF" | "XPD" | "XPF" | "XPT" | "XTS" | "XXX" | "YER" | "ZAR" | "ZMK" | "ZWL" | "008" | "012" | + "032" | "036" | "044" | "048" | "050" | "051" | "052" | "060" | "064" | "068" | "072" | "084" | "090" | + "096" | "104" | "108" | "116" | "124" | "132" | "136" | "144" | "152" | "156" | "170" | "174" | "188" | + "191" | "192" | "203" | "208" | "214" | "222" | "230" | "232" | "233" | "238" | "242" | "262" | "270" | + "292" | "320" | "324" | "328" | "332" | "340" | "344" | "348" | "352" | "356" | "360" | "364" | "368" | + "376" | "388" | "392" | "398" | "400" | "404" | "408" | "410" | "414" | "417" | "418" | "422" | "426" | + "428" | "430" | "434" | "440" | "446" | "454" | "458" | "462" | "478" | "480" | "484" | "496" | "498" | + "504" | "512" | "516" | "524" | "532" | "533" | "548" | "554" | "558" | "566" | "578" | "586" | "590" | + "598" | "600" | "604" | "608" | "634" | "643" | "646" | "654" | "678" | "682" | "690" | "694" | "702" | + "704" | "706" | "710" | "748" | "752" | "756" | "760" | "764" | "776" | "780" | "784" | "788" | "800" | + "807" | "818" | "826" | "834" | "840" | "858" | "860" | "882" | "886" | "894" | "901" | "931" | "932" | + "934" | "936" | "937" | "938" | "940" | "941" | "943" | "944" | "946" | "947" | "948" | "949" | "950" | + "951" | "952" | "953" | "955" | "956" | "957" | "958" | "959" | "960" | "961" | "962" | "963" | "964" | + "968" | "969" | "970" | "971" | "972" | "973" | "974" | "975" | "976" | "977" | "978" | "979" | "980" | + "981" | "984" | "985" | "986" | "990" | "997" | "998" | "999" + ) \ No newline at end of file