help   |   preferences

Testing a SiteInfo File


Testing a siteinfo.xml file is made much easier when the A9 toolbar is made to point at the same siteinfo URL all of the time. Otherwise, the A9 toolbar will only pick up the domain's siteinfo, meaning that you could only test a live document. The steps to redirect (or to stop redirecting) to another URL are as follows.

In Internet Explorer

Open regedit.exe and find the registry key

HKEY_CURRENT_USER/Software/A9/Settings
Add a string value called "SiteInfoDebugLocation". The value of this should be a string containing the URL of the siteinfo.xml. So, for example, "http://yourcompany.com/debug/testsiteinfo.xml". You will need to restart your browser for this to take effect.

When you are done just remove the registry string entry added above.

In FireFox

In the address bar your FireFox browser, type

about:config
Add an entry
a9toolbar.SiteInfoDebugLocation
The value of this should be a string containing the URL of the siteinfo.xml. So, for example, "http://yourcompany.com/debug/testsiteinfo.xml". You will need to restart your browser for this to take effect.

When you are done just delete the setting.

Important Testing Notes

If this works then you will see the contents of your SiteInfo file in the Site Info menu of the toolbar. You should also see a menu item that says "DEBUG-MENU - Click here for more info". If you click on it you will be sent to a page that says that you are debugging a siteinfo file. A link is provided to this page. Also note that the siteinfo.xml file is only loaded on domain change. So, for example, if you are on domain A, look at the Site Info menu contents, then edit your test siteinfo.xml, then the Site Info button contents will not change until you navigate to domain B.