Last active
August 24, 2017 13:04
-
-
Save imelgrat/37b506bc0ffe51eab1ae to your computer and use it in GitHub Desktop.
RSS feeds, ATOM and OPML link retrieval with a PHP Class. Full article at: http://imelgrat.me/php/find-atom-opml-rss-feeds/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# Add the feed finder class | |
require_once('find_feeds.php'); | |
# Create a new class instance | |
$find_links= new Find_RSS_Links('http://www.cleverclogs.org/2006/10/opml_autodiscov.html'); | |
$links = $find_links->getLinks(); | |
Display the RSS, ATOM and OPML links found on the page | |
print_r ($links); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment