e-dschungel / rssgoemail

rssgoemail is an RSS to Email script in PHP
19 stars 6 forks source link

The following feed contains errors - some tips #16

Open BB-outlock opened 3 days ago

BB-outlock commented 3 days ago

Good morning,

I get a mail: The following feed contains errors: https://sprzedajemy.pl/lista-ofert.atom?inp_category_id=1256&inp_location_id=18&inp_price%5Bto%5D=7000

Can yuo give me some tips how I Can solve a problem with the RSS Channel ?

e-dschungel commented 2 days ago

Hello,

this error can have different causes. Most likely the server isn't responding before the timeout. This happens even for large server farms like github from time to time. Is this a permanent error or does it just occur from time to time?

To get more detailed error information you can change this line https://github.com/e-dschungel/rssgoemail/blob/c13b471282be771466a7e67a366a294234f95dfe/src/rssgoemail_functions.php#L263 to

$accumulatedText .= $rge_config['errorInFeed'] . " " . $rge_config['feedUrls'][$key] . ": " . $error . "\n";

e-dschungel commented 2 days ago

Or https://github.com/e-dschungel/rssgoemail/blob/c13b471282be771466a7e67a366a294234f95dfe/src/rssgoemail_functions.php#L306

depending on the option you use.