summaryrefslogtreecommitdiffstats
path: root/custom/views/atom10
diff options
context:
space:
mode:
authorPascal Chevrel <pascal@chevrel.org>2012-05-05 20:04:37 +0200
committerPascal Chevrel <pascal@chevrel.org>2012-05-05 20:04:37 +0200
commit761d59cf010bb554d6a8057731de99b03f44715e (patch)
tree15873dca3abc6eef9787ccd6c04f8bf85c993d14 /custom/views/atom10
parentf85c96ebbf2784182454c97ab1974823a279b68a (diff)
downloadplanet-761d59cf010bb554d6a8057731de99b03f44715e.tar
planet-761d59cf010bb554d6a8057731de99b03f44715e.tar.gz
planet-761d59cf010bb554d6a8057731de99b03f44715e.tar.bz2
planet-761d59cf010bb554d6a8057731de99b03f44715e.tar.xz
planet-761d59cf010bb554d6a8057731de99b03f44715e.zip
remove xmlns on <entry> tags in atom feeds, this is already defined on the root <feed> element and is causing validation errors
Diffstat (limited to 'custom/views/atom10')
-rw-r--r--custom/views/atom10/index.tpl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/views/atom10/index.tpl.php b/custom/views/atom10/index.tpl.php
index 74fda9f..b2ecbaf 100644
--- a/custom/views/atom10/index.tpl.php
+++ b/custom/views/atom10/index.tpl.php
@@ -15,7 +15,7 @@ echo '<?xml version="1.0" encoding="UTF-8" ?>';
<?php $count = 0; ?>
<?php foreach ($items as $item): ?>
- <entry xmlns="http://www.w3.org/2005/Atom">
+ <entry>
<title type="html"><?php echo htmlspecialchars($item->get_feed()->getName()); ?> : <?php echo htmlspecialchars($item->get_title());?></title>
<id><?php echo htmlspecialchars($item->get_permalink());?></id>
<link rel="alternate" href="<?php echo htmlspecialchars($item->get_permalink());?>"/>