Before adding a rss feed url to the database, how can i check and make sure that it a valid rss url.
via vb.net code.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
The easiest way to find whether a URL is a valid RSS URL is to go there and check what you get. Use a WebRequest to fetch the URL, and see if what you get back is a valid RSS file (i.e. is it XML? if so, does it have the elements you expect it to have? (namely posts))