diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-02-22 16:56:37 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-02-22 16:56:37 +0000 |
commit | d61691fd95eca1246d36b5e36d7696369301a8b5 (patch) | |
tree | 1bc5d652cd5fa7adc7278875a1d0e8bdc8aadd0d | |
parent | adf338f2c13dfd17a92d0137a13ad360320a67aa (diff) |
Removed the full-size enclosure tag and fixed alignment of the content tag.
-rw-r--r-- | modules/rss/views/feed.mrss.php | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/modules/rss/views/feed.mrss.php b/modules/rss/views/feed.mrss.php index f5d2c96f..dbaee532 100644 --- a/modules/rss/views/feed.mrss.php +++ b/modules/rss/views/feed.mrss.php @@ -26,19 +26,16 @@ <link><?= url::abs_site("photos/$child->id") ?></link> <description><?= htmlspecialchars($child->description) ?></description> <guid isPermaLink="true"><?= url::abs_site("photos/$child->id") ?></guid> - <content:encoded> - <![CDATA[<p> - <img alt="" src="<?= $child->resize_url(true) ?>" - title="<?= htmlspecialchars($child->title) ?>" - height="<?= $child->resize_height ?>" width="<?= $child->resize_width ?>" /><br /> - <?= $child->description ?> - </p> + <content:encoded> + <![CDATA[ + <p> + <img alt="" src="<?= $child->resize_url(true) ?>" + title="<?= htmlspecialchars($child->title) ?>" + height="<?= $child->resize_height ?>" width="<?= $child->resize_width ?>" /><br /> + <?= $child->description ?> + </p> ]]> - </content:encoded> - <enclosure url="<?= $child->file_url(true) ?>" - type="<?= $child->mime_type ?>" - height="<?= $child->height ?>" - width="<?= $child->width ?>"/> + </content:encoded> <media:thumbnail url="<?= $child->thumb_url(true) ?>" fileSize="<?= filesize($child->thumb_path()) ?>" height="<?= $child->thumb_height ?>" |