diff options
author | Pascal Chevrel <pascal@chevrel.org> | 2012-05-05 20:04:37 +0200 |
---|---|---|
committer | Pascal Chevrel <pascal@chevrel.org> | 2012-05-05 20:04:37 +0200 |
commit | 761d59cf010bb554d6a8057731de99b03f44715e (patch) | |
tree | 15873dca3abc6eef9787ccd6c04f8bf85c993d14 /custom/views/atom10 | |
parent | f85c96ebbf2784182454c97ab1974823a279b68a (diff) | |
download | planet-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.php | 2 |
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());?>"/> |