aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojciech Polak <polak@gnu.org>2011-10-27 21:18:12 +0200
committerWojciech Polak <polak@gnu.org>2011-10-27 21:18:12 +0200
commitf69945b2c6f5311ae2b0824dfb31169349096133 (patch)
treed9563bfb88d682c9e792097fb28d5af266b53fd8
parent5d16fbc64d7e7fa185a15cff59e395b69d4bca50 (diff)
downloadglifestream-f69945b2c6f5311ae2b0824dfb31169349096133.tar.gz
glifestream-f69945b2c6f5311ae2b0824dfb31169349096133.tar.bz2
Bugfix
-rw-r--r--apis/vimeo.py6
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)

Return to:

Send suggestions and report system problems to the System administrator.