Forum Moderators: Robert Charlton & goodroi
However, I have later discovered that most of the content indexed by Google is in the form of RSS files, which is not directly viewable when you click on it, not at least in the form of HTML pages, which is what I wanted.
My site is principally a forum, and for each post there is a permalink and a RSS feed. Should I block the RSS files using a robots.txt? Is Google going to see my content as duplicate and penalize me for it?
I'm looking forward to your suggestions. I'm clueless about what to do now.
<Sorry, no specific domain names.
See Forum Charter [webmasterworld.com]>
[edited by: tedster at 4:00 pm (utc) on Mar. 23, 2007]
But not all that bright. I block my feeds simply because I can't stand Google including RSS feeds in its main index. In my opinion, one of the worst user experiences is clicking on a search result only to find it's a feed. A literal waste of the user's time and effort. Why G doesn't break feeds out in a onebox feature I just don't can't comprehend.
Either way, blocking your feeds is probably the safest bet.
Start by adding a xml-stylesheet tag to your RSS feed:
<?xml-stylesheet type="text/css" href="http://www.example.com/rss.css"?>
The next step is to create the CSS file.
Inside this file you can define how each RSS tag is displayed.
The following will work with a RSS 2.O and it's only applied to some tags, you can add style to other RSS tags too.
rss {
display: block;
font-family: arial,sans-serif;
}
title {
display: block;
margin: 10px;
padding: 4px;
color: black;
border-bottom: 1px solid gray;
}
link {
display: block;
font-size: small;
padding-left: 10px;
}
item {
display: block;
padding: 4px 25px 4px 25px;
}
To make links clickable you have to use an XSL stylesheet (just google xsl for more info).
My RSS feed containst HTML entities like <p> and <BR>. Is there any way to get them displayed as they would be shown by a browser?
Currently Internet explorer displays them as a text editor would
I'm looking forward to your reply