From: blizzard Date: Sun, 19 Oct 2008 00:33:21 +0000 (+0000) Subject: 2008-10-18 Christopher Blizzard X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=220f80d54953923735ef7be062a1f5384f3c6c65;p=whoisi.git 2008-10-18 Christopher Blizzard * whoisi/templates/youtube-widget.mak: Show 3 videos on one line. * services/command/youtube.py: Add license header. git-svn-id: svn://trac.whoisi.com/whoisi/trunk@8 ae879524-a8bd-4c4c-a5ea-74d2e5fc5a2c --- diff --git a/ChangeLog b/ChangeLog index dd647b8..d5664cf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-10-18 Christopher Blizzard + + * whoisi/templates/youtube-widget.mak: Show 3 videos on one line. + + * services/command/youtube.py: Add license header. + 2008-10-18 Christopher Blizzard * utils/convert-flickr-ids.py: Script to fix all of the !#@&*#^@* diff --git a/services/command/youtube.py b/services/command/youtube.py index 6b371bf..062be88 100644 --- a/services/command/youtube.py +++ b/services/command/youtube.py @@ -1,3 +1,25 @@ +# Copyright (c) 2008 Christopher Blizzard +# +# Permission is hereby granted, free of charge, to any person +# obtaining a copy of this software and associated documentation files +# (the "Software"), to deal in the Software without restriction, +# including without limitation the rights to use, copy, modify, merge, +# publish, distribute, sublicense, and/or sell copies of the Software, +# and to permit persons to whom the Software is furnished to do so, +# subject to the following conditions: +# +# The above copyright notice and this permission notice shall be +# included in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS +# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + import urlparse import cgi import re diff --git a/whoisi/templates/youtube-widget.mak b/whoisi/templates/youtube-widget.mak index a6a12ba..1e492ae 100644 --- a/whoisi/templates/youtube-widget.mak +++ b/whoisi/templates/youtube-widget.mak @@ -92,7 +92,7 @@ except: %endif -%if int(i+1) % 6 == 0: +%if int(i+1) % 3 == 0:
%endif %endfor