Showing images in RSS Feed

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 11-30-2007, 05:21 PM
Constant Pligger
 
Join Date: Oct 2006
Posts: 124
Hi, I have installed pligg 9.8.2 with image upload module, just that.

I want the images to show up in the feed, any idea in how to make it possible ?

Thanks.
Reply With Quote
  #2 (permalink)  
Old 12-04-2007, 02:45 AM
Constant Pligger
 
Join Date: Oct 2006
Posts: 124
Quote:
Originally Posted by Peter View Post
Hi, I have installed pligg 9.8.2 with image upload module, just that.

I want the images to show up in the feed, any idea in how to make it possible ?

Thanks.
..........
Reply With Quote
  #3 (permalink)  
Old 12-04-2007, 09:36 PM
Pligg Donor
Pligg Version: 9.9.5
 
Join Date: Sep 2007
Posts: 192
Quote:
Originally Posted by Peter View Post
Hi, I have installed pligg 9.8.2 with image upload module, just that.

I want the images to show up in the feed, any idea in how to make it possible ?

Thanks.
Open your rss.php. Look for these lines (around lines 118-119):

Code:
$description = strip_tags($description);
$description = htmlspecialchars($description);
comment them out as such:

Code:
## $description = strip_tags($description);
## $description = htmlspecialchars($description);
This should now show your images in your feed. It worked for me.

Edit: Just wanted you to know that this only seems to work if you code your images in the summary via the <img> tags. This does not work (at least not yet that I know of) for the UPLOAD IMAGE module.

Last edited by blaze; 12-05-2007 at 12:39 AM.
Reply With Quote
  #4 (permalink)  
Old 12-05-2007, 04:49 PM
Constant Pligger
 
Join Date: Oct 2006
Posts: 124
Thanks blaze, the thing is that I need it for image upload.

Anyone else ?
Reply With Quote
  #5 (permalink)  
Old 12-05-2007, 07:29 PM
Pligg Donor
Pligg Version: 9.9.5
 
Join Date: Sep 2007
Posts: 192
Quote:
Originally Posted by Peter View Post
Thanks blaze, the thing is that I need it for image upload.

Anyone else ?
By looking at the code, I believe the reason it cannot be done (or hasn't thus far) is because, technically speaking, the thumb image being produced is not a static image, but rather a dynamic one being generated on-the-fly by the thumb.php script. I could be wrong, but this might just be the reason why. Oh well, sorry couldn't be more helpful.
Reply With Quote
  #6 (permalink)  
Old 12-10-2007, 12:30 PM
Constant Pligger
 
Join Date: Oct 2006
Posts: 124
Quote:
Originally Posted by Peter View Post
Hi, I have installed pligg 9.8.2 with image upload module, just that.

I want the images to show up in the feed, any idea in how to make it possible ?

Thanks.
..........
Reply With Quote
  #7 (permalink)  
Old 12-13-2007, 12:04 PM
Casual Pligger
Pligg Version: Pligg Beta 9.8.2
Pligg Template: standard
 
Join Date: Nov 2007
Posts: 65
Quote:
Originally Posted by Peter View Post
..........
Peter if you mean you would like the images to show up that are within the RSS feed, then you need to go to Admin - Submit- and then add the tag <img> in the html allowed tags.
Reply With Quote
  #8 (permalink)  
Old 12-13-2007, 12:57 PM
Constant Pligger
 
Join Date: Oct 2006
Posts: 124
Quote:
Originally Posted by formula View Post
Peter if you mean you would like the images to show up that are within the RSS feed, then you need to go to Admin - Submit- and then add the tag <img> in the html allowed tags.
I have it that way, but nothing shows up.

Any ideas ?

Thanks.
Reply With Quote
  #9 (permalink)  
Old 12-13-2007, 01:05 PM
Casual Pligger
Pligg Version: Pligg Beta 9.8.2
Pligg Template: standard
 
Join Date: Nov 2007
Posts: 65
I have the following in my submit html settings:-

<youtube><googlevideo><xoinks><break><vimeo><revve r><myspace><img><div><ul><li>

And if for example I go to Apple iTunes Top 25, I can pull in the Album Artwork.
iTunes Top 10 Albums

-- feed field name: itms : coverart --- pligg field name: link_field3 ---
Reply With Quote
  #10 (permalink)  
Old 12-13-2007, 01:37 PM
Constant Pligger
 
Join Date: Oct 2006
Posts: 124
Quote:
Originally Posted by formula View Post
I have the following in my submit html settings:-

<youtube><googlevideo><xoinks><break><vimeo><revve r><myspace><img><div><ul><li>

And if for example I go to Apple iTunes Top 25, I can pull in the Album Artwork.
iTunes Top 10 Albums

-- feed field name: itms : coverart --- pligg field name: link_field3 ---
This is for image upload module, you have it that way and working ?

Thanks
Reply With Quote
Reply

Tags
images in rss feed, pligg rss

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
select images for submission in development ivytony Questions and Comments 74 02-20-2010 05:26 PM
Showing images in sidebar top stories - how? whoopy Questions and Comments 4 05-27-2009 10:49 AM
Image Upload is Not Showing Images on the User Pages maxkiesler Questions and Comments 2 12-01-2008 09:19 AM
RSS Import Feed - Feed Frequency Not working ant560 Questions and Comments 4 03-15-2008 05:31 AM
Images in RSS Feed spartacus Questions and Comments 6 04-20-2007 10:37 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development