title: How to check if a site has rss feeds
body: <p>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- </p>
  
  <pre><code>&lt;link rel="alternate" type="application/rss+xml" 
        title="Something" 
        href="http://www.example.com/feed1.xml” /&gt;
  </code></pre>
  
  <p>How do I do it using php or javascript ? </p>