Go Back   Pligg Forum > Pligg Development > Pligg Mods
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-30-2007, 03:21 PM
Peter Peter is offline
Constant Pligger
 
Join Date: Oct 2006
Posts: 125
Downloads: 38
Uploads: 0
Thanks: 3
Thanked 1 Time in 1 Post
Showing images in RSS Feed

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
Sponsored Links
  #2 (permalink)  
Old 12-04-2007, 12:45 AM
Peter Peter is offline
Constant Pligger
 
Join Date: Oct 2006
Posts: 125
Downloads: 38
Uploads: 0
Thanks: 3
Thanked 1 Time in 1 Post
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, 07:36 PM
blaze blaze is offline
Pligg Donor
 
Join Date: Sep 2007
Posts: 188
Downloads: 18
Uploads: 0
Thanks: 7
Thanked 37 Times in 26 Posts
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-04-2007 at 10:39 PM.
Reply With Quote
The Following User Says Thank You to blaze For This Useful Post:
  #4 (permalink)  
Old 12-05-2007, 02:49 PM
Peter Peter is offline
Constant Pligger
 
Join Date: Oct 2006
Posts: 125
Downloads: 38
Uploads: 0
Thanks: 3
Thanked 1 Time in 1 Post
Thanks blaze, the thing is that I need it for image upload.

Anyone else ?
Reply With Quote
  #5 (permalink)  
Old 12-05-2007, 05:29 PM
blaze blaze is offline
Pligg Donor
 
Join Date: Sep 2007
Posts: 188
Downloads: 18
Uploads: 0
Thanks: 7
Thanked 37 Times in 26 Posts
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, 10:30 AM
Peter Peter is offline
Constant Pligger
 
Join Date: Oct 2006
Posts: 125
Downloads: 38
Uploads: 0
Thanks: 3
Thanked 1 Time in 1 Post
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, 10:04 AM
formula formula is offline
Casual Pligger
Pligg Version: Pligg Beta 9.8.2
Pligg Template: standard
 
Join Date: Nov 2007
Posts: 73
Downloads: 32
Uploads: 0
Thanks: 2
Thanked 5 Times in 5 Posts
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, 10:57 AM
Peter Peter is offline
Constant Pligger
 
Join Date: Oct 2006
Posts: 125
Downloads: 38
Uploads: 0
Thanks: 3
Thanked 1 Time in 1 Post
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, 11:05 AM
formula formula is offline
Casual Pligger
Pligg Version: Pligg Beta 9.8.2
Pligg Template: standard
 
Join Date: Nov 2007
Posts: 73
Downloads: 32
Uploads: 0
Thanks: 2
Thanked 5 Times in 5 Posts
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, 11:37 AM
Peter Peter is offline
Constant Pligger
 
Join Date: Oct 2006
Posts: 125
Downloads: 38
Uploads: 0
Thanks: 3
Thanked 1 Time in 1 Post
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



Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
v9.5: Category RSS feeds tbones Installation and Upgrade Help 20 02-18-2008 10:00 AM
Pligg default RSS feed not showing at all goopopp General Help 5 09-23-2007 02:35 AM
How to setup correctly RSS feed and cron for that? doit General Help 6 06-22-2007 09:55 PM
Images in RSS Feed spartacus General Help 6 04-20-2007 08:37 PM
RSS Feeds grinfax General Help 2 01-11-2007 08:07 PM


LinkBacks Enabled by vBSEO 3.0.0