I encounter a stupid problem, I use the last 6.x-1.0 ffpc release of 2010-Jun-01 (before this post I've upgraded it to the 6.x-2.0 dev release) and set up a feed as shown in mustardseed video, all works well.

And because now I need to set up multiple podcast feeds (at least close to 90)
I've installed mattman's ffpc_channels.
And while I watched the ffpc_channels video demo I realized that I didn't have access to the ffpc settings page : http://my_drupal_website/admin/settings/ffpc
I was surprized that this page doesn't exist, instead I have the global settings page http://my_drupal_website/admin/settings

Did I missed something ?

CommentFileSizeAuthor
#1 ffpc.module.patch4.78 KBrenoproc

Comments

renoproc’s picture

Status: Active » Closed (fixed)
StatusFileSize
new4.78 KB

Ok, I've found my mistake :
the admin/settings/ffpc capabilities come with ffpc_channels

ffpc_channels needs to be in the same folder than ffpc, if you want to try it with the lasst ffpc version you need to put some code from ffpc.module file of ffpc_channels into ffpc.module file of ffpc module :
the implementation of hook_perm() and the mplementation of hook_menu(),

in template_preprocess_ffpc_view_podcast_feed(&$vars) function you need to add some lines :
after line $vars['link'] = check_url(url($path, $url_options));
put $channel->link = $vars['link']; // Default link is the views path

after the if($path){...}
put
// Prepare channel data for formatting
$channel->language = $language->language;
$channel->args = array(); // Set by our own hook_ffpc_channel()

// Allow modules to modify/add extra information via hooks
// $channel contains specific key->value pairs for channel data
// the $view is also passed so modules can utilize its data
module_invoke_all('ffpc_channel', $channel, $view);
if (is_array($channel)) {
$channel = $channel[0];
}

replace
$vars['channel'] = format_rss_channel($title, $vars['link'], $description, $items, $language->language, $args);
with
// module_invoke_all merges duplicate keys on arrays, we're using our own hook for a default object (see hook_ffpc_channel)
$vars['channel'] = format_rss_channel($channel->title,
$channel->link,
$channel->description,
$items, // Items can only be modified through hook_nodeapi > rss item
$channel->language,
$channel->args
);

and implemente the hook_ffpc_channel() at the end of the ffpc.module file
that's all.