Complete Site Index in XML

Site Index Graphic

This article provides the vbAccelerator Site Index in XML format. The index can be used for locating articles and downloads, including the download contents and can be used for site linking purposes.

The Site Index Schema

The schema for the index xml document contains four elements:

  1. The ArticleList element is the root element of the document.
  2. ArticleList contains 0 or more Article elements, which specify the title and location of an article.
  3. An Article can have 0 or more Zip elements for each associated download for the article.
  4. Each Zip element contains 1 or more ZipContent elements, which specify the names of the file within the download.

An excerpt from the Site Index xml file is given here:

<ArticleList site="/index.html">
       title="vbAccelerator ImageList Control and Class v2.0"
         title="ImageList Class Example, VB5 or VB6" 
         <ZipContentFile file="256-1.bmp" id="36" />
         <ZipContentFile file="pImageListClass.exe" id="37" />
         <ZipContentFile file="testils.res" id="38" />
         <ZipContentFile file="frmImageListClass.frx" id="39" />
         <ZipContentFile file="frmImageListClass.frm" id="40" />
         <ZipContentFile file="cVBALImageList.cls" id="41" />
         <ZipContentFile file="256-m1.bmp" id="42" />

Linking to the Site

There are two ways you can link to an article on the site using the information in the XML file.

  1. Linking Using the Redirect Pages

    Each article and zip has a unique identifier stored in the id attribute. These can be used with the vbAccelerator redirect pages to get to the item:

    • The article redirector has the URL
    • The zip file redirector has the URL
  2. Linking Directly

    The href attribute of the article and zip points directly to the article or zip download page.

There is no particular reason for choosing one or other of these choices. Pages which are moved to a new URL have a redirect written out in the old page location, hence URLs are persistent. However, the redirect pages make for shorter URLs and may be more convenient.