Valid RSS feed

Posted on 2011-10-19
Last Modified: 2013-11-18
Hi All,

I'm new to RSS feeds and I am feeding 2 feeds into a gridview of an page. 1 of the feeds displays perfectly. The second one displays html tags in the desctiption.

I know why the second feed is doing this, if I go to the site of ogirin its grouping the part numbers by manufacturer and creating a basic html table which comes across in the description.

My question this a true RSS feed and if so how can I cope with the html? Because at present on my feed the description looks like this....

<table style="border:1px solid black; border-collapse:collapse;" border="1px" cellspacing="0" cellpadding="5"><tr><td>Part No</td><td>Date Code</td><td>Qty</td><td>Mfg</td></tr><tr><td>PIC16F916ISO</td><td>2009+</td><td>10000</td><td>MICROCH</td></tr></table>

Many Thanks,

Question by:deanlee17
    1 Comment
    LVL 10

    Accepted Solution

    As far as I understand Encoded HTML markup is valid. But the markup has to be encoded no <,> etc.
    .NET may decode this automaticly when flushed to the page.

    Try Server.HTMLEncode on the valud before it's written to the GridView cell.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Course: Create Mobile App Prototypes with Adobe XD

    This is a project-based course: we go through all the steps of creating a prototype from start to finish, using all the tools and features currently available in Adobe XD. You can complete the course in less than a day, plus all project files and fonts are included.

    Suggested Solutions

    Preface This article introduces an authentication and authorization system for a website.  It is understood by the author and the project contributors that there is no such thing as a "one size fits all" system.  That being said, there is a certa‚Ķ
    This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
    Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
    This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now