opmllogo:
Outline Processor Markup Language

 
About

Home

Spec

Directory

Validator

Editor



 
 

Proposal for "expanded" attribute for outline elements

Posted by dave.winer@gmail.com, 8/30/07 at 5:39:31 PM.

Background 

After discussing the idea of an expanded attribute for outline elements, I got a key new piece of information -- in some applications there is no distinction between a file format and an application's internal data structures. An example are Javascript apps running in a web browser. For them, my advice that expansionState not be maintained while the app is running is impractical.

I asked if there were apps ready to take advantage of this, and while no clear answer came back, I believe that if OPML had the ability to express expansion state as an outline-level attribute, such apps might appear in relatively short order. Therefore I'd like to offer a proposal and hear what people think.

Proposal 

Add a paragraph to the Other special attributes section of the OPML 2.0 draft spec:

"expanded is a string with two possible values, true or false. If true, the outline element is said to be expanded, its first-level sub-outlines are visible when displayed. The attribute is optional; if not present, the outline's first-level sub-outlines are not visible when displayed."





© Copyright 2000-2010, Scripting News, Inc.
OPML is a trademark of Scripting News, Inc.
Last update: Thursday, January 21, 2010 at 6:01:54 AM.

Create your own Manila site in minutes. Everyone's doing it!