summaryrefslogtreecommitdiff
path: root/test/parserdata
diff options
context:
space:
mode:
authorlnu <lnu@f70e237a-67f3-0310-a06c-d2b8a7116972>2005-09-15 07:58:14 +0000
committerlnu <lnu@f70e237a-67f3-0310-a06c-d2b8a7116972>2005-09-15 07:58:14 +0000
commit1e51de46ec10fe06598ae0dd5fa3be9fa715e3e8 (patch)
tree19dd9571104f7596837336bd922ac3813a56b603 /test/parserdata
parenteb915a3f38de2e4988257be69e19349bb4cb1353 (diff)
downloadfeed2imap-1e51de46ec10fe06598ae0dd5fa3be9fa715e3e8.tar.gz
feed2imap-1e51de46ec10fe06598ae0dd5fa3be9fa715e3e8.tar.bz2
feed2imap-1e51de46ec10fe06598ae0dd5fa3be9fa715e3e8.zip
tests for unescaped html
git-svn-id: svn+ssh://svn.gna.org/svn/feed2imap/trunk/feed2imap@60 f70e237a-67f3-0310-a06c-d2b8a7116972
Diffstat (limited to '')
-rw-r--r--test/parserdata/bmc_escapedhtml.output25
-rw-r--r--test/parserdata/bmc_escapedhtml.xml24
-rw-r--r--test/parserdata/gnomefr_escapedhtml.output27
3 files changed, 64 insertions, 12 deletions
diff --git a/test/parserdata/bmc_escapedhtml.output b/test/parserdata/bmc_escapedhtml.output
new file mode 100644
index 0000000..8e3b998
--- /dev/null
+++ b/test/parserdata/bmc_escapedhtml.output
@@ -0,0 +1,25 @@
+Title: The Observation Deck
+Link: http://blogs.sun.com/roller/page/bmc
+
+--------------------------------
+Title: TR35
+Link: http://blogs.sun.com/roller/page/bmc?entry=tr35
+Date: Fri Sep 09 19:50:11 CEST 2005
+Creator: Bryan Cantrill
+Subject:
+Category: Solaris
+Content:
+<p>So MIT's
+<a href="<a href="http://www.techreview.com/">http://www.techreview.com/</a>">Technology Review</a> has named me as one of their
+<a href="<a href="http://www.technologyreview.com/articles/05/10/issue/feature_tr35.asp">http://www.technologyreview.com/articles/05/10/issue/feature_tr35.asp</a>">TR35</a> -- the top 35 innovators under the age of thirty-five. It's a great honor, especially because the other
+honorees are <i>actually</i> working on things like
+<a href="<a href="http://www.wi.mit.edu/research/fellows/brummelkamp.html">http://www.wi.mit.edu/research/fellows/brummelkamp.html</a>">cures for cancer</a>
+and
+<a href="<a href="http://www.pw.utc.com/shock-system/popsci.html">http://www.pw.utc.com/shock-system/popsci.html</a>">rocket science</a> -- domains
+that I have known only as rhetorical flourish.
+Should you like to hear me make a jackass out of myself on the subject, you might
+want to check out
+<a href="<a href="http://blogs.sun.com/roller/page/rgiles">http://blogs.sun.com/roller/page/rgiles</a>">Richard Giles</a>'s
+<a href="<a href="http://blogs.sun.com/roller/page/rgiles?entry=i_o_podcast_0003_bryan">http://blogs.sun.com/roller/page/rgiles?entry=i_o_podcast_0003_bryan</a>">latest I/O podcast</a>,
+in which he interviewed me about the award.
+ </p>
diff --git a/test/parserdata/bmc_escapedhtml.xml b/test/parserdata/bmc_escapedhtml.xml
index bc52c58..0548011 100644
--- a/test/parserdata/bmc_escapedhtml.xml
+++ b/test/parserdata/bmc_escapedhtml.xml
@@ -10,18 +10,18 @@
<generator>Roller Weblogger 1.3 (20050824125848:ag92114)</generator>
<item>
<title>TR35</title>
- <description> So MIT&#39;s
-&lt;a href=&quot;http://www.techreview.com/&quot;&gt;Technology Review&lt;/a&gt; has named me as one of their
-&lt;a href=&quot;http://www.technologyreview.com/articles/05/10/issue/feature_tr35.asp&quot;&gt;TR35&lt;/a&gt; -- the top 35 innovators under the age of thirty-five. It&#39;s a great honor, especially because the other
-honorees are &lt;i&gt;actually&lt;/i&gt; working on things like
-&lt;a href=&quot;http://www.wi.mit.edu/research/fellows/brummelkamp.html&quot;&gt;cures for cancer&lt;/a&gt;
-and
-&lt;a href=&quot;http://www.pw.utc.com/shock-system/popsci.html&quot;&gt;rocket science&lt;/a&gt; -- domains
-that I have known only as rhetorical flourish.
-Should you like to hear me make a jackass out of myself on the subject, you might
-want to check out
-&lt;a href=&quot;http://blogs.sun.com/roller/page/rgiles&quot;&gt;Richard Giles&lt;/a&gt;&#39;s
-&lt;a href=&quot;http://blogs.sun.com/roller/page/rgiles?entry=i_o_podcast_0003_bryan&quot;&gt;latest I/O podcast&lt;/a&gt;,
+ <description>So MIT&#39;s
+&lt;a href=&quot;http://www.techreview.com/&quot;&gt;Technology Review&lt;/a&gt; has named me as one of their
+&lt;a href=&quot;http://www.technologyreview.com/articles/05/10/issue/feature_tr35.asp&quot;&gt;TR35&lt;/a&gt; -- the top 35 innovators under the age of thirty-five. It&#39;s a great honor, especially because the other
+honorees are &lt;i&gt;actually&lt;/i&gt; working on things like
+&lt;a href=&quot;http://www.wi.mit.edu/research/fellows/brummelkamp.html&quot;&gt;cures for cancer&lt;/a&gt;
+and
+&lt;a href=&quot;http://www.pw.utc.com/shock-system/popsci.html&quot;&gt;rocket science&lt;/a&gt; -- domains
+that I have known only as rhetorical flourish.
+Should you like to hear me make a jackass out of myself on the subject, you might
+want to check out
+&lt;a href=&quot;http://blogs.sun.com/roller/page/rgiles&quot;&gt;Richard Giles&lt;/a&gt;&#39;s
+&lt;a href=&quot;http://blogs.sun.com/roller/page/rgiles?entry=i_o_podcast_0003_bryan&quot;&gt;latest I/O podcast&lt;/a&gt;,
in which he interviewed me about the award.
</description>
<category>Solaris</category>
diff --git a/test/parserdata/gnomefr_escapedhtml.output b/test/parserdata/gnomefr_escapedhtml.output
new file mode 100644
index 0000000..36c001c
--- /dev/null
+++ b/test/parserdata/gnomefr_escapedhtml.output
@@ -0,0 +1,27 @@
+Title: Plančte GNOME-FR
+Link: http://planete.gnomefr.org/
+
+--------------------------------
+Title: Vincent Noel: I might need some supplies
+Link: http://members.cox.net/vnoel/weblog/2005/09/i-might-need-some-supplies.html
+Date: Wed Sep 14 22:21:47 CEST 2005
+Creator:
+Subject:
+Category:
+Content:
+<p><div>How are you supposed to trust these guys ?<img src="<a href="http://members.cox.net/vnoel/weblog/uploaded_images/Screenshot-Flight%20Details-798819.png">http://members.cox.net/vnoel/weblog/uploaded_images/Screenshot-Flight%20Details-798819.png</a>" />
+</div></p>
+--------------------------------
+Title: Vincent Noel: nautilus and gworkspace
+Link: http://members.cox.net/vnoel/weblog/2005/09/nautilus-and-gworkspace.html
+Date: Wed Sep 14 21:15:01 CEST 2005
+Creator:
+Subject:
+Category:
+Content:
+<div>Is it my imagination or is nautilus, with every release, getting closer to the interface of <a href="http://www.gnustep.it/enrico/gworkspace/">GWorkspace</a> ?<blockquote>
+<a href="http://www.gnome.org/~vnoel/screenshots/nautilus_gworkspace.png">
+<img src="http://www.gnome.org/~vnoel/screenshots/nautilus_gworkspace_small.png" />
+</a>
+</blockquote>
+<br />Everything is there : the "places" (vertical in nautilus and horizontal in GWorkspace), the path bar (thankfully scaled down, but the idea is the same), the icon/list views... Of course, I guess inspiration mostly comes from the MacOS X rework of GWorkspace, but it's weird to think that this UI has been there for years, just waiting for somebody to pimp it up.<br />Now there is just the <a href="http://actsofvolition.com/images/screenshots/next-column-view.png">column view</a> left to implement, and we'll be at 1:1 features ratio (although with good drag-n-drop management the current path bar could replace that view in most of the cases).</div>