mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-22 17:45:40 +03:00
Add items in reverse order (add to front) for correct ordering
This commit is contained in:
parent
182dcbec60
commit
d1fe87651d
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ class MangareaderBridge extends BridgeAbstract{
|
|||
$item->description = htmlspecialchars(substr($xpath->query("td[1]", $chapter)->item(0)->nodeValue, strrpos($item->title, ": ") + 2));
|
||||
$item->date = $xpath->query("td[2]", $chapter)->item(0)->nodeValue;
|
||||
$item->content = $item->description . "<br/><time datetime=\"" . $item->date . "\">" . $item->date . "</time>";
|
||||
$this->items[] = $item;
|
||||
array_unshift($this->items, $item);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue