Forums

  • Jimako
    Main Admin
    Posts: 356
    Joined: 1 year ago
      

    Is there a way to display images? For example, I am working on a Awards plugin, I would like to display the award on the rss feed, is that possible? I haven't really missed with any RSS feeds before.

  • Jimako
    Main Admin
    Posts: 356
    Joined: 1 year ago
      

    This answer is for LaocheXe:

    - rss output can have images. You can see example on e107.org:  https://e107.org/xml/news/rss/

    - to see how to do it - open e_rss.php in news plugin and find

    $rss[$i]['media'] = $this->getMedia($value);

    At the same file find fuction getMedia(). The News are specifics - they have one database field for multiple images separated by comma. If you have just single image, you doesn't need explode and foreach functionality.