THDL Toolbox > Developers' Zone > Web-Development > THDL Toolbox Markup > How to Call Particular Pages
Contributor(s): Than Grove
There are two ways to have a particular page appear in the right-side IFrame. You can either call the page that is encoded in the XML file by using its <div>'s ID attribute or you can call any wiki page by using the pages public URL without the prefix "https://collab.itc.virginia.edu/access".
If the page is part of the XML hierarchy in the toolbox.xml file, then you can use that <div>'s ID attribute in the URL by appending "?id=thdl####" to the Toolbox's URL. For instance, the ID for the <div> for "Creating Instructional Units" is "thdl1173728163652". To link to the Toolbox and have that page appear, the URL would be www.thdl.org/tools/toolbox/index.php?id=thdl1173728163652. The same applies to any page encoded in the XML hierarchy.
Pages that are not encoded in the XML hierarchy can be made to appear within the toolbox IFrame by using the pages public URL minus the "https://collab.itc.virginia.edu/access" prefix. Instead, one should put the URL for the toolbox with "?pg=" and then the shortened URL for the public page. However, any spaces in the public URL, which usually occur in the page name, need to be replaced by the caret (^) and any ampersands (&) in the URL have to be changed to asterisks (*). For instance, the address for the page for the Tibetan Machine Web font is not in encoded in the XML hierachy. It's public page is at https://collab.itc.virginia.edu/access/wiki/site/26a34146-33a6-48ce-001e-f16ce7908a6a/tibet%20machine%20web.html. To have this appear in the toolbox page, the link would be www.thdl.org/tools/toolbox/index.php?pg=/wiki/site/26a34146-33a6-48ce-001e-f16ce7908a6a/tibet^machine^web.html
And the Toolbox call for Updating Uniscribe for Tibetan in Windows 2000 & XP is: www.thdl.org/tools/toolbox/index.php?pg=/wiki/site/26a34146-33a6-48ce-001e-f16ce7908a6a/updating^uniscribe^for^tibetan^in^windows^2000^*^xp.html