Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Regex cannot parse XML. Do not use regex to parse XML. Do not pass Go. Do not collect £200.</p> <p>You need a proper XML parser. Load the RSS into an <a href="http://msdn.microsoft.com/en-us/library/system.xml.xmldocument.aspx" rel="nofollow noreferrer">XMLDocument</a>, then use <a href="http://msdn.microsoft.com/en-us/library/system.xml.xmlnode.innertext.aspx" rel="nofollow noreferrer">innerText</a> to get only text content.</p> <p>Note that even when you've extracted the description content from RSS, it can contain active HTML. That is:</p> <pre><code>&lt;description&gt; &amp;lt;em&amp;gt;Fish&amp;lt;/em&amp;gt; &amp;amp;amp; chips &lt;/description&gt; </code></pre> <p>can, when parsed properly as XML then read as text give you either the literal string:</p> <pre><code>&lt;em&gt;Fish&lt;/em&gt; &amp;amp; chips </code></pre> <p>or, the markup:</p> <blockquote> <p><em>Fish</em> &amp; chips</p> </blockquote> <p>The fun thing about RSS is that you don't really know which is right. In RSS 2.0 it is explicitly HTML markup (the second case); in other versions it's not specified. Generally you should assume that descriptions <em>can</em> contain entity-encoded HTML tags, and if you want to further strip those from the final text you'll need a second parsing step.</p> <p>(Unfortunately, since this is legacy HTML and not XML it's harder to parse; a regex will be even more useless than it is for parsing XML. There isn't a built-in HTML parser in .NET, but there are third-party libraries such as the <a href="http://html-agility-pack.net/?z=codeplex" rel="nofollow noreferrer">HTML Agility Pack</a>.)</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload