By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,359 Members | 1,495 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,359 IT Pros & Developers. It's quick & easy.

Finding the RSS Feed

P: 21
On blogs, you have an RSS Feed.

In the heading of the page (usually the homepage) there is this:
Expand|Select|Wrap|Line Numbers
  1. <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="">
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.
Apr 11 '17 #1
Share this Question
Share on Google+
1 Reply

P: 21
Can some out there help?
Apr 19 '17 #2

Post your reply

Sign in to post your reply or Sign up for a free account.