1 <?php echo '<?xml version="1.0" encoding="UTF-8" ?'.">\n"; ?>
2 <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
4 <title><?php echo $feedtitle; ?></title>
5 <link><?php echo $feedlink; ?></link>
6 <description><?php echo $feeddescription; ?></description>
8 <?php foreach($bookmarks as $bookmark): ?>
10 <title><?php echo $bookmark['title']; ?></title>
11 <link><?php echo $bookmark['link']; ?></link>
12 <description><?php echo $bookmark['description']; ?></description>
13 <dc:creator><?php echo $bookmark['creator']; ?></dc:creator>
14 <pubDate><?php echo $bookmark['pubdate']; ?></pubDate>
15 <?php foreach($bookmark['tags'] as $tag): ?>
16 <category><?php echo $tag; ?></category>
18 <?php if ($bookmark['enclosure_mime']): ?>
19 <enclosure url="<?php echo $bookmark['link']; ?>" length="<?php echo $bookmark['enclosure_length']; ?>" type="<?php echo $bookmark['enclosure_mime']; ?>" />