is this right? who knows?

orig_fof
steveminutillo 2007-06-10 05:33:59 +00:00
parent c2c07e6199
commit 7aafee9eb8
1 changed files with 11 additions and 7 deletions

View File

@ -18,22 +18,25 @@ include_once("fof-main.php");
echo '<?xml version="1.0"?>';
?>
<opml>
<opml version="1.1">
<head>
<title>Feed on Feeds Subscriptions</title>
</head>
<body>
<?php
$result = fof_db_get_subscriptions(fof_current_user());
while($row = fof_db_get_row($result))
{
$url = $row['feed_url'];
$title = $row['feed_title'];
$link = $row['feed_link'];
$description = $row['feed_description'];
$url = htmlspecialchars($row['feed_url']);
$title = htmlspecialchars($row['feed_title']);
$link = htmlspecialchars($row['feed_link']);
echo <<<HEYO
<outline description="$description"
htmlurl="$link"
<outline type="rss"
text="$title"
title="$title"
htmlUrl="$link"
xmlUrl="$url"
/>
@ -42,3 +45,4 @@ HEYO;
?>
</body>
</opml>