• Hi there,

    I’m trying to remove images from my RSS feed so it is purely text ONLY!!

    Can anybody shed some light on how I can do this?

    Thank you in advance!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Mark:

    Try using CSS to block the display of images in your RSS feed:

    <style type=”text/css”>
    <!–
    IMG {
    display: none;
    }
    –>
    </style>

    Works on other RSS templates, so I’m just suggesting here, too.

    robincham

    Hello. I just tried out your code, but I am using an RSS feed on the sidebar of my blog. This CSS hack removes all images from the page, not only the ones in the RSS feed. Any words on that or ideas on how I can just remove the images from the RSS feed, but not the entire page?

    its very simple. you have to apply specific css for that class
    If you don’t understand then give me css code of the widget class so i will give you the proper solution and your site name.

    Jwalin Shah

    Hello Jwalin. Thanks for responding.
    The RSS feed I am using is Javascript, so I cannot provide you with a css code. And to be honest, I don’t know what a widget class is. I am not even using a Word Press blog, is it important? CSS is CSS right?

    I have been trying to mess with this code
    < script language=”JavaScript” src=”https://itde.vccs.edu/rss2js/feed2js.php?src=http%3A%2F%2Fwiselyweird.blogspot.com%2Ffeeds%2Fposts%2Fdefault%3Falt%3Drss&chan=y&num=2&desc=600>2&date=y&targ=y&#8221; type=”text/javascript” >< /script >

    < noscript >
    2&date=y&targ=y&html=y” >View RSS feed< /a>
    < /noscript >

    (sorry bout the spaces there)

    The blog is https://motorheadkaze.blogspot.com/ If you don’t want to help because it is not WP, that is fine. I only came here because someone was asking a question that I too want the answer for.

    Thanks

    Hello Kezze

    please provide me your site link will tell you what you exactly do.

    Jwalin

    Hello again Jwalin, thanks for replying. The site link for the page with the RSS feed is https://motorheadkaze.blogspot.com If you mean my RSS link, that is https://motorheadkaze.blogspot.com/feeds/posts/default?=rss.htm

    If you will be looking at the source code of my blog, the RSS is near the bottom. Also, I have the site feed settings at “full”.
    Thank you for your trouble.

    I have seen your site can you tell me please exactly what you want to remove from that?
    Subscribe to Posts [Atom] I think you want to remove Atom am i right?

    Jwalin

    Hello again, sorry I had some trouble getting back to you.
    What I would like to do, is remove just the images from the RSS fee that I attached to my sidebar.

    When I set my blog account’s RSS feed to “Full”, I get images in my feed. If I set it to “short” I only get the titles of posted blogs. What I want is a text-only RSS feed, that shows the first few sentences in the post. I know how to control the number of letters shown, but cannot figure out how to remove the images.

    I tried out the css code listed above in this thread, but it removes all images.

    Any further advice?
    Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How do I remove images from RSS feed’ is closed to new replies.