success) { echo "Cannot open $opml
"; return false; } $content = $sfile->body; $feeds = fof_opml_to_array($content); } if ($url) { if ($login && strlen($password)) $url = preg_replace('!^([a-z0-9_]+)://([^/]*:[^/]*@)?!is', '\1://' . str_replace("\\", "\\\\", urlencode($login) . ':' . urlencode($password)) . '@', $url); $feeds[] = $url; } } $url = preg_replace('!^([a-z0-9_]+)://([^/]*:[^/]*@)?!is', '\1://', $url); if ($_FILES['opml_file']['tmp_name']) { if(!$content_array = file($_FILES['opml_file']['tmp_name'])) { echo "Cannot open uploaded file
"; } else { $content = implode("", $content_array); $feeds = fof_opml_to_array($content); } } $add_feed_url = "http"; if($_SERVER["HTTPS"] == "on") $add_feed_url = "https"; $add_feed_url .= "://" . $_SERVER["HTTP_HOST"] . $_SERVER["SCRIPT_NAME"]; ?>

Use FeedOnFeeds for reading feeds always

If your browser is cool, you can register Feed on Feeds as a Feed Reader. If it is not cool, you can still use the FoF subscribe bookmarklet to subscribe to any page with a feed. Just add it as a bookmark and then click on it when you are at a page you'd like to subscribe to!
When adding feeds, mark items as unread

Enter URL manually

RSS or weblog URL:
Login: Password: (optional) for password-protected feeds
Tags for new feed(s): (separate by comma)

OPML import

OPML URL:
OPML filename:

OPML export

admin_prefs['suggestadd'])) && count($suggest = fof_db_get_most_popular_feeds($suggest))) { ?>

Most popular feeds

 readers

\nwindow.onload = ajaxadd;\nfeedslist = ["); foreach($feeds as $feed) $feedjson[] = "{'url': '" . addslashes($feed) . "'}"; print(join($feedjson, ", ")); print("];\n"); } print("
"); include("footer.php");