Add debugging data
This commit is contained in:
parent
099ebc059f
commit
43955e58c8
|
@ -33,6 +33,8 @@ usort($items, function($a, $b) {
|
||||||
|
|
||||||
// Loop through the sorted items and display them
|
// Loop through the sorted items and display them
|
||||||
foreach ($items as $item) {
|
foreach ($items as $item) {
|
||||||
|
// Debugging
|
||||||
|
echo $item->pubDate . ' => ' . strtotime($item->pubDate) . '<br>';
|
||||||
// Add a box around the article
|
// Add a box around the article
|
||||||
echo '<div class="article-box">';
|
echo '<div class="article-box">';
|
||||||
|
|
||||||
|
|
Reference in New Issue