Skip to content

Commit

Permalink
remove xmlns on <entry> tags in atom feeds, this is already defined o…
Browse files Browse the repository at this point in the history
…n the root <feed> element and is causing validation errors
  • Loading branch information
pascalchevrel committed May 5, 2012
1 parent f85c96e commit 761d59c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom/views/atom10/index.tpl.php
Expand Up @@ -15,7 +15,7 @@

<?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());?>"/>
Expand Down

0 comments on commit 761d59c

Please sign in to comment.