In the current CVS module, on the feed item page, the link to the feed shows: Feed hosted athttp://etc...

This makes the link wrong as "at" is part of the url. The attached version fixes this.

CommentFileSizeAuthor
#1 aggregator2_1.module82.62 KBhadishon

Comments

hadishon’s picture

StatusFileSize
new82.62 KB

Hmm, either I'm not allowed to post attachments or there is a bug with the attachments...

Anyways, change

/**
 * Implementation of hook_view().
 */
function aggregator2_feed_view(&$node, $teaser = FALSE, $page = FALSE) {
  // Provide some statistics for feed nodes
  $rows = array();
  $items_count = db_result(db_query("SELECT COUNT(ai.nid) FROM {aggregator2_item} ai WHERE ai.fid = '%d'", $node->nid));
  $rows[] = array(t('Feed hosted at'), $node->url);

to

/**
 * Implementation of hook_view().
 */
function aggregator2_feed_view(&$node, $teaser = FALSE, $page = FALSE) {
  // Provide some statistics for feed nodes
  $rows = array();
  $items_count = db_result(db_query("SELECT COUNT(ai.nid) FROM {aggregator2_item} ai WHERE ai.fid = '%d'", $node->nid));
  $rows[] = array(t('Feed hosted at '), $node->url);