echo date('D, d M Y H:i:s O'); ?> </pubDate> <link><?php echo $rssLink; ?> </link> <atom:link href="<?php echo $rssLink; ?> " rel="self" type="application/rss+xml" /> <?php while ($comment = $commentList->next()) { ?> <?php $post = $postList->find($comment->getPostId()); ?> <item> <title><?php echo htmlspecialchars($comment->getAuthorName() . ' [' . $post->getTitle() . '] '); ?> </title> <pubDate><?php echo $comment->getDatetime('D, d M Y H:i:s O'); ?> </pubDate> <link><?php echo $post->getLink() . '#comment-' . $comment->getId(); ?> </link> <guid><?php
$filter['WHERE'] = mb_substr($filter['WHERE'], 0, -4) . ' )'; $poList = new ae_PostList($filter, $params, FALSE); $coList->reset(); ?> <aside class="recent-comments icon-add-before icon-before-comment"> <h6>Neue Kommentare</h6> <?php while ($co = $coList->next()) { ?> <?php $gravUrl = GRAVATAR_BASE . md5($co->getAuthorEmail()); $gravUrl .= '?d=mm'; $gravUrl .= '&s=' . GRAVATAR_SIZE; $p = $poList->find($co->getPostId()); $postLink = $p->getLink() . '#comment-' . $co->getId(); ?> <div> <a href="<?php echo $postLink; ?> "> <img alt="avatar" class="avatar avatar-<?php echo GRAVATAR_SIZE; ?> " src="<?php echo $gravUrl; ?> " /> </a>