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.
This commit is contained in:
Tim Almdal
2009-02-23 18:41:22 +00:00
parent c0049dce03
commit e2f2ff4a7f

View File

@@ -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>