first_page

UriTree Handles More Than Just HTTP Links

XSD mavens may wonder why our schema does not declare anyURI for the OPML url attribute. This is because UriTree is a Windows Desktop application and needs to handle more than Web protocols. To assist in this design goal the app.config file for UriTree allows you to specify a local and remote XML set—this asserts a convention where a local XML set can contain desktop specific links and a remote set can contain “public” Web links. In the applicationSettings block for UriTree.exe.config, we have the settings ResourcesLocal and ResourcesRemote respectively. This convention makes UriTree eliminate the conceptual differences between local and remote links, the proprietary Windows desktop and the Word Wide Web. The following table highlights the kind of local resources you can put in UriTree:

**Local Resource** **Remarks**
`<outline text="Development Server" type="link" url="http://%ComputerName%/"/>` This is the link to my local Web server. UriTree takes advantage of the [Environment.ExpandEnvironmentVariables()](http://msdn2.microsoft.com/en-us/library/system.environment.expandenvironmentvariables.aspx) member during Resource parsing.
`<outline text="Device Manager" type="link" url="%SystemRoot%\System32\DEVMGMT.MSC"/>` This item links to the Windows XP Device Manager.
`<outline text="Edit HOSTS File" type="link" url="%ProgramFiles%\Notepad++\notepad++.exe %SystemRoot%\System32\DRIVERS\ETC\HOSTS"/>` This is a link to the Windows XP HOSTS file.
`<outline text="Event Viewer" type="link" url="%SystemRoot%\System32\eventvwr.msc /s"/>` This is a link to the Windows XP Event Viewer.
`<outline text=".NET 2.0 SDK Folder" type="link" url="%ProgramFiles%\Microsoft Visual Studio 8\SDK\v2.0\Bin" />` This is a link to the .NET 2.0 SDK Folder.
`<outline text=".NET Global Assembly Cache" type="link" url="%SYSTEMROOT%\assembly" />` A quick link to the .NET Global Assembly Cache.

rasx()