How To Get Full Text From RSS?

How to get rid of text decoration in links with RSS?

  • I wrote this script which makes the description a link as well at the title on the RSS feed item. But the description shows up in the colour blue as it is now a link. Is there anyway to stop this happening just for that one link. I dont want all the links in my page to loose their 'decortation' just this one. Not sure is this is possilbe, thanx. echo "<item>"; echo "<title>".$i."</title>"; echo "<description><a href=\"http:\/\/www.hello.com\">Police ".$i."confirm</a></description>"; echo "</a>"; echo "<link>http://www.hog.com</link>"; echo "hello"; echo "</item>";

  • Answer:

    in html we usually use css classes to hide the text deco. but in rss, over styling is discouraged. if you really want to you could put a tiny <style> block inside the <description> and play with the *:link { } attributes. many rss readers will ignore styles... so your mileage may vary!

peter s at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

<a href="#" style="color: #33CC99">your link</a> replace #33CC99 with the colour that you desire.

fsm

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.