Results 1 to 2 of 2
Aug 10, 2009, 21:30 #1
- Join Date
- Nov 2008
- 0 Post(s)
- 0 Thread(s)
get any blogs rssurl from their urls
I have the blog urls for a few blogs of my liking. Using get_meta_data function I am able to pull the title, description and keywords for these blogs. I also want the corresponding rssurls for these blogs. Is there a method to get their rssurls when you only know their blog urls??
Aug 11, 2009, 01:04 #2
You could parse the link elements in the page's header. For example, this page has two feeds like:
<link rel="alternate" type="application/rss+xml" title="SitePoint Forums RSS Feed" href="external.php?type=RSS2" /> <link rel="alternate" type="application/rss+xml" title="SitePoint Forums - PHP - RSS Feed" href="external.php?type=RSS2&forumids=34" />Salathe
Software Developer and PHP Manual Author.