mirror of
https://github.com/utmapp/libsoup.git
synced 2026-12-01 14:01:06 -10:00
The implementation is based on the draft spec on Content-Type Processing Model (draft-abarth-mime-sniff-01). It is a spinoff from the HTML5 spec. Soup now provides a SoupContentSniffer session feature, which hooks into the message I/O, and delays emissions of the got-chunk signal to be able to figure out the Content-Type of messages from the actual content received, in some cases. GIO is also used to sniff content, whenever the spec allows further sniffing. http://bugzilla.gnome.org/show_bug.cgi?id=572589
27 lines
760 B
XML
27 lines
760 B
XML
<?xml version="1.0"?>
|
|
<rss version="2.0">
|
|
|
|
<channel>
|
|
<title>A small RSS</title>
|
|
<link>http://libsoup.rocks/</link>
|
|
<language>en</language>
|
|
<description>A small RSS to test libsoup</description>
|
|
|
|
<item>
|
|
<title>One post too many</title>
|
|
<guid isPermaLink="true">http://libsoup.rocks/so/much/</guid>
|
|
<link>http://libsoup.rocks/so/much/</link>
|
|
<description><p>woohoo</p></description>
|
|
<pubDate>Wed, 02 Jul 2009 10:26:28 +0000</pubDate>
|
|
</item>
|
|
<item>
|
|
<title>GCDS will rock</title>
|
|
<guid isPermaLink="true">http://libsoup.rocks/so/much/again/</guid>
|
|
<link>http://libsoup.rocks/so/much/again/</link>
|
|
<description><p>I mean, really.</p></description>
|
|
<pubDate>Wed, 02 Jul 2009 10:26:28 +0000</pubDate>
|
|
</item>
|
|
|
|
</channel>
|
|
</rss>
|