I made the following changes to the feed.module file to get it so that it would add a feed from the from at 'admin/aggregator':

--- feed.module Mon Aug 2 02:48:15 2004
+++ feed.module Mon Aug 2 03:44:13 2004@@ -414,7 +414,7 @@
$add_form .= implode("", taxonomy_node_form("feed", $node));
}
$add_form .= form_submit(t("Add feed"), "edit[op]");
- $output .= form($add_form, "post", url("admin/system/feeds"));
+ $output .= form($add_form, "post", url("admin/aggregator"));

$header = array(t("title"), t("items"), t("last update"), array("data" => t("operations"), "colspan" => 2));
$feeds = db_query("SELECT n.nid, n.title, n.changed, COUNT(i.nid) AS numitems, n.type FROM {node} n LEFT JOIN {item} i ON n.nid = i.parent GROUP BY n.nid HAVING n.type = \"feed\"");
@@ -426,7 +426,7 @@
$feed->numitems,
format_interval(time() - $feed->changed),
l(t("administer"), "admin/node/edit/$feed->nid", array("title" => t("administer this news feed."))),
- form($refresh, "post", url("admin/system/feeds"))
+ form($refresh, "post", url("admin/aggregator"))
);
}
$output .= theme("table", $header, $rows);

Comments

Bèr Kessels’s picture

I am currently in the process of completely rewriting the module. This is no lonfger a problem.

Bèr Kessels’s picture

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Status: Fixed » Closed (fixed)