<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Why Homepage is &#8220;index.php?option=com_frontpage&#038;Itemid=1&#8243;?</title>
	<link>http://joomup.com/blog/2007/05/25/why-home-is-indexphpoptioncom_frontpageitemid1/</link>
	<description>Travel notes by Physicist: finds, solutions, tips and tricks</description>
	<pubDate>Mon, 06 Sep 2010 19:34:17 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2</generator>

	<item>
		<title>By: Physicist</title>
		<link>http://joomup.com/blog/2007/05/25/why-home-is-indexphpoptioncom_frontpageitemid1/#comment-69</link>
		<author>Physicist</author>
		<pubDate>Mon, 11 Jun 2007 07:56:59 +0000</pubDate>
		<guid>http://joomup.com/blog/2007/05/25/why-home-is-indexphpoptioncom_frontpageitemid1/#comment-69</guid>
		<description>&lt;p&gt;Probably, the problem is due to relative links in rss feed. Try to solve it by replacing codes from &lt;a href="http://joomup.com/blog/2007/05/25/how-to-make-relative-links-on-the-pages/" rel="nofollow"&gt;How to make relative links on the pages&lt;/a&gt; post to (in the case of standard component for rss export)&lt;/p&gt;
&lt;pre lang="php"&gt;
if($GLOBALS['option']=='com_rss')
    return $mosConfig_live_site . '/' . $string . $fragment;
else
    return '/' . $string . $fragment;
&lt;/pre&gt;
&lt;p&gt;and&lt;/p&gt;
&lt;pre lang="php"&gt;
if($GLOBALS['option']=='com_rss')
    $string = $mosConfig_live_site . '/' . $string;
else
    $string = '/' . $string;
&lt;/pre&gt;
&lt;p&gt;respectively.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Probably, the problem is due to relative links in rss feed. Try to solve it by replacing codes from <a href="http://joomup.com/blog/2007/05/25/how-to-make-relative-links-on-the-pages/" rel="nofollow">How to make relative links on the pages</a> post to (in the case of standard component for rss export)</p>

<div class="wp_syntax"><div class="code"><pre class="php"><span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$GLOBALS</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'option'</span><span style="color: #66cc66;">&#93;</span>==<span style="color: #ff0000;">'com_rss'</span><span style="color: #66cc66;">&#41;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #0000ff;">$mosConfig_live_site</span> . <span style="color: #ff0000;">'/'</span> . <span style="color: #0000ff;">$string</span> . <span style="color: #0000ff;">$fragment</span>;
<span style="color: #b1b100;">else</span>
    <span style="color: #b1b100;">return</span> <span style="color: #ff0000;">'/'</span> . <span style="color: #0000ff;">$string</span> . <span style="color: #0000ff;">$fragment</span>;</pre></div></div>

<p>and</p>

<div class="wp_syntax"><div class="code"><pre class="php"><span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$GLOBALS</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'option'</span><span style="color: #66cc66;">&#93;</span>==<span style="color: #ff0000;">'com_rss'</span><span style="color: #66cc66;">&#41;</span>
    <span style="color: #0000ff;">$string</span> = <span style="color: #0000ff;">$mosConfig_live_site</span> . <span style="color: #ff0000;">'/'</span> . <span style="color: #0000ff;">$string</span>;
<span style="color: #b1b100;">else</span>
    <span style="color: #0000ff;">$string</span> = <span style="color: #ff0000;">'/'</span> . <span style="color: #0000ff;">$string</span>;</pre></div></div>

<p>respectively.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony Aykut</title>
		<link>http://joomup.com/blog/2007/05/25/why-home-is-indexphpoptioncom_frontpageitemid1/#comment-68</link>
		<author>Anthony Aykut</author>
		<pubDate>Mon, 11 Jun 2007 07:32:50 +0000</pubDate>
		<guid>http://joomup.com/blog/2007/05/25/why-home-is-indexphpoptioncom_frontpageitemid1/#comment-68</guid>
		<description>Hi,

I have to give one word of warning though - implementing this and/or the relative links hack kills off the ability of presenting your site's RSS feeds properly (as it removes the www.domain.com from the generated links).
I found out this issue by accident, when my FeedBurner feeds stopped working all of a sudden, and removing the hacks solved my problem again.

Thought I'd let you folks know.

Regards,
Anthony</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have to give one word of warning though - implementing this and/or the relative links hack kills off the ability of presenting your site&#8217;s RSS feeds properly (as it removes the <a href="http://www.domain.com" rel="nofollow">www.domain.com</a> from the generated links).<br />
I found out this issue by accident, when my FeedBurner feeds stopped working all of a sudden, and removing the hacks solved my problem again.</p>
<p>Thought I&#8217;d let you folks know.</p>
<p>Regards,<br />
Anthony</p>
]]></content:encoded>
	</item>
</channel>
</rss>
