Changeset 465


Ignore:
Timestamp:
06/23/10 18:49:08 (20 months ago)
Author:
aarkerio
Message:

Update users

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/controllers/podcasts_controller.php

    r463 r465  
    2525 
    2626/** 
    27  * Load CakePHP helpers 
    28  * @access public 
    29  * @var array 
    30  */ 
    31  public $components = array('RequestHandler', 'Blog'); 
     27 * Load CakePHP components 
     28 * @access public 
     29 * @var array 
     30 */ 
     31 public $components = array('Blog', 'RequestHandler'); 
    3232 
    3333/** 
     
    3939 { 
    4040   parent::beforeFilter(); 
    41    $this->Auth->allow(array('all', 'view', 'rss')); 
     41   $this->Auth->allow(array('all', 'view', 'index')); 
    4242 } 
    4343 
     
    8585 * @return void 
    8686 */ 
    87  public function rss($username)  
    88  { 
    89   $this->layout = 'rss'; 
     87 public function index($username)  
     88 { 
    9089  $params = array('conditions' => array('username'=>$username), 
    9190                  'contain'    => False, 
  • trunk/views/layouts/blog.ctp

    r408 r465  
    1818<link rel="alternate" type="application/rss+xml" title="<?php echo $username; ?> RSS 2.0" href="/entries/rss/<?php echo $username; ?>.rss" /> 
    1919<link rel="alternate" type="application/rss+xml" title="<?php echo $username; ?> Bookmarks" href="/bookmarks/feeder/<?php echo $username; ?>.rss" /> 
    20 <link rel="alternate" type="application/rss+xml" title="<?php echo $username; ?> Podcast" href="/podcasts/rss/<?php echo $username; ?>.rss" /> 
     20<link rel="alternate" type="application/rss+xml" title="<?php echo $username; ?> Podcast" href="/podcasts/index/<?php echo $username; ?>.rss" /> 
    2121<title> <?php echo $title_for_layout; ?> :: MonoNeurona</title> 
    2222<style type="text/css"> 
  • trunk/views/layouts/rss/rss.ctp

    r464 r465  
    22# Chipotle Software (c) 2006-2010  
    33# http://book.cakephp.org/view/1461/Creating-an-RSS-feed-with-the-RssHelper 
     4if ( !isset($perro) ): 
     5    die('Perro is not set'); 
     6endif; 
     7 
    48echo $this->Rss->header(); 
    59 
    6 if (!isset($documentData)): 
     10if ( !isset($documentData) ): 
    711    $documentData = array(); 
    812endif; 
    913 
    10 if (!isset($channelData)): 
     14if ( !isset($channelData) ): 
    1115    $channelData = array(); 
     16    die('dsfdsfdsf'); 
    1217endif; 
     18 
    1319if (!isset($channelData['title'])): 
    1420    $channelData['title'] = $title_for_layout; 
  • trunk/views/podcasts/rss.ctp

    r464 r465  
    33# You should import Sanitize 
    44#App::import('Sanitize'); 
     5$this->set('showLayoutContent', True); 
    56 
     7$frida = array('fdgfdgf', '888', 'jkhjkhjk'); 
     8$this->set('perro',  array('fdgfdgf', '888', 'jkhjkhjk')); 
    69$this->set('documentData', array( 
    710                               'xmlns:pod' => 'http://sw.deri.org/2005/07/podcast#', 
Note: See TracChangeset for help on using the changeset viewer.