diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-02-23 18:41:22 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-02-23 18:41:22 +0000 |
commit | e2f2ff4a7f0dc6b388a7ac91f28d4a7a16a91a4e (patch) | |
tree | d80c017672f3ec8ed845a8acfe5c64ad28fba665 /modules/rss | |
parent | c0049dce03920bfd0e841c6a7a0a7d0a4c7c2c5c (diff) |
Change the way movies are presented in the feed. Couldn't figure out
how to embed the object in the feed, so the recieve will still have to
click on the thumbnail to see the move. Instead of actually playing
in the feed reader.
Diffstat (limited to 'modules/rss')
-rw-r--r-- | modules/rss/views/feed.mrss.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/modules/rss/views/feed.mrss.php b/modules/rss/views/feed.mrss.php index 279ae060..11b81bdd 100644 --- a/modules/rss/views/feed.mrss.php +++ b/modules/rss/views/feed.mrss.php @@ -35,9 +35,10 @@ title="<?= htmlspecialchars($child->title) ?>" height="<?= $child->resize_height ?>" width="<?= $child->resize_width ?>" /><br /> <? else: ?> + <a href="<?= url::abs_site("{$child->type}s/{$child->id}") ?>"> <img alt="" src="<?= $child->thumb_url(true) ?>" title="<?= htmlspecialchars($child->title) ?>" - height="<?= $child->thumb_height ?>" width="<?= $child->thumb_width ?>" /><br /> + height="<?= $child->thumb_height ?>" width="<?= $child->thumb_width ?>" /></a><br /> <? endif ?> <?= $child->description ?> </p> @@ -67,7 +68,11 @@ <? endif ?> <? else: ?> <media:content url="<?= $child->file_url(true) ?>" - type="video/x-flv" /> + fileSize="<?= filesize($child->file_path()) ?>" + height="<?= $child->height ?>" + width="<?= $child->width ?>" + type="<?= $child->mime_type ?>" + /> <? endif ?> </media:group> </item> |