home *** CD-ROM | disk | FTP | other *** search
/ Star Trek - Deep Space Nine Companion / StarTrek_Deep_Space_Nine_Companion_1999_WIN.iso / pc / DS9program / Pro / prctools.cxt / 00002_Field_Instructions.txt < prev    next >
Text File  |  1999-09-21  |  7KB  |  119 lines

  1. Data Preparation and Custom Pre-compiling Tools
  2. for Encyclopedia (and Episode Guides too)
  3.  
  4. 0.______ << numbered steps reflect the naming of the movie scripts
  5.  
  6. RAW ENTRY PROCESSING
  7.  
  8. <manual>
  9. Take MSWord4 files, scan and clean up anomalies.
  10. Import into Quark Express 3.3, do further cleanup.
  11. Export as Quark Tags format, do further cleanup.
  12. See Steve Taylor's instruction sheets for all the amazing details.
  13.  
  14. QuarkDecoder (custom application)
  15. Opens QuarkTag files and generates two files:
  16. Entry name list, and our custom OmniTag formatted entry files.
  17.  
  18. <manual>
  19. Import chunks of the OmniTag entry text files into a reserved area of the Director cast . Check for integrity. A typical name for such a castmember is "EPISTXT_Z" but these are entirely arbitrary.
  20.  
  21. 1.___________________CREATING THE ENTRY INDEXES
  22.  
  23. hBuildAttribs (names starting with "h" are manually called Lingo methods)
  24. The on-screen indexes are automatically built by this method. It creates phase one of the master Attribute index, which is an Entry Name (as displayed on screen) paired with pointers to its entry text as it now resides within Director. At this phase other media pointers are left blank. 
  25.  
  26. <manual>
  27. The resulting Attributes indexes for each of the three databases are inspected for syntax, and divided into individual sub-indexes by letter of the alphabet (except the CHRONOLOGY, which is by year groupings).The naming format for such a field in the cast resembles "ATTRIB_Y_EPIS".
  28.  
  29. SPECIAL EPSIODE MASSAGES_______________________("Epis Fixups")
  30. hAddCodeToEpisAttribs
  31. The Episode entries probably dont have the series code in the entry name.  "Long Goodbye, The (TNG)" If they dont, this handler is supposed to fix that.
  32. hChangeTheA
  33. The Episode entries probably start with "the" or "a", but a godd index has those articles at the end. This handler fixes that.  
  34. -=-= There may be some confusion about the series code thing. =-=-
  35.  
  36. hAssembleScrollLists
  37. The engine needs to know how to piece-together the alphabetical segments of the Attributes index when it displays the scrolling index on screen. This method scans the Attributes indexes and creates a short table of the break-points between these segments. "EPIS_ScrollPoints" is one such castmember.
  38.  
  39. hSimplyVerify
  40. There's a chance the indexes you just made are bogus. Run this to make sure they're OK.
  41.  
  42.  
  43. 2.__________________CREATING THE LOOKUP TABLES
  44.  
  45. (formerly called: hBuildShortName)
  46. Every entry needs a unique 6-character code, so that Picons and FullText indexes can be linked to the entry. This routine builds the "short-to-long" lookup tables. Typical member name: "LU_S_ENCY". These all say "ENCY" at the end but contain every entry regarrdless of being Epis, Ency, or Chronology.
  47.  
  48. Related utilities are used with existing products to UPDATE the existing indexes. 
  49. hMakeLongtoShort
  50. hCompareNewToOld
  51. hSortMe
  52. hMakeNewShorts
  53.  
  54. It is important to run  hCheckLUforFinalDups after this is done before moving on. Having duplicate shortnames is a true pain.
  55.  
  56. Then again, you may have skipped something. Run hTestAttForShortNames to make sure every entry actually HAS a shortname. Or use hMatchOldShorts or hHeyGetShorts.
  57.  
  58.  
  59. 3.__________________MEDIA LINKING
  60.  
  61. <manual>
  62. Import the Picons (small versions of all the chosen photographs and videos) into a reserved area of the Director Cast. Each file will have a unique Short Name representing the entry it is shown with.
  63.  
  64. Sort the Picons in the cast.
  65.  
  66. hUpdateAttributesList
  67. This automatically matches the picon references to their corresponding entries in the Attributes index, adding pointer(s) to each entry√ïs Attributes list. After you have done this, the Picons should not be moved, as the attribute pointers are the member NUMBERS.  You can also cross-check picons to entry names by running  hGetEntryNames, but there are thousands of picons!
  68.  
  69. hInsertVideoTags 
  70. Scans the Media folder for available video clips (which also use the Short Names) and adds pointers to the appropriate entry√ïs Attribute list. This video utility list should also be added (byhand?) to the collection of indexes in the cast as an index accessible from Found Entries Mode. (big Ency only)
  71.  
  72. Paranoia, part 17: Be sure the shortnames that get inserted into the Attrib indexes for the videos really do match the intended ("long") entry name. Run hInspectVid.
  73.  
  74. 4.__________________THE "EPISSUB" INDEXES
  75. More correctly called the "chronological", rather than alphabetical, Episode entry indexes. Exist in both the big Encyclopedia and the Episode guides. These Attrib indexes have to be built by hand unless someone writes a tool to automate this. Entries in Epissubs start with the program number, eg, "078 The Long Goddbye (TNG)" rather than "Long Goodbye, The (TNG)"
  76.  
  77. Then, these siblings of the regular "Epis" indexes have to be updated for the Text, Picon, and Video links. Use  hAddAttToEpissub. This method synchronizes the media pointers between the Epis and Epissub Attribute indexes.
  78.  
  79.  
  80. 5.__________________FULL TEXT INDEXES
  81.  
  82. hBuildWordLists
  83. Given an exclusion list, this method scans all the text files one Mode at a time, and builds a list of pointers to the occurence of words within the entries. The resulting Fulltext indexes are loaded and scanned as needed at run-time when a user requests a search on a given word.
  84.  
  85. There are a bunch of helpful utility handlers to cope with this process. The big one is the mixing of plurals and singulars together, so a search on either form of a word returns both.
  86.  
  87.  
  88. OTHER MANUAL CONSTRUCTION REQUIREMENTS
  89.  
  90. Chronology Pop-up Buttons
  91. Each of these two buttons cause a jump to specific points in the Chronology index. These points are ascertained by eye and typed into a small linear list, one for each button.  [the nature and function of these buttons is very content-specific]
  92.  
  93. Episode Series Buttons
  94. Each of these five buttons cause a jump to a subset of the alphabetical Episode index, which is a particular Episode series sorted by airing order.
  95.  
  96.  
  97. Caption List
  98. The 40-character description of each photo is manually writted and linked with the photo√ïs Short Name. This data is manually added to the caption index in the Director Cast.
  99.  
  100. Help System
  101. Approximately 40 text fields contain specific hints regarding the use of the controls and features of the product.
  102.  
  103. Stardate-to-Chronology Lookup Table
  104. This is a manually generated list which links one data type (Stardates) in ENCYLOPEDIA and EPISODE entries with another data type (Years) as used in entry names of CHRONOLOGY entries.
  105.  
  106. Attributes Lists for RESOURCES and TOPICS Modes
  107. Manually created, as these are small and very specific.
  108.  
  109.  
  110. ALL DONE?
  111. Run hUpdateCastTable to make a permanent index of cast member locations. Program uses this during authoring to make sure nothing accidentally gets moved in the cast. OK to run anytime, actually.
  112.  
  113.  
  114.  
  115. ANOMALIES <sigh!>___________________________________________
  116. Among the many are:
  117. ¬• Episode entries for the Ency include SEE: lists of (supposedly accurate) entry names of topics realted to the episode. BUT during revisions, the entry names in either existing or new episode entries may have been altered from what is already in the short-long lookups (or whatever we use to link to the entries), ie, sometimes the SEE entries dont link.
  118.  
  119. -=-=-