Go to Post In my opinion, watching someone CAD is about as exciting as watching them sleep. - DampRobot [more]
Home
Go Back   Chief Delphi > Other > FIRST-related Organizations > The Blue Alliance
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 28-03-2008, 04:31
Nibbles Nibbles is offline
Interstellar Hitchhiker
AKA: Austin Wright
FRC #0498 (Cobra Commanders)
Team Role: Alumni
 
Join Date: Jan 2008
Rookie Year: 2003
Location: Arizona
Posts: 103
Nibbles is just really niceNibbles is just really niceNibbles is just really niceNibbles is just really niceNibbles is just really nice
Re: Test new TBA feature

Quote:
Originally Posted by fimmel View Post
try changing the last 2 characters to the iframe from:
Code:
/>
to:
Code:
></iframe>
that fixed cutting the rest of the page off on my site

...forest
I don't know why the XML tag shorthand was used, especially considering that iframes have been depreated, and the whole rest of the tag isn't valid XML anyways.

You MUST (rfc 2119) encode attributes with their entitles. This means replace the & with &amp; as shown:
Code:
<iframe src="http://www.thebluealliance.net/tbatv/iframe_playlist.php?frontcolor=ffcc00&amp;backcolor=660000&amp;lightcolor=ffff00&amp;year=2007&amp;team=177" frameborder="0" height="470" width="395" scrolling="no"></iframe>
This holds for both HTML and XML.

Teams use the XHTML format, team 237 for example, with invalid XML. The only reason no XML error parser errors show up is because browsers will not use an XML parser unless application/xhtml+xml is sent in the Content-type header (sending documents as text/html will make browsers use the standards mode SGML parser). Don't get me wrong, XHTML is great, I use an XSL parser to make edits to my teams website, you can't do that with plain old HTML

Iframes are really hackish, it would be much better to create a custom flash player that will grab the team list, instead of coding it in HTML loaded from an iframe, or link to the list of videos otherwise.

Last edited by Nibbles : 28-03-2008 at 04:34.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[TBA] TBA Presents... Soldering and Multimeter Tutorials Greg Marra General Forum 0 27-01-2007 20:15
New chat feature? mtrawls CD Forum Support 16 22-07-2004 15:13
A new feature Kris Verdeyen CD Forum Support 1 11-05-2002 11:53
new feature Brandon Martus Announcements 15 04-08-2001 21:41
best new feature? Joe Ross CD Forum Support 2 01-06-2001 18:57


All times are GMT -5. The time now is 19:46.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi