Browse Source

hide gemfeed dates

main
yggverse 7 months ago
parent
commit
7c47b94760
  1. 10
      src/Controller/Server/Nex.php

10
src/Controller/Server/Nex.php

@ -171,6 +171,15 @@ class Nex implements MessageComponentInterface @@ -171,6 +171,15 @@ class Nex implements MessageComponentInterface
// Get channel items
foreach ((array) $this->_database->getChannelItems($channel->id, 0, 20) as $channelItem)
{
$lines[] = sprintf(
'=> /%d.gmi %s',
$channelItem->id,
\Yggverse\Pulsar\Model\Filter::string(
$channelItem->title
)
);
/* @TODO make gemfeed date optional
$lines[] = sprintf(
'=> /%d.gmi %s %s',
$channelItem->id,
@ -183,6 +192,7 @@ class Nex implements MessageComponentInterface @@ -183,6 +192,7 @@ class Nex implements MessageComponentInterface
$channelItem->title
)
);
*/
if ($channelItem->description)
{

Loading…
Cancel
Save