From: saurabh purnaye Date: 2010-05-21T21:53:48+09:00 Subject: Re: Validation for feed links using by 'rss' --00504502af53746c1104871a2e8e Content-Type: text/plain; charset=ISO-8859-1 Hi, There are ways to validate url 1. validate using reg ex /(^$)|(^(http|https):\/\/[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(([0-9]{1,5})?\/.*)?$)/ix 2. Ping the url using 'net/http' -- Thanks and Regards Saurabh Purnaye +91-9922071155 skype: sorab_pune yahoo & gtalk: saurabh.purnaye msn: psaurabh@live.com -- please don't print this e-mail unless you really need to. On Fri, May 21, 2010 at 6:05 PM, Swapna Ch wrote: > Hi all, > > > I used require 'rss'. > got the feeds in links what i gave in the link field. > > but i want to validate the link is corect url/uri or not. > > Please reply to me > -- > Posted via http://www.ruby-forum.com/. > > --00504502af53746c1104871a2e8e--