I need to create multiple podcast shows in the same Drupal install but I don't know how can I manage this.

I thought using Audio Module + Taxonomy + Views Module, and creating a view that show me podcast episodes corresponding to a Taxonomy Term, but I don't know how to do this View.

Can anyone point me how to generate this view?

Or anyone know another better solution ?

Thanks,
Leandro

Comments

vm’s picture

no need to use views in this desire.

vocab 1 = show 1
term 1 = show 1 (or some other term you choose)
vocab 2 = show 2
term 2 = show 2 (or some other term you choose)

then you have your listing at yoursite.com/term/1 or term/2 ?

_____________________________________________________________________
Confucius says:
"Those who seek drupal answers should use drupal search!" : )

Leech’s picture

Why two vocabularies? Can't I create 2 terms for 2 different shows?

vocab 1 = podcast vocabulary
term 1 = show 1
term 2 = show 2

And in case of no using views, how can I customize display of those terms? I want to display album art for the latest show and teaser for previous shows.

Thanks.

vm’s picture

Why two vocabularies? Can't I create 2 terms for 2 different shows?

yep can be done that way too.

And in case of no using views, how can I customize display of those terms? I want to display album art for the latest show and teaser for previous shows.

now you have a specific reason for using views. so were back at your first post.

all I can do is direct you to the views. documentation and tutorials, have you read through it ?
handbooks -> contributed modules -> views
_____________________________________________________________________
Confucius says:
"Those who seek drupal answers should use drupal search!" : )

Leech’s picture

all I can do is direct you to the views. documentation and tutorials, have you read through it ?

Yes, I did, but didn't found anything about getting all nodes from Audio + specific taxonomy term.

Leech’s picture

Ok, I'm planning to use something like this:

Taxonomy:

  • Podcast (vocabulary)
    • Show 1 (taxonomy term)
    • Show 2 (taxonomy term)

And the url will be:
site.com/podcast/show1 (or the url alias for this term)

But I'm not sure how to filter view to display only items in this taxonomy term (ie, show1) fetching this term from the URL.
And how I can use the URL in Page section of View config?

Thanks

vm’s picture

using an argument I believe see: http://drupal.org/node/54455
_____________________________________________________________________
Confucius says:
"Those who seek drupal answers should use drupal search!" : )

Leech’s picture

I can't figure out how to get the list.

I've tried using URL: podcast/$arg
and Argument:
"Taxonomy: Term Name" - Default: Display all values - Title: %1
(and RSS and iTunes feeds)

And I can see the title equal to the taxonomy term url (first argument, passed with %1) but no results, just text in Empty Text.

This is my Export data:


  $view = new stdClass();
  $view->name = 'Podcasting';
  $view->description = 'Audio nodes';
  $view->access = array (
);
  $view->view_args_php = '';
  $view->page = TRUE;
  $view->page_title = 'Podcast';
  $view->page_header = '';
  $view->page_header_format = '1';
  $view->page_footer = '';
  $view->page_footer_format = '1';
  $view->page_empty = 'No results.';
  $view->page_empty_format = '1';
  $view->page_type = 'node';
  $view->url = 'podcast/$arg';
  $view->use_pager = TRUE;
  $view->nodes_per_page = '10';
  $view->menu = TRUE;
  $view->menu_title = 'Audio';
  $view->menu_tab = FALSE;
  $view->menu_tab_weight = '0';
  $view->menu_tab_default = FALSE;
  $view->menu_tab_default_parent = NULL;
  $view->menu_tab_default_parent_type = 'tab';
  $view->menu_parent_tab_weight = '0';
  $view->menu_parent_title = '';
  $view->block = TRUE;
  $view->block_title = 'Recent audio';
  $view->block_header = '';
  $view->block_header_format = '1';
  $view->block_footer = '';
  $view->block_footer_format = '1';
  $view->block_empty = '';
  $view->block_empty_format = '1';
  $view->block_type = 'list';
  $view->nodes_per_block = '5';
  $view->block_more = TRUE;
  $view->block_use_page_header = FALSE;
  $view->block_use_page_footer = FALSE;
  $view->block_use_page_empty = FALSE;
  $view->sort = array (
    array (
      'tablename' => 'node',
      'field' => 'created',
      'sortorder' => 'DESC',
      'options' => 'normal',
    ),
  );
  $view->argument = array (
    array (
      'type' => 'taxletter',
      'argdefault' => '2',
      'title' => '%1',
      'options' => '',
      'wildcard' => '',
      'wildcard_substitution' => '',
    ),
    array (
      'type' => 'rss_feed',
      'argdefault' => '2',
      'title' => '',
      'options' => '',
      'wildcard' => '',
      'wildcard_substitution' => '',
    ),
    array (
      'type' => 'audio_itunes_feed',
      'argdefault' => '2',
      'title' => '',
      'options' => '',
      'wildcard' => '',
      'wildcard_substitution' => '',
    ),
  );
  $view->field = array (
    array (
      'tablename' => 'node',
      'field' => 'title',
      'label' => '',
      'handler' => 'views_handler_field_nodelink_with_mark',
      'options' => 'link',
    ),
    array (
      'tablename' => 'audio_metadata_artist',
      'field' => 'value',
      'label' => '',
    ),
    array (
      'tablename' => 'audio_metadata_title',
      'field' => 'value',
      'label' => '',
    ),
  );
  $view->filter = array (
    array (
      'tablename' => 'node',
      'field' => 'type',
      'operator' => 'OR',
      'options' => '',
      'value' => array (
  0 => 'audio',
),
    ),
    array (
      'tablename' => 'node',
      'field' => 'status',
      'operator' => '=',
      'options' => '',
      'value' => '1',
    ),
  );
  $view->exposed_filter = array (
  );
  $view->requires = array(node, audio_metadata_artist, audio_metadata_title);
  $views[$view->name] = $view;