Drupal RSS aggregator not showing feed images?

4.40 Rating, Out of: 5 Votes: 51 Star2 Stars3 Stars4 Stars5 Stars

Some time when we fetch content by feed via “Aggregator”  it not display image, which is already in the rss feed, even “rss aggregate” store images reference in database as well.

if you facing same problem and fedup where is the problem like i did, so do these steps.

you need to edit “rss aggregate” setting from administrtor panel,

you need to add “<img>” tag in rss aggregate html tags allowed.

and you will see it works, but make sure your feed contained images. icon smile Drupal RSS aggregator not showing feed images?

8 thoughts on “Drupal RSS aggregator not showing feed images?

  1. Thanks for the tip, one more question please. inline styles not showing in feeds, how can I display them? (e.g. <p style=”color: red;”)

  2. ok, i have seen it, you have some limitation with aggregator, like you can not display many html tags “style” one of them.

    you have 2 option to fix that.

    1 you have these classes to manage your feed display by CSS
    —-

    <div class="feed-item">
    <h3 class="feed-item-title"></h3>
    <div class="feed-item-meta">
    <span class="feed-item-date">
    <div class="feed-item-body"><p>
    <div class="feed-item-body"><p>
     


    2. if you really keen to display feed without filter so you need to do some change in your modules/aggregator/aggregator.module file

    now i dont know how you good for it.. but im telling you direct way to make change, searh these codes approx(line 1377)
    —-

     if ($item->description) {
    $output .= ‘<div class="feed-item-body">’. aggregator_filter_xss($item->description)
    ."</div>\n";
    }

    —-

    and replace these to

     

     if ($item->description) {
    //$output .= ‘<div class="feed-item-body">’. $item->description ."</div>\n";
    }

    it will display as feed store in your database. if you feel its ok for you
    you can have it

    i hope this work for you
    thanks

  3. Pingback: Drupal RSS aggregator show html tag as feed data no filter needed! | css gallery, css scripts showcase ,php scripts,ajax scripts,CMS Drupal,CMS Joomla,CMS WordPress:W3CGallery.com

  4. many many thanks, I already modified the source of Aggregator. I don’t want to use other modules (e.g. FeedAPI) because I don’t want to store feeds as nodes! I didn’t find a modules to extend Aggregator and keep feeds as feeds not nodes!

    anyway thanks for the advice …

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">