e.last_modified,
a.realname AS author,
+ a.username AS loginname,
a.email";
}
$authorData = array(
'authorid' => $entry['authorid'],
- 'username' => $entry['author'],
+ 'username' => $entry['loginname'],
'email' => $entry['email'],
'realname' => $entry['author']
);
$_GET['type'] = 'content';
}
+if (!empty($_SERVER['HTTP_USER_AGENT']) && stristr($_SERVER['HTTP_USER_AGENT'], 'feedburner')) {
+ $_GET['nocache'] = true;
+}
+
if (!isset($_GET['nocache'])) {
switch ($_GET['type']) {
case 'comments':
$metadata['fullFeed'] = $plugin->get_config('fullfeed', false);
if ($_GET['type'] == 'content' && $plugin->get_config('show_feedburner') === 'force' && !preg_match('@FeedBurn@i', $_SERVER['HTTP_USER_AGENT'])) {
- $url = 'http://feeds.feedburner.com/' . $plugin->get_config('fb_id');
- header('Location: ' . $url);
- exit;
+ $url = 'http://feeds.feedburner.com/' . $plugin->get_config('fb_id');
+ header('Location: ' . $url);
+ exit;
}
$metadata['showMail'] = serendipity_db_bool($plugin->get_config('show_mail', $metadata['showMail']));
break;