public function editAction()
 {
     require_once PLUGIN_DIR . "/FeedImporter/libraries/SimplePie/simplepie.inc";
     $feed = new SimplePie();
     $record = $this->getTable()->find($this->_getParam('id'));
     $feed->set_feed_url($record->feed_url);
     $feed->init();
     $feed->handle_content_type();
     $import = new FeedImporter_Import();
     $import->processFeedTags($feed, $this->_getParam('id'));
     if ($_POST['new_collection']) {
         $_POST['collection_id'] = $this->_createCollectionFromFeed($feed);
     }
     // Edit the FakeCron_Task for the feed if needed
     if ($_POST['update_frequency']) {
         $fc_task = $this->getDB()->getTable('FakeCron_Task')->find($record->task_id);
         $fc_task->interval = $_POST['update_frequency'];
         $fc_task->save();
     }
     parent::editAction();
 }