Inspired Logic | mcRipper | Download mcRipper | Download mcRipper (binhex)
How To | Bugs/To-Dos | ChangeLog | Text Format | Example | About MetaCard | Runtime Revolution

mcRipper -- A MetaCard stack deconstructor and reconstructor

Text Format

mcRipper uses XML. The basic structure is:


<file>
<stack name="background tester">
<script></script>
<properties>
<prop1></prop1>
<prop2></prop2>
</properties>
<background name="back1">
<control>
</control>
</background>
<card>
<button name="New Button">
<script><![CDATA[on mouseUp
put "this is the script"
end mouseUp
]]></script>
<properties>
<prop1></prop1>
<prop2></prop2>
</properties>
</button>
<group name="back1"></group>
</card>
</stack>
<stack name="a substack">
</stack>
</file>

Each item, regardless of type, is followed by its script, then its properties, one to a line. All data are escaped to not contain <. Data with carriage returns is stored as CDATA, and escaped not to have ]] in it. More info coming on escaping, or look at the source. Each property line is the name of the property as a tag, the value of the property, and the name of the property as a closing tag.