Suppose I want to make a webpage that takes domain name of a website as input and checks if that site has rss feeds or not. And if that site has rss feeds, it proceeds to the next page. Or in other words, just check if that given domain name has this tag or not-
<link rel="alternate" type="application/rss+xml"
title="Something"
href="http://www.example.com/feed1.xml” />
How do I do it using php or javascript ?