Page 1 of 1

RSS to PHP - Need Help

Posted: Wed May 19, 2010 3:12 pm
by cdast
Hi,
I have a website that has a consumed RSS feed using PHP. I was given the code by someone but need someone to tell me how I can eliminate all the links on the RSS feed. I don't want to elminate the text, just the link. I don't want to lose the visitors to my website to other sites. Please let me know if you can help me. Please note that I am extremely new to PHP.

Re: RSS to PHP - Need Help

Posted: Wed May 19, 2010 3:21 pm
by mikosiko
cdast wrote:Hi,
I have a website that has a consumed RSS feed using PHP. I was given the code by someone but need someone to tell me how I can eliminate all the links on the RSS feed. I don't want to elminate the text, just the link. I don't want to lose the visitors to my website to other sites. Please let me know if you can help me. Please note that I am extremely new to PHP.
just a shoot without seeing your code... but probably you have to look in the code for your RSS consumer for lines like this :

Code: Select all

	echo '<a href="'.$value->link.'" target="_blank">'.$value->title.'</a><br />'; 
or similar and eliminate the '<a' tag

Re: RSS to PHP - Need Help

Posted: Wed May 19, 2010 4:25 pm
by requinix
I don't suppose you know that, pretty much, the more links you have to other, established sites, the better you will be ranked in search engines?

Besides that, I, for one, would be upset if you removed any links from an RSS feed I published.

Re: RSS to PHP - Need Help

Posted: Wed May 19, 2010 4:33 pm
by mikosiko
tasairis wrote:I don't suppose you know that, pretty much, the more links you have to other, established sites, the better you will be ranked in search engines?

Besides that, I, for one, would be upset if you removed any links from an RSS feed I published.
+1 on that