summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorlnu <lnu@f70e237a-67f3-0310-a06c-d2b8a7116972>2005-03-31 22:08:32 +0000
committerlnu <lnu@f70e237a-67f3-0310-a06c-d2b8a7116972>2005-03-31 22:08:32 +0000
commit16ec9aba7e94e628f22bcaeb3ecdd7916f3a3df5 (patch)
treefcee2e08574f55e141eeea3cb2747a4a80c04d89 /test
parent94c2f3339fbe18700fcc057367784d04bb2a76d9 (diff)
downloadfeed2imap-16ec9aba7e94e628f22bcaeb3ecdd7916f3a3df5.tar.gz
feed2imap-16ec9aba7e94e628f22bcaeb3ecdd7916f3a3df5.tar.bz2
feed2imap-16ec9aba7e94e628f22bcaeb3ecdd7916f3a3df5.zip
first import
git-svn-id: svn+ssh://svn.gna.org/svn/feed2imap/trunk/feed2imap@5 f70e237a-67f3-0310-a06c-d2b8a7116972
Diffstat (limited to 'test')
-rw-r--r--test/parserdata/atom_iso_blogger.com.output146
-rw-r--r--test/parserdata/atom_iso_blogger.com.xml237
-rw-r--r--test/parserdata/atom_utf8_bouil.output151
-rw-r--r--test/parserdata/atom_utf8_bouil.xml60
-rw-r--r--test/parserdata/atom_utf8_bouil_2.xml60
-rw-r--r--test/parserdata/rss091_utf8_dirtyhtml_advogato.output170
-rw-r--r--test/parserdata/rss091_utf8_dirtyhtml_advogato.xml145
-rw-r--r--test/parserdata/rss1_iso_text_guillaume.output183
-rw-r--r--test/parserdata/rss1_iso_text_guillaume.xml182
-rw-r--r--test/parserdata/rss1_utf8_html_dotclear1.2.output115
-rw-r--r--test/parserdata/rss1_utf8_html_dotclear1.2.xml161
-rw-r--r--test/parserdata/rss1_utf8_html_planet.output1747
-rw-r--r--test/parserdata/rss1_utf8_html_planet.xml1665
-rw-r--r--test/parserdata/rss1prefixed_utf8_html_wordpress.output559
-rw-r--r--test/parserdata/rss1prefixed_utf8_html_wordpress.xml131
-rw-r--r--test/parserdata/rss2_iso_text_linuxfr.output301
-rw-r--r--test/parserdata/rss2_iso_text_linuxfr.xml351
-rw-r--r--test/parserdata/rss2_utf8_html_jroller.output120
-rw-r--r--test/parserdata/rss2_utf8_html_jroller.xml137
-rw-r--r--test/parserdata/rss2_utf8_html_wordpress.output173
-rw-r--r--test/parserdata/rss2_utf8_html_wordpress.xml273
-rw-r--r--test/parserdata/rss2_utf8_mediawiki.xml130
-rwxr-xr-xtest/tc_cache.rb78
-rwxr-xr-xtest/tc_channel_parse.rb96
-rwxr-xr-xtest/tc_config.rb48
-rwxr-xr-xtest/tc_converters_html2text.rb26
-rwxr-xr-xtest/tc_converters_text2html.rb37
-rwxr-xr-xtest/tc_converters_toutf8.rb32
-rwxr-xr-xtest/tc_mail.rb15
-rwxr-xr-xtest/tc_parser.rb31
-rwxr-xr-xtest/ts_feed2imap.rb12
31 files changed, 7572 insertions, 0 deletions
diff --git a/test/parserdata/atom_iso_blogger.com.output b/test/parserdata/atom_iso_blogger.com.output
new file mode 100644
index 0000000..bd3d287
--- /dev/null
+++ b/test/parserdata/atom_iso_blogger.com.output
@@ -0,0 +1,146 @@
+Title: How to learn Swedish in 1000 difficult lessons
+Link: http://francisstrand.blogspot.com
+
+--------------------------------
+Title: I haven't worked as a waiter in 20 years. But, I s...
+Link: http://francisstrand.blogspot.com/2005_02_01_francisstrand_archive.html#110891316347631263
+Date: Sun Feb 20 15:12:00 UTC 2005
+Creator: Francis S.
+Subject:
+Category:
+Content:
+<div xmlns='http://www.w3.org/1999/xhtml'>I haven't worked as a waiter in 20 years. But, I still have waiter dreams. Like last night, when I dreamt I was serving three tables full of people - girls ordering vodka and frangelico, and a guy ordering some strange drink with caraway seeds and eggs - and I couldn't get the drinks out fast enough, and then the bowls for the soup were strangely shaped like fish with knobs sticking out in</div>
+--------------------------------
+Title: The Christian right has it all wrong. The biggest ...
+Link: http://francisstrand.blogspot.com/2005_02_01_francisstrand_archive.html#110881460852845422
+Date: Sat Feb 19 11:47:00 UTC 2005
+Creator: Francis S.
+Subject:
+Category:
+Content:
+<div xmlns='http://www.w3.org/1999/xhtml'>The Christian right has it all wrong. The biggest threat to the heterosexual lifestyle is not the widespread practice of numberless girly-men like myself marrying each other, it's the widespread practice of numberless girly-men convincing their straight counterparts that depilation is a good thing.
+
+"Doesn't everyone shave their balls? Hairy balls are disgusting!" said our badboy boarder, sitting</div>
+--------------------------------
+Title: Swedes have an interesting attitude about fame: It...
+Link: http://francisstrand.blogspot.com/2005_02_01_francisstrand_archive.html#110866570797106926
+Date: Thu Feb 17 17:16:00 UTC 2005
+Creator: Francis S.
+Subject:
+Category:
+Content:
+<div xmlns='http://www.w3.org/1999/xhtml'>Swedes have an interesting attitude about fame: It's not a good thing, more or less. (Not unlike being a boss, which is also nothing to aspire to in Sweden. It all has to do with that damn jante-law thing wherein no one is better than anyone else, supposedly.)
+
+As an American, it comes as a shock to see popular rockstars, TV actresses, duchesses, best-selling novelists or beloved comedians walking</div>
+--------------------------------
+Title: I'm nothing if not inconsistent as I sigh to mysel...
+Link: http://francisstrand.blogspot.com/2005_02_01_francisstrand_archive.html#110857886294587237
+Date: Wed Feb 16 18:20:00 UTC 2005
+Creator: Francis S.
+Subject:
+Category:
+Content:
+<div xmlns='http://www.w3.org/1999/xhtml'>I'm nothing if not inconsistent as I sigh to myself that at last, Stockholm has a good thick coating of snow, nearly a foot. Despite my whining about spring being far away, I'm quite childish in that I still like my winters to be snowy. So much so that I'll even go out of my way as I walk home at 6 p.m. just to meander through Humlegården, the park that surrounds the royal library, to be cast</div>
+--------------------------------
+Title: If you let it, preparing food can be a kind of rit...
+Link: http://francisstrand.blogspot.com/2005_02_01_francisstrand_archive.html#110830364436372083
+Date: Sun Feb 13 13:32:00 UTC 2005
+Creator: Francis S.
+Subject:
+Category:
+Content:
+<div xmlns='http://www.w3.org/1999/xhtml'>If you let it, preparing food can be a kind of rite, a connection to all the people who ever prepared and ate food before you.
+
+You should start by taking the corn husks from the bag - cutting the knotted piece of cornhusk that was used to tie the back shut - then pick through them and choose 12 that seem large enough or maybe just please you for no particular reason. It seems a bit cruel to have</div>
+--------------------------------
+Title: The third Mr. Marilyn Monroe has died. I never car...
+Link: http://francisstrand.blogspot.com/2005_02_01_francisstrand_archive.html#110813853022847337
+Date: Fri Feb 11 16:01:00 UTC 2005
+Creator: Francis S.
+Subject:
+Category:
+Content:
+<div xmlns='http://www.w3.org/1999/xhtml'>The third Mr. Marilyn Monroe has died. I never cared much for the few plays of his that I've seen. But, he was one the guys who stood up to Joe McCarthy, and that counts for a lot. Even more, he was married to Norma Jean Baker, and that's really something.
+
+The Swedish phrase for the day is Men pappa, du vet att jag vet att det finns ingen jultomte!. Which is what a little boy walking behind me</div>
+--------------------------------
+Title: On the train back from Västerås today, the woman s...
+Link: http://francisstrand.blogspot.com/2005_02_01_francisstrand_archive.html#110798306689444133
+Date: Wed Feb 09 20:57:26 UTC 2005
+Creator: Francis S.
+Subject:
+Category:
+Content:
+<div xmlns='http://www.w3.org/1999/xhtml'>On the train back from Västerås today, the woman sitting in front of me - probably 70 - carefully set herself down and delicately patted her hair, as if every strand weren't already carefully shellacked into place, instantly bringing back memories of my mother when I was boy, when she would go and get her hair set.
+
+Does anyone other than 70-year-old women in purple overcoats get their hair set</div>
+--------------------------------
+Title: Damn the policeman! He was over here yesterday wit...
+Link: http://francisstrand.blogspot.com/2005_02_01_francisstrand_archive.html#110772950120432261
+Date: Sun Feb 06 22:02:59 UTC 2005
+Creator: Francis S.
+Subject:
+Category:
+Content:
+<div xmlns='http://www.w3.org/1999/xhtml'>Damn the policeman! He was over here yesterday with the priest and their daughter, Signe, and he played this Jimmy Durante song for me and now I can't get it out of my head.
+
+"I'll never forget the day I read a book.
+It was contagious. Seventy pages.
+There were pictures here and there, so it wasn't hard to bear,
+the day I read a book.
+It's a shame I don't recall the name of the book. </div>
+--------------------------------
+Title: Seen from the No. 42 bus at 6:38 p.m.: two women t...
+Link: http://francisstrand.blogspot.com/2005_02_01_francisstrand_archive.html#110754086264840445
+Date: Fri Feb 04 18:03:22 UTC 2005
+Creator: Francis S.
+Subject:
+Category:
+Content:
+<div xmlns='http://www.w3.org/1999/xhtml'>Seen from the No. 42 bus at 6:38 p.m.: two women tanking up their car at the gas station on the corner of Kungstensgatan and Birger Jarlsgatan (I think I read somewhere that it's the oldest gas station in Stockholm); one is dressed in a bathrobe and slippers and appears to be wearing nothing underneath as she stands chatting with the other, who is dressed in typical parka, jeans and boots.
+
+The</div>
+--------------------------------
+Title: Worst Swedish translation of a movie title: Måndag...
+Link: http://francisstrand.blogspot.com/2005_02_01_francisstrand_archive.html#110737053062078594
+Date: Wed Feb 02 18:44:06 UTC 2005
+Creator: Francis S.
+Subject:
+Category:
+Content:
+<div xmlns='http://www.w3.org/1999/xhtml'>Worst Swedish translation of a movie title: Måndag Hela Veckan - which means Monday the Whole Week - for the movie Groundhog Day.
+
+To be fair, I guess it was hard to come up with something that would make sense to the average Swede because oddly enough, groundhog day is not mentioned on any Swedish calendars.
+
+Now, off to watch my favorite holiday movie ever.
+
+(Isn't Bill Murray great? Even</div>
+--------------------------------
+Title: When travelling to far-flung places, Paul Bowles i...
+Link: http://francisstrand.blogspot.com/2005_02_01_francisstrand_archive.html#110729837186269731
+Date: Tue Feb 01 22:28:20 UTC 2005
+Creator: Francis S.
+Subject:
+Category:
+Content:
+<div xmlns='http://www.w3.org/1999/xhtml'>When travelling to far-flung places, Paul Bowles is perhaps not your best choice for reading material. It's easy to become suspicious of even the generous and trustworthy Thai people or the horrendously poor Cambodians if you're spending your evenings reading short stories that feature hapless westerners faced with strange cultures that they invariably fail to understand or worse, misread so</div>
+--------------------------------
+Title: I feel like Sally Field: "You like me!" It's all o...
+Link: http://francisstrand.blogspot.com/2005_02_01_francisstrand_archive.html#110729416292608355
+Date: Tue Feb 01 21:13:15 UTC 2005
+Creator: Francis S.
+Subject:
+Category:
+Content:
+<div xmlns='http://www.w3.org/1999/xhtml'>I feel like Sally Field: "You like me!" It's all on account of a Satin Pajama Award for best writing, my second blog award since I started this whole writing project. Thanks, David Weman and the rest of the folks at Fistful of Euros. And kudoses to Mike M., who won two awards, and to Torill, who won one, and to those - Mig and Zoe and Des and Mr. H, Stefan, for instance - who should've won as</div>
+--------------------------------
+Title: Talking on the phone today with the former punk ro...
+Link: http://francisstrand.blogspot.com/2005_01_01_francisstrand_archive.html#110718583766750698
+Date: Mon Jan 31 16:28:39 UTC 2005
+Creator: Francis S.
+Subject:
+Category:
+Content:
+<div xmlns='http://www.w3.org/1999/xhtml'>Talking on the phone today with the former punk rockstar, who has been homebound for over a week suffering with a flu that won't seem to go away, she told me that she has had it with television. The only thing on anymore are these horrible reality shows, she told me.
+
+"Pretty soon there's going to be a new kind of psychological syndrome and a whole group of people suffering from it," she said.</div>
diff --git a/test/parserdata/atom_iso_blogger.com.xml b/test/parserdata/atom_iso_blogger.com.xml
new file mode 100644
index 0000000..177b9b4
--- /dev/null
+++ b/test/parserdata/atom_iso_blogger.com.xml
@@ -0,0 +1,237 @@
+<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
+<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
+
+<feed version="0.3" xml:lang="en-US" xmlns="http://purl.org/atom/ns#">
+<link href="http://www.blogger.com/atom/3101023" rel="service.post" title="How to learn Swedish in 1000 difficult lessons" type="application/atom+xml"/>
+<link href="http://www.blogger.com/atom/3101023" rel="service.feed" title="How to learn Swedish in 1000 difficult lessons" type="application/atom+xml"/>
+<title mode="escaped" type="text/html">How to learn Swedish in 1000 difficult lessons</title>
+<tagline mode="escaped" type="text/html">by Francis Strand</tagline>
+<link href="http://francisstrand.blogspot.com" rel="alternate" title="How to learn Swedish in 1000 difficult lessons" type="text/html"/>
+<id>tag:blogger.com,1999:blog-3101023</id>
+<modified>2005-02-20T15:26:05Z</modified>
+<generator url="http://www.blogger.com/" version="5.15">Blogger</generator>
+<info mode="xml" type="text/html">
+<div xmlns="http://www.w3.org/1999/xhtml">This is an Atom formatted XML site feed. It is intended to be viewed in a Newsreader or syndicated to another site. Please visit the <a href="http://help.blogger.com/bin/answer.py?answer=697">Blogger Help</a> for more info.</div>
+</info>
+<entry xmlns="http://purl.org/atom/ns#">
+<link href="http://www.blogger.com/atom/3101023/110891316347631263" rel="service.edit" title="I haven't worked as a waiter in 20 years. But, I s..." type="application/atom+xml"/>
+<author>
+<name>Francis S.</name>
+</author>
+<issued>2005-02-20T16:12:00+01:00</issued>
+<modified>2005-02-20T15:26:03Z</modified>
+<created>2005-02-20T15:26:03Z</created>
+<link href="http://francisstrand.blogspot.com/2005_02_01_francisstrand_archive.html#110891316347631263" rel="alternate" title="I haven't worked as a waiter in 20 years. But, I s..." type="text/html"/>
+<id>tag:blogger.com,1999:blog-3101023.post-110891316347631263</id>
+<title mode="escaped" type="text/html">I haven't worked as a waiter in 20 years. But, I s...</title>
+<summary type="application/xhtml+xml" xml:base="http://francisstrand.blogspot.com" xml:space="preserve">
+<div xmlns="http://www.w3.org/1999/xhtml">I haven't worked as a waiter in 20 years. But, I still have waiter dreams. Like last night, when I dreamt I was serving three tables full of people - girls ordering vodka and frangelico, and a guy ordering some strange drink with caraway seeds and eggs - and I couldn't get the drinks out fast enough, and then the bowls for the soup were strangely shaped like fish with knobs sticking out in</div>
+</summary>
+</entry>
+<entry xmlns="http://purl.org/atom/ns#">
+<link href="http://www.blogger.com/atom/3101023/110881460852845422" rel="service.edit" title="The Christian right has it all wrong. The biggest ..." type="application/atom+xml"/>
+<author>
+<name>Francis S.</name>
+</author>
+<issued>2005-02-19T12:47:00+01:00</issued>
+<modified>2005-02-19T15:28:07Z</modified>
+<created>2005-02-19T12:03:28Z</created>
+<link href="http://francisstrand.blogspot.com/2005_02_01_francisstrand_archive.html#110881460852845422" rel="alternate" title="The Christian right has it all wrong. The biggest ..." type="text/html"/>
+<id>tag:blogger.com,1999:blog-3101023.post-110881460852845422</id>
+<title mode="escaped" type="text/html">The Christian right has it all wrong. The biggest ...</title>
+<summary type="application/xhtml+xml" xml:base="http://francisstrand.blogspot.com" xml:space="preserve">
+<div xmlns="http://www.w3.org/1999/xhtml">The Christian right has it all wrong. The biggest threat to the heterosexual lifestyle is not the widespread practice of numberless girly-men like myself marrying each other, it's the widespread practice of numberless girly-men convincing their straight counterparts that depilation is a good thing.
+
+"Doesn't everyone shave their balls? Hairy balls are disgusting!" said our badboy boarder, sitting</div>
+</summary>
+</entry>
+<entry xmlns="http://purl.org/atom/ns#">
+<link href="http://www.blogger.com/atom/3101023/110866570797106926" rel="service.edit" title="Swedes have an interesting attitude about fame: It..." type="application/atom+xml"/>
+<author>
+<name>Francis S.</name>
+</author>
+<issued>2005-02-17T18:16:00+01:00</issued>
+<modified>2005-02-17T18:47:26Z</modified>
+<created>2005-02-17T18:41:47Z</created>
+<link href="http://francisstrand.blogspot.com/2005_02_01_francisstrand_archive.html#110866570797106926" rel="alternate" title="Swedes have an interesting attitude about fame: It..." type="text/html"/>
+<id>tag:blogger.com,1999:blog-3101023.post-110866570797106926</id>
+<title mode="escaped" type="text/html">Swedes have an interesting attitude about fame: It...</title>
+<summary type="application/xhtml+xml" xml:base="http://francisstrand.blogspot.com" xml:space="preserve">
+<div xmlns="http://www.w3.org/1999/xhtml">Swedes have an interesting attitude about fame: It's not a good thing, more or less. (Not unlike being a boss, which is also nothing to aspire to in Sweden. It all has to do with that damn jante-law thing wherein no one is better than anyone else, supposedly.)
+
+As an American, it comes as a shock to see popular rockstars, TV actresses, duchesses, best-selling novelists or beloved comedians walking</div>
+</summary>
+</entry>
+<entry xmlns="http://purl.org/atom/ns#">
+<link href="http://www.blogger.com/atom/3101023/110857886294587237" rel="service.edit" title="I'm nothing if not inconsistent as I sigh to mysel..." type="application/atom+xml"/>
+<author>
+<name>Francis S.</name>
+</author>
+<issued>2005-02-16T19:20:00+01:00</issued>
+<modified>2005-02-16T18:34:22Z</modified>
+<created>2005-02-16T18:34:22Z</created>
+<link href="http://francisstrand.blogspot.com/2005_02_01_francisstrand_archive.html#110857886294587237" rel="alternate" title="I'm nothing if not inconsistent as I sigh to mysel..." type="text/html"/>
+<id>tag:blogger.com,1999:blog-3101023.post-110857886294587237</id>
+<title mode="escaped" type="text/html">I'm nothing if not inconsistent as I sigh to mysel...</title>
+<summary type="application/xhtml+xml" xml:base="http://francisstrand.blogspot.com" xml:space="preserve">
+<div xmlns="http://www.w3.org/1999/xhtml">I'm nothing if not inconsistent as I sigh to myself that at last, Stockholm has a good thick coating of snow, nearly a foot. Despite my whining about spring being far away, I'm quite childish in that I still like my winters to be snowy. So much so that I'll even go out of my way as I walk home at 6 p.m. just to meander through Humlegården, the park that surrounds the royal library, to be cast</div>
+</summary>
+</entry>
+<entry xmlns="http://purl.org/atom/ns#">
+<link href="http://www.blogger.com/atom/3101023/110830364436372083" rel="service.edit" title="If you let it, preparing food can be a kind of rit..." type="application/atom+xml"/>
+<author>
+<name>Francis S.</name>
+</author>
+<issued>2005-02-13T14:32:00+01:00</issued>
+<modified>2005-02-14T11:34:02Z</modified>
+<created>2005-02-13T14:07:24Z</created>
+<link href="http://francisstrand.blogspot.com/2005_02_01_francisstrand_archive.html#110830364436372083" rel="alternate" title="If you let it, preparing food can be a kind of rit..." type="text/html"/>
+<id>tag:blogger.com,1999:blog-3101023.post-110830364436372083</id>
+<title mode="escaped" type="text/html">If you let it, preparing food can be a kind of rit...</title>
+<summary type="application/xhtml+xml" xml:base="http://francisstrand.blogspot.com" xml:space="preserve">
+<div xmlns="http://www.w3.org/1999/xhtml">If you let it, preparing food can be a kind of rite, a connection to all the people who ever prepared and ate food before you.
+
+You should start by taking the corn husks from the bag - cutting the knotted piece of cornhusk that was used to tie the back shut - then pick through them and choose 12 that seem large enough or maybe just please you for no particular reason. It seems a bit cruel to have</div>
+</summary>
+</entry>
+<entry xmlns="http://purl.org/atom/ns#">
+<link href="http://www.blogger.com/atom/3101023/110813853022847337" rel="service.edit" title="The third Mr. Marilyn Monroe has died. I never car..." type="application/atom+xml"/>
+<author>
+<name>Francis S.</name>
+</author>
+<issued>2005-02-11T17:01:00+01:00</issued>
+<modified>2005-02-11T16:15:30Z</modified>
+<created>2005-02-11T16:15:30Z</created>
+<link href="http://francisstrand.blogspot.com/2005_02_01_francisstrand_archive.html#110813853022847337" rel="alternate" title="The third Mr. Marilyn Monroe has died. I never car..." type="text/html"/>
+<id>tag:blogger.com,1999:blog-3101023.post-110813853022847337</id>
+<title mode="escaped" type="text/html">The third Mr. Marilyn Monroe has died. I never car...</title>
+<summary type="application/xhtml+xml" xml:base="http://francisstrand.blogspot.com" xml:space="preserve">
+<div xmlns="http://www.w3.org/1999/xhtml">The third Mr. Marilyn Monroe has died. I never cared much for the few plays of his that I've seen. But, he was one the guys who stood up to Joe McCarthy, and that counts for a lot. Even more, he was married to Norma Jean Baker, and that's really something.
+
+The Swedish phrase for the day is Men pappa, du vet att jag vet att det finns ingen jultomte!. Which is what a little boy walking behind me</div>
+</summary>
+</entry>
+<entry xmlns="http://purl.org/atom/ns#">
+<link href="http://www.blogger.com/atom/3101023/110798306689444133" rel="service.edit" title="On the train back from Västerås today, the woman s..." type="application/atom+xml"/>
+<author>
+<name>Francis S.</name>
+</author>
+<issued>2005-02-09T21:57:26+01:00</issued>
+<modified>2005-02-09T21:04:26Z</modified>
+<created>2005-02-09T21:04:26Z</created>
+<link href="http://francisstrand.blogspot.com/2005_02_01_francisstrand_archive.html#110798306689444133" rel="alternate" title="On the train back from Västerås today, the woman s..." type="text/html"/>
+<id>tag:blogger.com,1999:blog-3101023.post-110798306689444133</id>
+<title mode="escaped" type="text/html">On the train back from Västerås today, the woman s...</title>
+<summary type="application/xhtml+xml" xml:base="http://francisstrand.blogspot.com" xml:space="preserve">
+<div xmlns="http://www.w3.org/1999/xhtml">On the train back from Västerås today, the woman sitting in front of me - probably 70 - carefully set herself down and delicately patted her hair, as if every strand weren't already carefully shellacked into place, instantly bringing back memories of my mother when I was boy, when she would go and get her hair set.
+
+Does anyone other than 70-year-old women in purple overcoats get their hair set</div>
+</summary>
+</entry>
+<entry xmlns="http://purl.org/atom/ns#">
+<link href="http://www.blogger.com/atom/3101023/110772950120432261" rel="service.edit" title="Damn the policeman! He was over here yesterday wit..." type="application/atom+xml"/>
+<author>
+<name>Francis S.</name>
+</author>
+<issued>2005-02-06T23:02:59+01:00</issued>
+<modified>2005-02-07T09:43:59Z</modified>
+<created>2005-02-06T22:38:21Z</created>
+<link href="http://francisstrand.blogspot.com/2005_02_01_francisstrand_archive.html#110772950120432261" rel="alternate" title="Damn the policeman! He was over here yesterday wit..." type="text/html"/>
+<id>tag:blogger.com,1999:blog-3101023.post-110772950120432261</id>
+<title mode="escaped" type="text/html">Damn the policeman! He was over here yesterday wit...</title>
+<summary type="application/xhtml+xml" xml:base="http://francisstrand.blogspot.com" xml:space="preserve">
+<div xmlns="http://www.w3.org/1999/xhtml">Damn the policeman! He was over here yesterday with the priest and their daughter, Signe, and he played this Jimmy Durante song for me and now I can't get it out of my head.
+
+"I'll never forget the day I read a book.
+It was contagious. Seventy pages.
+There were pictures here and there, so it wasn't hard to bear,
+the day I read a book.
+It's a shame I don't recall the name of the book. </div>
+</summary>
+</entry>
+<entry xmlns="http://purl.org/atom/ns#">
+<link href="http://www.blogger.com/atom/3101023/110754086264840445" rel="service.edit" title="Seen from the No. 42 bus at 6:38 p.m.: two women t..." type="application/atom+xml"/>
+<author>
+<name>Francis S.</name>
+</author>
+<issued>2005-02-04T19:03:22+01:00</issued>
+<modified>2005-02-04T18:14:22Z</modified>
+<created>2005-02-04T18:14:22Z</created>
+<link href="http://francisstrand.blogspot.com/2005_02_01_francisstrand_archive.html#110754086264840445" rel="alternate" title="Seen from the No. 42 bus at 6:38 p.m.: two women t..." type="text/html"/>
+<id>tag:blogger.com,1999:blog-3101023.post-110754086264840445</id>
+<title mode="escaped" type="text/html">Seen from the No. 42 bus at 6:38 p.m.: two women t...</title>
+<summary type="application/xhtml+xml" xml:base="http://francisstrand.blogspot.com" xml:space="preserve">
+<div xmlns="http://www.w3.org/1999/xhtml">Seen from the No. 42 bus at 6:38 p.m.: two women tanking up their car at the gas station on the corner of Kungstensgatan and Birger Jarlsgatan (I think I read somewhere that it's the oldest gas station in Stockholm); one is dressed in a bathrobe and slippers and appears to be wearing nothing underneath as she stands chatting with the other, who is dressed in typical parka, jeans and boots.
+
+The</div>
+</summary>
+</entry>
+<entry xmlns="http://purl.org/atom/ns#">
+<link href="http://www.blogger.com/atom/3101023/110737053062078594" rel="service.edit" title="Worst Swedish translation of a movie title: Måndag..." type="application/atom+xml"/>
+<author>
+<name>Francis S.</name>
+</author>
+<issued>2005-02-02T19:44:06+01:00</issued>
+<modified>2005-02-02T19:00:06Z</modified>
+<created>2005-02-02T18:55:30Z</created>
+<link href="http://francisstrand.blogspot.com/2005_02_01_francisstrand_archive.html#110737053062078594" rel="alternate" title="Worst Swedish translation of a movie title: Måndag..." type="text/html"/>
+<id>tag:blogger.com,1999:blog-3101023.post-110737053062078594</id>
+<title mode="escaped" type="text/html">Worst Swedish translation of a movie title: Måndag...</title>
+<summary type="application/xhtml+xml" xml:base="http://francisstrand.blogspot.com" xml:space="preserve">
+<div xmlns="http://www.w3.org/1999/xhtml">Worst Swedish translation of a movie title: Måndag Hela Veckan - which means Monday the Whole Week - for the movie Groundhog Day.
+
+To be fair, I guess it was hard to come up with something that would make sense to the average Swede because oddly enough, groundhog day is not mentioned on any Swedish calendars.
+
+Now, off to watch my favorite holiday movie ever.
+
+(Isn't Bill Murray great? Even</div>
+</summary>
+</entry>
+<entry xmlns="http://purl.org/atom/ns#">
+<link href="http://www.blogger.com/atom/3101023/110729837186269731" rel="service.edit" title="When travelling to far-flung places, Paul Bowles i..." type="application/atom+xml"/>
+<author>
+<name>Francis S.</name>
+</author>
+<issued>2005-02-01T23:28:20+01:00</issued>
+<modified>2005-02-01T22:53:20Z</modified>
+<created>2005-02-01T22:52:51Z</created>
+<link href="http://francisstrand.blogspot.com/2005_02_01_francisstrand_archive.html#110729837186269731" rel="alternate" title="When travelling to far-flung places, Paul Bowles i..." type="text/html"/>
+<id>tag:blogger.com,1999:blog-3101023.post-110729837186269731</id>
+<title mode="escaped" type="text/html">When travelling to far-flung places, Paul Bowles i...</title>
+<summary type="application/xhtml+xml" xml:base="http://francisstrand.blogspot.com" xml:space="preserve">
+<div xmlns="http://www.w3.org/1999/xhtml">When travelling to far-flung places, Paul Bowles is perhaps not your best choice for reading material. It's easy to become suspicious of even the generous and trustworthy Thai people or the horrendously poor Cambodians if you're spending your evenings reading short stories that feature hapless westerners faced with strange cultures that they invariably fail to understand or worse, misread so</div>
+</summary>
+</entry>
+<entry xmlns="http://purl.org/atom/ns#">
+<link href="http://www.blogger.com/atom/3101023/110729416292608355" rel="service.edit" title="I feel like Sally Field: &quot;You like me!&quot; It's all o..." type="application/atom+xml"/>
+<author>
+<name>Francis S.</name>
+</author>
+<issued>2005-02-01T22:13:15+01:00</issued>
+<modified>2005-02-02T18:30:15Z</modified>
+<created>2005-02-01T21:42:42Z</created>
+<link href="http://francisstrand.blogspot.com/2005_02_01_francisstrand_archive.html#110729416292608355" rel="alternate" title="I feel like Sally Field: &quot;You like me!&quot; It's all o..." type="text/html"/>
+<id>tag:blogger.com,1999:blog-3101023.post-110729416292608355</id>
+<title mode="escaped" type="text/html">I feel like Sally Field: "You like me!" It's all o...</title>
+<summary type="application/xhtml+xml" xml:base="http://francisstrand.blogspot.com" xml:space="preserve">
+<div xmlns="http://www.w3.org/1999/xhtml">I feel like Sally Field: "You like me!" It's all on account of a Satin Pajama Award for best writing, my second blog award since I started this whole writing project. Thanks, David Weman and the rest of the folks at Fistful of Euros. And kudoses to Mike M., who won two awards, and to Torill, who won one, and to those - Mig and Zoe and Des and Mr. H, Stefan, for instance - who should've won as</div>
+</summary>
+</entry>
+<entry xmlns="http://purl.org/atom/ns#">
+<link href="http://www.blogger.com/atom/3101023/110718583766750698" rel="service.edit" title="Talking on the phone today with the former punk ro..." type="application/atom+xml"/>
+<author>
+<name>Francis S.</name>
+</author>
+<issued>2005-01-31T17:28:39+01:00</issued>
+<modified>2005-01-31T15:37:39Z</modified>
+<created>2005-01-31T15:37:17Z</created>
+<link href="http://francisstrand.blogspot.com/2005_01_01_francisstrand_archive.html#110718583766750698" rel="alternate" title="Talking on the phone today with the former punk ro..." type="text/html"/>
+<id>tag:blogger.com,1999:blog-3101023.post-110718583766750698</id>
+<title mode="escaped" type="text/html">Talking on the phone today with the former punk ro...</title>
+<summary type="application/xhtml+xml" xml:base="http://francisstrand.blogspot.com" xml:space="preserve">
+<div xmlns="http://www.w3.org/1999/xhtml">Talking on the phone today with the former punk rockstar, who has been homebound for over a week suffering with a flu that won't seem to go away, she told me that she has had it with television. The only thing on anymore are these horrible reality shows, she told me.
+
+"Pretty soon there's going to be a new kind of psychological syndrome and a whole group of people suffering from it," she said.</div>
+</summary>
+</entry>
+</feed>
diff --git a/test/parserdata/atom_utf8_bouil.output b/test/parserdata/atom_utf8_bouil.output
new file mode 100644
index 0000000..af6d8d0
--- /dev/null
+++ b/test/parserdata/atom_utf8_bouil.output
@@ -0,0 +1,151 @@
+Title: Le Joueb de Bouil (La reta 5ournalo de Buj)
+Link: http://www.bouil.org/joueb/blog.html
+
+--------------------------------
+Title: Portable Linux
+Link: http://www.bouil.org/joueb/entree.html?id=10
+Date: Wed Feb 16 09:33:41 UTC 2005
+Creator: Bouil
+Subject:
+Category:
+Content:
+<body xmlns="http://www.w3.org/1999/xhtml"><p>Eh oui, c'est possible. Sur <a href="http://www.materiel.net">Materiel.net</a>, on trouve le même portable, un MSI MegaBook, avec deux déclinaisons différentes. La <a href="http://www.materiel.net/details_M510APM735LINUX.html">première</a>, avec Mandrake 10 préinstallée, coûte 1 498,99 ¬ TTC. La <a href="http://www.materiel.net/details_M510APM735.html">seconde</a>, avec Windows XP Professionel, est facturée 1 599,00 ¬ TTC. Une différence qui n'est pas négligeable, surtout que pour ce prix, on peut se payer <a href="http://www.materiel.net/details_SODDR333DAN512.html">une extension mémoire</a>. Et cela donne également une idée du montant de la <a href="http://www.linux-center.org/detaxe/">taxe Microsoft</a>.</p></body>
+--------------------------------
+Title: Europe et Afrique
+Link: http://www.bouil.org/joueb/entree.html?id=9
+Date: Tue Feb 08 12:57:03 UTC 2005
+Creator: Bouil
+Subject:
+Category:
+Content:
+<body xmlns="http://www.w3.org/1999/xhtml"><p>Dans le dernier numéro du <em>Monde Diplomatique</em>, un article titré <q>Ces accords que Bruxelles impose à l'Afrique</q> a attiré mon attention (février 2005, page 10).</p>
+
+
+<p>En effet, depuis une quizaine d'années l'Union Européenne conclue des accords commerciaux avec les pays d'Afrique, nommés <acronym title="Accord de Partenariat Économique Régional">APER</acronym>. Au delà du contenu de ces accords, sur lequel l'article insiste, il est important de souligner le cas de la langue utilisé pour les accords. En effet, <q>la Commission, négociateur unique au nom des États membres, en a imposé la langue <a href="...">...</a>. Les documents sont rédigés en anglais, et les discussion ont lieu dans cette langue</q>. Or, la majorité de ces pays a le français comme langue véhiculaire , sinon comme langue officielle (20 pays sur 48 États africains). Ces négociations en anglais entrainent des diffultés pour les diplomates francophones, qui mettent du temps à avoir les traduction des documents dans les délais afin d'en avoir connaissance avant le début des négociations&#160;! Pourtant, le francais est une langue officielle de l'Union Européenne.</p>
+
+
+<p>Heureusement, l'Europe est <q>unie dans sa diversité</q> (devise de l'<acronym title="Union Européenne">UE</acronym>) et <q cite="http://www.europarl.eu.int/charter/pdf/text_fr.pdf">respecte la diversité culturelle, religieuse et <strong>linguistique</strong></q> (article 22 de la Charte des droits fondamentaux, qui fait également partie de projet de traité établissant une Constitution pour l'Europe)...</p></body>
+--------------------------------
+Title: Dollar
+Link: http://www.bouil.org/joueb/entree.html?id=8
+Date: Fri Feb 04 09:17:03 UTC 2005
+Creator: Bouil
+Subject:
+Category:
+Content:
+<body xmlns="http://www.w3.org/1999/xhtml"><p>Ce matin, sur France Inter toujours, Hervé Gaymard, ministre des Finances, <a href="http://www.reuters.fr/locales/c_newsArticle.jsp?type=topNews&amp;localeKey=fr_FR&amp;storyID=7536796">a annoncé</a> qu'il allait défendre une initiative européenne pour financer la lutte contre le sida en Afrique.</p>
+
+
+<p>Il a déclaré&#160;: <q>[...] nous devons mettre en place des taxations internationales, par exemple un dollar par billet d'avion [...]</q>. Ce n'est pas le fond qui me préoccupe ici, dont le but est tout à fait louable, mais la forme. En effet, il est étrange de voir un ministre <em>français</em>, défendant une initiative <em>européenne</em>, proposer une taxe libel