london-G 0 Light Poster

Hi Guys,

Hope you are enjoying the summer!

I am having some trouble with the code below. It is feeding blog posts from another website and linking them to a website.

The code works fine. However I need to change the hyperlink(uri) to another domain.

<li><a href="<?php echo $feed[$i]->uri; ?>" target="_blank">
            <div class="feed-link image"><img src="<?php echo $feed[$i]->itemimage; ?>" alt="<?php  echo $feed[$i]->title; ?>" width="223" height="148"/></div>
            <div class="feed-link title"><?php echo $feed[$i]->title; ?></div>
            <?php
                $content_for_text = JFilterOutput::cleanText($feed[$i]->content);
                /*$content_for_text = preg_replace('/&.*?;/', '', $content_for_text);*/
                $content_for_text = preg_replace('/&/', '', $content_for_text);
                $content_for_text = preg_replace('/amp;/', '', $content_for_text);
                $content_for_text = preg_replace('/#.*?;/', '', $content_for_text); 
                $content_for_text = JHtml::_('string.truncate', $content_for_text, 220);
            ?>
            <div class="feed-link content"><p><?php echo $content_for_text; ?></p></div>
            <div class="bt_more">Read more&ensp;&ensp;&or;</div>
            </a></li>