WordPress.org

Ready to get started?Download WordPress

Forums

How do I remove images from RSS feed (9 posts)

  1. marklyndon
    Member
    Posted 5 years ago #

    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!

  2. robincham
    Member
    Posted 4 years ago #

    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

  3. motorhead kaze
    Member
    Posted 4 years ago #

    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?

  4. jwalin
    Member
    Posted 4 years ago #

    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

  5. motorhead kaze
    Member
    Posted 4 years ago #

    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="http://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" 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 http://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

  6. jwalin
    Member
    Posted 4 years ago #

    Hello Kezze

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

    Jwalin

  7. motorhead kaze
    Member
    Posted 4 years ago #

    Hello again Jwalin, thanks for replying. The site link for the page with the RSS feed is http://motorheadkaze.blogspot.com If you mean my RSS link, that is http://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.

  8. jwalin
    Member
    Posted 4 years ago #

    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

  9. motorhead kaze
    Member
    Posted 4 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic