1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-23 05:44:53 +00:00

Minor fixes to PicoFeed integration

This commit is contained in:
Dustin Wilson 2017-02-19 18:33:03 -06:00
parent e5d825d360
commit cb664eab03
2 changed files with 4 additions and 4 deletions

View file

@ -293,8 +293,8 @@ class Database {
(new PicoFeed\Reader\Favicon)->find($url), (new PicoFeed\Reader\Favicon)->find($url),
$feed->siteUrl, $feed->siteUrl,
// Convert the date formats to ISO 8601 before inserting // Convert the date formats to ISO 8601 before inserting
$driver::formatDate($feed->date), $this->driver::formatDate($feed->date),
$driver::formatDate($resource->getLastModified()), $this->driver::formatDate($resource->getLastModified()),
$resource->getEtag(), $resource->getEtag(),
$fetchUser, $fetchUser,
$fetchPassword $fetchPassword

View file

@ -60,7 +60,7 @@ return [
'Exception.JKingWeb/NewsSync/Feed/Exception.forbidden' => 'Could not download feed "{url}" because you do not have permission to access it', 'Exception.JKingWeb/NewsSync/Feed/Exception.forbidden' => 'Could not download feed "{url}" because you do not have permission to access it',
'Exception.JKingWeb/NewsSync/Feed/Exception.unauthorized' => 'Could not download feed "{url}" because you provided insufficient or invalid credentials', 'Exception.JKingWeb/NewsSync/Feed/Exception.unauthorized' => 'Could not download feed "{url}" because you provided insufficient or invalid credentials',
'Exception.JKingWeb/NewsSync/Feed/Exception.malformed' => 'Could not parse feed "{url}" because it is malformed', 'Exception.JKingWeb/NewsSync/Feed/Exception.malformed' => 'Could not parse feed "{url}" because it is malformed',
'Exception.JKingWeb/NewsSync/Feed/Exception.xxe' => 'Refused to parse feed "{url}" because it contains an XXE attack', 'Exception.JKingWeb/NewsSync/Feed/Exception.xmlEntity' => 'Refused to parse feed "{url}" because it contains an XXE attack',
'Exception.JKingWeb/NewsSync/Feed/Exception.subscriptionNotFound' => 'Unable to find a feed at location "{url}"', 'Exception.JKingWeb/NewsSync/Feed/Exception.subscriptionNotFound' => 'Unable to find a feed at location "{url}"',
'Exception.JKingWeb/NewsSync/Feed/Exception.unsupportedFormat' => 'Feed "{url}" is of an unsupported format' 'Exception.JKingWeb/NewsSync/Feed/Exception.unsupportedFormat' => 'Feed "{url}" is of an unsupported format'
]; ];