I Import Feeds from yahoo, Images not displayed

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 01-15-2007, 11:22 AM
savant's Avatar
Constant Pligger
 
Join Date: Apr 2006
Location: UK
Posts: 1,181
I think this is why the problem is happening.

When you import a remote feed, you have not selected anything to be the Link_summary. So when the front page/ queued page is displayed, it can't find the summary so it will take the content, and truncate it.

In your case the you have html tags which are quite big. so pligg thinks this is just text and truncates it. that why you have ... in the middle of the link
Unfortunately pligg isn't smart enough to take html tags when truncating.

So for the mean time you can apply this little patch

in /libs/link.php

replace
PHP Code:

            
if($this->link_summary == ""){
                
$smarty->assign('story_content'$this->truncate_content());
            } else {
                
$smarty->assign('story_content'$this->link_summary);
            } 
to:

PHP Code:

            
if($this->link_summary == ""){
                
$smarty->assign('story_content'$this->content);
            } else {
                
$smarty->assign('story_content'$this->link_summary);
            } 
Reply With Quote
  #12 (permalink)  
Old 01-15-2007, 12:45 PM
New Pligger
 
Join Date: Jan 2007
Posts: 25
Savant it worked !!! Thanks for the help Savantb But there is a Big gap coming in first Post you can see it by yourself
http://www.healthknow.info/
Reply With Quote
  #13 (permalink)  
Old 01-15-2007, 01:07 PM
New Pligger
 
Join Date: Jan 2007
Posts: 25
I mean a Big Gap between the First Post and the Second Post on all Pages
Reply With Quote
  #14 (permalink)  
Old 01-15-2007, 01:30 PM
New Pligger
 
Join Date: Jan 2007
Posts: 25
I have some other problems also, i will keep posted you on changes
Reply With Quote
  #15 (permalink)  
Old 01-15-2007, 01:49 PM
savant's Avatar
Constant Pligger
 
Join Date: Apr 2006
Location: UK
Posts: 1,181
might be the <br clear="all"/>

it's coming with the rss feed.

note sure though, might want to ask a design guy
Reply With Quote
  #16 (permalink)  
Old 01-15-2007, 01:51 PM
New Pligger
 
Join Date: Jan 2007
Posts: 25
oh i removed it from pligg.tpl i dont know whether i have done correct but before first post there was a big gap.

Now i get a big gap even for comments
Reply With Quote
  #17 (permalink)  
Old 01-15-2007, 01:59 PM
savant's Avatar
Constant Pligger
 
Join Date: Apr 2006
Location: UK
Posts: 1,181
i dunno about that sorry.
Reply With Quote
  #18 (permalink)  
Old 08-07-2007, 12:44 AM
New Pligger
 
Join Date: Aug 2007
Posts: 4
Hello!
I am also facing the same problem in importing images thru RSS.
Can't we have such functioanlity so that we can filter images from RSS feeds
and display it in a extra field, if no image is there in feed then a default image
is dislayed just like it is displayed in digg videos section.
Reply With Quote
  #19 (permalink)  
Old 10-07-2008, 01:15 PM
Pligg Donor
Pligg Version: 9
Pligg Template: expertvision
 
Join Date: Mar 2008
Posts: 57
I have the same problem too and i can't import image from a feed.
somebody have resolved this problem?
thank's
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rss Import - Cron Importing images problem JonniE_M Questions and Comments 5 07-21-2009 10:47 PM
nixcron with every 5min 2 feeds import. MarioF Questions and Comments 3 04-30-2009 08:49 AM
RSS importer doesn't import images from feeds lostdeviant Questions and Comments 12 03-22-2009 09:35 PM
RSS Importer: Import all feeds - Run individual feeds anyway kleinhev Questions and Comments 0 02-15-2009 05:38 AM
RSS Importer: How can I import individual feeds, not all I have set up? slobizman Questions and Comments 1 01-03-2008 03:36 AM


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