Go Back   Pligg CMS Forum > Pligg Development > Bug Report

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,218
Thanks: 64
Thanked 207 Times in 148 Posts
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);
            } 
__________________
Anatomy of the Pligg template Help needed
Reply With Quote
  #12 (permalink)  
Old 01-15-2007, 12:45 PM
New Pligger
 
Join Date: Jan 2007
Posts: 25
Thanks: 0
Thanked 1 Time in 1 Post
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
Thanks: 0
Thanked 1 Time in 1 Post
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
Thanks: 0
Thanked 1 Time in 1 Post
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,218
Thanks: 64
Thanked 207 Times in 148 Posts
might be the <br clear="all"/>

it's coming with the rss feed.

note sure though, might want to ask a design guy
__________________
Anatomy of the Pligg template Help needed
Reply With Quote
  #16 (permalink)  
Old 01-15-2007, 01:51 PM
New Pligger
 
Join Date: Jan 2007
Posts: 25
Thanks: 0
Thanked 1 Time in 1 Post
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,218
Thanks: 64
Thanked 207 Times in 148 Posts
i dunno about that sorry.
__________________
Anatomy of the Pligg template Help needed
Reply With Quote
  #18 (permalink)  
Old 08-07-2007, 12:44 AM
New Pligger
 
Join Date: Aug 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Same problem for me

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: 58
Thanks: 11
Thanked 0 Times in 0 Posts
I have the same problem too and i can't import image from a feed.
somebody have resolved this problem?
thank's
__________________
---------------------------------------------------------------------------------------
Free News - Video Music - Gossip News - Viaggi e Vacanze - Cani - Gatti - Travel Rss
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

BB 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
RSS importer doesn't import images from feeds lostdeviant General Help 2 05-07-2008 09:29 AM
RSS Importer -> Import complete feeds corinevm General Help 1 01-29-2008 06:52 AM
RSS Importer: How can I import individual feeds, not all I have set up? slobizman General Help 1 01-03-2008 03:36 AM
RSS Import Images - Looking to Hire spagib Modification Tutorials 5 08-20-2007 12:40 AM
RSS Import issue with Dapper feeds envieme General Help 0 03-06-2007 12:54 PM


Search Engine Friendly URLs by vBSEO 3.2.0