[typo] Patch for Xbox Live Gamer Card

Piers Cawley pdcawley at bofh.org.uk
Wed Nov 1 13:07:17 EST 2006


Kevin Fullerton <kevin.fullerton at shotgun-suicide.co.uk> writes:

> On 07:40 Wed 01 Nov     , Piers Cawley wrote:
>> Kevin Fullerton <kevin.fullerton at shotgun-suicide.co.uk> writes:
>> > Just started using Typo, loving it so far.
>> 
>> Thanks.
>> 
>> > I've put the Xbox Live Gamer Card plugin on my install, but it was
>> > causing the page to not be validated as XHTML, so I've patched the
>> > view with the fix.
>> >
>> > Index: vendor/plugins/xbox_sidebar/views/content.rhtml
>> > ===================================================================
>> > --- vendor/plugins/xbox_sidebar/views/content.rhtml	(revision 1281)
>> > +++ vendor/plugins/xbox_sidebar/views/content.rhtml	(working copy)
>> > @@ -1,2 +1,2 @@
>> >  <h3>Xbox Live Gamer Card</h3>
>> > -<iframe src="http://gamercard.xbox.com/<%= URI.escape(gamertag) %>.card" scrolling="no" frameBorder="0" height="140" width="204"><%= gamertag %></iframe>
>> > +<iframe src="http://gamercard.xbox.com/<%= URI.escape(gamertag) %>.card" scrolling="no" frameborder="0" height="140" width="204"><%= gamertag %></iframe>
>> 
>> There doesn't appear to be any difference. 
>
> The definition of frameborder is case-sensitive for XHTML - the
> shipped version is frameBorder which doesn't validate, the change
> makes it frameborder which does validate.

D'oh! It seems I'm case insensitive too! I thought I'd read through
that patch character by character several times and I couldn't see the
difference. 

-- 
Piers Cawley <pdcawley at bofh.org.uk>
http://www.bofh.org.uk/


More information about the Typo-list mailing list