Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9162997
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T14:20:35+00:00 2026-06-17T14:20:35+00:00

I am trying to create an RSS feed that will validate using the W3C

  • 0

I am trying to create an RSS feed that will validate using the W3C validator.
I keep getting problems from the following URLS containing the characters £, ` or -

Here are the URLs:

http://www.example.co.uk/news/2012/april/stamp-rationing-–-why-the-royal-mail-are-ripping-you-off

Here is the error:

This feed does not validate.
line 14, column 119: link must be a full and valid URL: http://www.example.co.uk/news/2012/april/stamp-rationing-–-why-the-royal-mail-are-ripping-you-off [help]
… –-why-the-royal-mail-are-ripping-you-off

I have tried replacing the symbols with escape characters but this doesn’t work. Here are the escape characters I have been using:

 Text = Text.Replace("-", "&#45");
            Text = Text.Replace("£", "%C2%A");
            Text = Text.Replace("`", "%60");
            Text = Text.Replace("’", "%60");  

Does anyone have any idea how to solve this problem? Here are some more links that are causing me problems:

http://www.example.co.uk/news/2012/march/for-sale-3-bed-detached-london-home-£15,000

Error:

This feed does not validate.
line 14, column 106: link must be a full and valid URL: http://www.example.co.uk/news/2012/march/for-sale-3-bed-detached-london-home-£15,000 [help]
… -sale-3-bed-detached-london-home-£15,000

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T14:20:36+00:00Added an answer on June 17, 2026 at 2:20 pm

    You will need to URL encode the URLs before posting them in the RSS:

    var encoded = HttpUtility.UrlEncode(aUrl);
    

    Note that the URLs will not be usable directly as :, / etc will also get encoded.

    If you want the values of these to be valid XML, use SecurityElement.Escape instead.

    var escaped = SecurityElement.Escape(aUrl);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to create a application that will consume RSS data using .NET
I'm trying to create a gadget for win 7, that retrieves the RSS feed
I keep getting this error randomly when trying to read ARSTECHNICA RSS feed. I
Im trying to create a RSS feed reader for a project that I working
I'm trying to create a Podcast RSS feed using WCF. The feed seems to
I'm trying to create an image gallery from an rss feed with the galleryview
I am trying to create a rss feed from a web page. I am
I'm trying to create a RSS 2.0 feed in ASP.NET C# with products to
I'm trying to create RSS feeds for my web site and I'm using the
I'm trying to create a sitemap that will automatically update. I've done something similiar

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.