DougWebDoug's home on the Web

Skip to Content
Posted: 2 January 2006 at 11:24

IVS pseudo-HTML

Perhaps the most fundamental thing to HTML is the fact that an element is created by inserting a tag name, surrounded with < and > e.g. <elementname>. Because of this, any time you want an actual < or > to appear in the text (e.g. 2 < 4), it must be ‘escaped’ as &lt; or &gt;.

Any element content (which may include more HTML) goes after the opening tag, and is then followed by a closing tag </tag> e.g. <b>This text is bold</tag>

A tag may also have parameters passed to it via attributes e.g. <element parameter="value">

Code like that found in a typical DVD Profiler skin
<DP NAME="SOMETHING" ATTRIBUTE="<b>Some HTML embedded within the actual tag as an attribute value....</b>"> breaks all the rules on what constitutes HTML, and is thus a complete nightmare to handle.

How do you tell (algorithmically) where the <DP> element ends in this example? It’s a lot harder than just looking for the first > after <DP…

Even the source colouriser inside DVD Profiler gets confused with stuff like that, and that example came straight out of an IVS-created skin!

<td align="right" WIDTH="0"><DP NAME="LOCK_RELEASEDATE" IFSET="<IMG SRC='$DPIMAGES.Locked.gif'>"></td></TR></TABLE></TD>

Filed under: DVD Profiler Companion,Internet/WWW,Personal

You can leave a comment, or trackback from your own site. You can follow any responses to this entry through the RSS 2.0 feed.

2 Responses to “IVS pseudo-HTML”

  1. DougBlog » Archive » DVD Profiler Companion 0.1 Says:

    [...] Also (to add to this post a few days ago), I’ve discovered another ‘feature’ of IVS’s skin tags. The ‘=’ is optional… [...]

  2. kevin Says:

    very good, I liked it :)

    - Kevin

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>