<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>everything flows &#187; podcast</title>
	<atom:link href="http://www.lukerodgers.ca/tag/podcast/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lukerodgers.ca</link>
	<description>a celestial emporium of benevolent knowledge</description>
	<lastBuildDate>Wed, 11 Jan 2012 02:35:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Some useful modifications to Joomla Podcast Suite</title>
		<link>http://www.lukerodgers.ca/2009/02/some-useful-modifications-to-joomla-podcast-suite/</link>
		<comments>http://www.lukerodgers.ca/2009/02/some-useful-modifications-to-joomla-podcast-suite/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 20:58:46 +0000</pubDate>
		<dc:creator>Luke Rodgers</dc:creator>
				<category><![CDATA[fabulous and random things]]></category>
		<category><![CDATA[web and tech]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[podcast]]></category>

		<guid isPermaLink="false">http://www.lukerodgers.ca/?p=515</guid>
		<description><![CDATA[Modifying the feed view to display an image, and altering the module to provide easy CSS access]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://extensions.joomla.org/extensions/255/details">Podcast Suite</a> is a useful podcasting component (plus plugin and module) for Joomla 1.0 and 1.5. As I recently deployed it on a client&#8217;s site, though, I encountered some limitations. While I&#8217;m sure these will be addressed in future releases, I decided to share some quick code modifications that others may find useful.</p>
<p><span id="more-515"></span>First, the module.</p>
<p>Strangely, the module is lacking any way to hook on with <abbr title="Cascading Style Sheets">CSS</abbr>, and also forces you to enter <abbr title="HyperText Markup Language">HTML</abbr> code for the image (including alt text) rather than merely taking a link to an image and alt text and dropping them into <abbr title="HyperText Markup Language">HTML</abbr> for you. The quickest and easiest way to make this module behave more like others in Joomla is wrap the output in a div: <code>&lt;div id="mod_podcast" class="module"&gt;</code>. What would be better is, of course, if the module pulled the specified class from the module configuration pane (for which there is an option, and which would probably be easily accomplished).</p>
<p>Regarding the component, the <abbr title="eXtensible Markup Language">XML</abbr> that it outputs for the podcast validates fine, but is missing an <code>image</code> element, which displays when people view the feed in their browser&#8212;an useful extra bit of branding. To add this, just a small bit of extra code is necessary in the <code>com_podcast/views/feed/view.raw.tmpl</code> file:</p>
<p><code class="block"> </code></p>
<pre>$xw-&gt;startElement('image');
$xw-&gt;writeElement('url', $params-&gt;get('itImage', ''));
$xw-&gt;writeElement('title', $params-&gt;get('title', ''));
$xw-&gt;writeElement('link', JURI::base());
$xw-&gt;writeElement('width', '144');
$xw-&gt;writeElement('height', '144');
$xw-&gt;endElement();</pre>]]></content:encoded>
			<wfw:commentRss>http://www.lukerodgers.ca/2009/02/some-useful-modifications-to-joomla-podcast-suite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

