Results 1 to 2 of 2
  1. #1
    New Pligger koltz's Avatar
    Joined
    Oct 2006
    Posts
    19

    Bug with Importing RSS feeds?

    Some feeds convert apostrophe's and ampersand's to ' and & I believe the file link.php is where the code goes in, but not positive. Here is the code I have so far, but doesn't seem to work in the places that I put it in.

    Code:
    			$title = ereg_replace("'", "\'", $title);
    			$title = ereg_replace("&", "&", $title);
    In the function read(), just above the return true; statement.

    I also put it in the function read_basic() above the return true;

    Thanks,

    Corey

  2. #2
    New Pligger koltz's Avatar
    Joined
    Oct 2006
    Posts
    19
    Ok, instead of above, if I put the code underneath:

    Code:
    $title_short = htmlspecialchars(wordwrap($this->title, 30, " ", 1));
    Like this:
    Code:
    	$title_short = htmlspecialchars(wordwrap($this->title, 30, " ", 1));
    			$title_short = ereg_replace("'", "\'", $title_short);
    			$title_short = ereg_replace("&", "&", $title_short);
    I get it to display properly except now it is putting that into the discuss link and then discuss doesn't work, so making progress

Similar Threads

  1. RSS Importer: Import all feeds - Run individual feeds anyway
    By kleinhev in forum Questions & Comments
    Replies: 1
    Last Post: 05-10-2012, 08:53 AM
  2. why only summary importing for rss feeds
    By manila in forum Questions & Comments
    Replies: 0
    Last Post: 04-06-2009, 10:14 PM
  3. RSS Feeds not auto-importing
    By aboeing in forum Questions & Comments
    Replies: 1
    Last Post: 10-28-2007, 04:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Donate to Pligg CMS Dreamhost Web Hosting Host Gator Web Hosting