#34394 Trustmaster:
@foxhound
You can check how it's doing immediately by browsing http://example.com/rss.php
Yes, I understood that and I did view my changes there. I was just interest to see what would happen on those sites.
And yes, everything works but to be honest I am not really happy with how my RSS feed is now looking. Its a bit messy, have a look at it here:
http://www.armaholic.com/rss.php
Due to limitting the number of characters the text in the RSS is cut of in a very ugly way. That was the intention indeed but right now I am trying to find some more ways to protect my content.
So I was thinking, instead of limitting the content I wanted to remove the images from the RSS so sites using my RSS wont look so nice with their pictureless articles.
I searched around on the net and saw many people prevent images to show in their RSS by adding some rules to their CSS but I guess since this is a pure PHP RSS that wont work.
But I found a function which I am now trying to use but it is actually stopping any output from the RSS when I add it.
This is the function I found ( http://bavotasan.com/2011/a-better-way-to-remove-images-from-a-wordpress-post/ ), I changed it a bit hoping it would work in the genoa RSS:
// custom function to remove pics from the RSS
function remove_images( $text ) {
$postOutput = preg_replace('/<img[^>]+./','', $text);
return $postOutput;
}
add_filter( 'sed_parse', 'remove_images', 100 );
And its very possible I am doing something stupid here but yeah ........... PHP is not mine, I am just trying 
<img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />