Skip to content

Commit e4a7372

Browse files
tweaked enclosure size
1 parent e1d4ac2 commit e4a7372

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

.DS_Store

0 Bytes
Binary file not shown.

templates/rss.xml.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<title><?= $item['name'] ?></title>
2626
<description><![CDATA[ <?= $item['description'] ?> ]]></description>
2727
<pubDate><?= date('r', strtotime($item['published'])) ?></pubDate>
28-
<enclosure url="<?= $host ?>/audio?item_id=<?= $item['id'] ?>" type="audio/mpeg" length="<?= $item['file_size'] ?? $item['size'] ?>"/>
28+
<enclosure url="<?= $host ?>/audio?item_id=<?= $item['id'] ?>" type="audio/mpeg" length="<?= $item['file_size'] ?? '10000' ?>"/>
2929
<link><?= $host ?>/item?item_id=<?= $item['id'] ?></link>
3030
<guid isPermaLink="false"><?= $host ?>/item?item_id=<?= $item['id'] ?></guid>
3131
<itunes:image href="<?= $host ?>/image?item_id=<?= $item['id'] ?>" />

0 commit comments

Comments
 (0)