I've recently set up a new 4.4 site on a local development server and a remote hosted server, both Linux. The Drupal site is otherwise working but I am unable to import a single feed. After following the install directions scrupulously and attempting to insert a number of rss sites and formats, I get these error messages:
failed to parse RSS feed : not well-formed (invalid token) at li
Error while parsing http://slashdot.org/slashdot.rdf
failed to parse RSS feed : junk after document element at line 1
Error while parsing http://www.aspfree.com/syndication.rss
failed to parse RSS feed : syntax error at line 1.
Error while parsing http://rss.com.com/2547-1_3-0-5.xml
Since no one else seems to be having this problem, this may be a configuration issue. In that case, this becomes simply a documentation issue.
Thanks,
dan
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | drupalimport.patch | 242 bytes | Anonymous (not verified) |
Comments
Comment #1
dziemecki commentedI should add that each of these sites are currently working under the previous version on Import, on the same servers.
dan
Comment #2
(not verified) commentedIn includes/common.inc, if line 337 and 338:
while (!feof($fp) && $data = fread($fp, 1024)) {
$response .= $data;
are changed back to a previous version of the code, listed here:
while (!feof($fp) && $data = fgets($fp, 1024)) {
$response[] = $data;
and remove line 343:
$response = preg_split("/\r\n|\n|\r/", $response);
then it all seems to work correctly.
Comment #3
James Addison commentedoops. That Anonymous patch submission was from me! My apologies for forgetting to log in. :)
Comment #4
Bèr Kessels commented1) are you talking about the old aggregator.module or about the import with node based import (now named node aggegregator)?
2) could you tell me why we would need to patch the common.inc and not patch the module? Chances are nihil that a patch that changes core functionality will get in, just to fix a rarely used contribution!
3) could you please add the -u flag when making a patch. The patch you send is near to unreadable for humans.
Comment #5
(not verified) commentedI too am suffering this fate... the patch doesnt seem to help here tho... for me it's the contrib "import.module" which vanished from this site a month or so ago without a trace.
Comment #6
(not verified) commentedIt indeed vanished, due to names clashing (there were more import.modules ;) ), but not without a trace.
http://cvs.drupal.org/viewcvs/contributions/modules/import/Attic/
Now that the new release of drupal is due, I want to get this module up and running for at least that version. Help is always welcome ofcourse!
regards, Ber
Comment #7
Bèr Kessels commentedMarking this non-critical, to provide it from sticking on top in drupal issues. If you do feel it is critical, please tell us why it is critical for drupal as a whole (that is what tha status is meant for) and set back to critical.
I have not heard from this for a while. Any life? anyone still having this problem?
Comment #8
Bèr Kessels commentedhttp://drupal.org/node/8128