rss helper elem method images cakephp 2.0

2013-01-11 Thread TonyCharlotteCakePHP
I'm trying to add images to my rss feed and I'm assuming that it can be done using the elem method of the rss helper but I don't know how to use elem method properly. If images are add a different way then please explain as well. This is my rss.ctp view file: ?php App::uses('Sanitize',

Re: rss helper elem method images cakephp 2.0

2013-01-11 Thread TonyCharlotteCakePHP
Not sure how the elem method works but here's how to add an image: ?php App::uses('Sanitize', 'Utility'); $this-set('channelData', array( 'title' = 'tet', 'link' = 'test', 'url' = 'test', 'description' = 'test', 'language' = 'en-us',