Hi David,
Just a thought, but sometimes I upload a feed and incorporate into my site, but don't necessarily add it to my fetch script for a cron job immediately or sosmetimes for whatever reason the feed hasn't imported due to an error in the networks site.
Just wondered As a reminder function, whether there's a way each row of the feed that hasn't been included in the most recent imported can be highlighted in the admin panel?
Is that do-able?
Cheers
Paul
Hi David,
Works great thanks, just a simple reminder, to action so thanks for that really useful.
Cheers!
Paul
Hi Paul,
One option might be to highlight the imported date for any feed that hasn't been imported within, say, 1 week. To do this, in admin/index.php, look for the following code at line 142 (latest distribution) or line 120 (original distribution):
print "<td>".($feeds[$filename]["imported"] ? rfctime($feeds[$filename]["imported"]) : " ")."</td>";
...and REPLACE with:
print "<td>";
if ($feeds[$filename]["imported"])
{
if ($feeds[$filename]["imported"] < strtotime("-1 week"))
{
print "<span style='color:red;'>".rfctime($feeds[$filename]["imported"])."</span>";
}
else
{
print rfctime($feeds[$filename]["imported"]);
}
}
else
{
print " ";
}
print "</td>";
That will highlight in red any feeds not imported within the last week...
Cheers,
David.