Monday, November 10, 2008

Automatically Linking Content Pages

In the past, if you wanted to link together pages with previous and text page functionality. You had to in insert links manually for this work. Whenever a page was added or inserted. You had to adjust links in two more files. This is tedious work, and can introduce errors in the order the pages are linked together as well as with the table of contents. You still must write it on your own how pages are linked together sequentially. The content linking component makes life easier. It has a supporting text file in which all page links are stored together with a descriptive text in the order the pages are linked together. You simple insert the URL and description once, and you can create the table off content and the links between the pages automatically. If you change a link in the supporting text file, the changed are immediately reflected in the table of contents and link order. There is no need to update files manually. The format for the supporting text file, the Content linking List file, is very easy. First comes the URL, followed by a tab separating the URL from the description.
There is noting more to say about the format of the content linking list file. The first task is now a create a table of contents for the linked content, Before you start using any component, you should always take a look at the documentation, in which functionality is provided to ensure that you take the most direct route to achieve your goal.

No comments: