Finding the RSS Feed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Roamer
    New Member
    • Dec 2012
    • 23

    Finding the RSS Feed

    On blogs, you have an RSS Feed.

    In the heading of the page (usually the homepage) there is this:
    Code:
    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://anydomain.com/somekindofname.xml">
    Note: there is no way of knowing the exact name of the feed, from the site url alone. It has to be found.

    Using Perl
    Is there a simple way to find the above tag, then extract the URL of the feed from the href?
    Preferably without having to use any modules.

    I haven't got the remotest clue how to do this.

    I will have the URL of a blog, so no problem on that score. Once I have the URL of the feed, I'm okay from there.

    I sure hope someone can help, thanks.
  • Roamer
    New Member
    • Dec 2012
    • 23

    #2
    Can some out there help?

    Comment

    Working...