[typo] Patch for Xbox Live Gamer Card

Kevin Fullerton kevin.fullerton at shotgun-suicide.co.uk
Wed Nov 1 04:28:33 EST 2006


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.

Cheers!

> 
> -- 
> Piers Cawley <pdcawley at bofh.org.uk>
> http://www.bofh.org.uk/
> _______________________________________________
> Typo-list mailing list
> Typo-list at rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list


More information about the Typo-list mailing list