Internal Users

Related Links

University Links

tour_functions.pl API

The following Perl subroutines from tour_functions.pl provide some common routines needed for creating tour pages.

get_tour_title
Get the title of the tour from the tour framework.
It's the first non-empty line
NB: (@tour_framework is global)

parse_tour_framework_body
Produces two global variables:
  • @filenames : a list of filenames of tour pages
  • %annotations : a list of annotations of tour pages

button_bar
Create a navigation button bar for the tour

location_bar
Create a location button bar for the tour containing links to all the pages in the tour, and indicating which page the user is on.

get_tour_data ($tour_file)
Get a list of tour details (filenames, pagenumbers, etc.)

get_page_title ($filename)
Search an HTML file for it's <TITLE>




 UKC Department Search Research Courses Publications