diff options
author | Wojciech Polak <polak@gnu.org> | 2011-10-27 21:18:12 +0200 |
---|---|---|
committer | Wojciech Polak <polak@gnu.org> | 2011-10-27 21:18:12 +0200 |
commit | f69945b2c6f5311ae2b0824dfb31169349096133 (patch) | |
tree | d9563bfb88d682c9e792097fb28d5af266b53fd8 | |
parent | 5d16fbc64d7e7fa185a15cff59e395b69d4bca50 (diff) | |
download | glifestream-f69945b2c6f5311ae2b0824dfb31169349096133.tar.gz glifestream-f69945b2c6f5311ae2b0824dfb31169349096133.tar.bz2 |
Bugfix
-rw-r--r-- | apis/vimeo.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apis/vimeo.py b/apis/vimeo.py index 655b3ec..4eedb95 100644 --- a/apis/vimeo.py +++ b/apis/vimeo.py @@ -1,4 +1,4 @@ -# gLifestream Copyright (C) 2009, 2010 Wojciech Polak +# gLifestream Copyright (C) 2009, 2010, 2011 Wojciech Polak # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the @@ -107,7 +107,7 @@ class API: e.content = """<table class="vc"><tr><td><div id="vimeo-%s" class="play-video"><a href="%s" rel="nofollow"><img src="%s" width="200" height="150" alt="%s" /></a><div class="playbutton"></div></div></td></tr></table>""" % (ent['video_id'], e.link, ent['video_thumbnail_medium'], ent['video_title']) mblob = media.mrss_init () - mblob['content'].append ([{'url': 'http://vimeo.com/moogaloop.swf?clip_id=' + ent['video_id'], + mblob['content'].append ([{'url': 'http://vimeo.com/moogaloop.swf?clip_id=%s' % ent['video_id'], 'type': 'application/x-shockwave-flash', 'medium': 'video'}]) e.mblob = media.mrss_gen_json (mblob) @@ -146,7 +146,7 @@ class API: e.content = """<table class="vc"><tr><td><div id="vimeo-%s" class="play-video"><a href="%s" rel="nofollow"><img src="%s" width="200" height="150" alt="%s" /></a><div class="playbutton"></div></div></td></tr></table>""" % (ent['id'], e.link, ent['thumbnail_medium'], ent['title']) mblob = media.mrss_init () - mblob['content'].append ([{'url': 'http://vimeo.com/moogaloop.swf?clip_id=' + ent['id'], + mblob['content'].append ([{'url': 'http://vimeo.com/moogaloop.swf?clip_id=%s' % ent['id'], 'type': 'application/x-shockwave-flash', 'medium': 'video'}]) e.mblob = media.mrss_gen_json (mblob) |