Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199508.adf » !Internet » StarterPak/!Newsbase/Docs/Territory
StarterPak/!Newsbase/Docs/Territory
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199508.adf » !Internet |
Filename: | StarterPak/!Newsbase/Docs/Territory |
Read OK: | ✔ |
File size: | 02AC bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
How Newsbase finds its resources -------------------------------- Territory-specific resources (Templates & Messages) are searched for within a directory with the name of the current territory, eg "!Newsbase.Resources.UK". If this doesn't exist, a filename with that territory-name is searched for, to read the name of another territory to use. For example, the file "!Newsbase.Resources.USA" could contain the line "UK", to tell Newsbase to use the UK resources. Finally, if neither of these strategies succeed, the UK resources are used. If these are not present, Newsbase will not run. Sorry, but the messages written to the Newsbase logfile are still hard-coded into English...
00000000 48 6f 77 20 4e 65 77 73 62 61 73 65 20 66 69 6e |How Newsbase fin| 00000010 64 73 20 69 74 73 20 72 65 73 6f 75 72 63 65 73 |ds its resources| 00000020 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |.---------------| 00000030 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 00000040 2d 0a 0a 54 65 72 72 69 74 6f 72 79 2d 73 70 65 |-..Territory-spe| 00000050 63 69 66 69 63 20 72 65 73 6f 75 72 63 65 73 20 |cific resources | 00000060 28 54 65 6d 70 6c 61 74 65 73 20 26 20 4d 65 73 |(Templates & Mes| 00000070 73 61 67 65 73 29 20 61 72 65 20 73 65 61 72 63 |sages) are searc| 00000080 68 65 64 20 66 6f 72 20 77 69 74 68 69 6e 0a 61 |hed for within.a| 00000090 20 64 69 72 65 63 74 6f 72 79 20 77 69 74 68 20 | directory with | 000000a0 74 68 65 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 |the name of the | 000000b0 63 75 72 72 65 6e 74 20 74 65 72 72 69 74 6f 72 |current territor| 000000c0 79 2c 20 65 67 0a 22 21 4e 65 77 73 62 61 73 65 |y, eg."!Newsbase| 000000d0 2e 52 65 73 6f 75 72 63 65 73 2e 55 4b 22 2e 20 |.Resources.UK". | 000000e0 49 66 20 74 68 69 73 20 64 6f 65 73 6e 27 74 20 |If this doesn't | 000000f0 65 78 69 73 74 2c 20 61 20 66 69 6c 65 6e 61 6d |exist, a filenam| 00000100 65 20 77 69 74 68 20 74 68 61 74 0a 74 65 72 72 |e with that.terr| 00000110 69 74 6f 72 79 2d 6e 61 6d 65 20 69 73 20 73 65 |itory-name is se| 00000120 61 72 63 68 65 64 20 66 6f 72 2c 20 74 6f 20 72 |arched for, to r| 00000130 65 61 64 20 74 68 65 20 6e 61 6d 65 20 6f 66 20 |ead the name of | 00000140 61 6e 6f 74 68 65 72 20 74 65 72 72 69 74 6f 72 |another territor| 00000150 79 20 74 6f 0a 75 73 65 2e 20 46 6f 72 20 65 78 |y to.use. For ex| 00000160 61 6d 70 6c 65 2c 20 74 68 65 20 66 69 6c 65 20 |ample, the file | 00000170 22 21 4e 65 77 73 62 61 73 65 2e 52 65 73 6f 75 |"!Newsbase.Resou| 00000180 72 63 65 73 2e 55 53 41 22 20 63 6f 75 6c 64 20 |rces.USA" could | 00000190 63 6f 6e 74 61 69 6e 20 74 68 65 20 6c 69 6e 65 |contain the line| 000001a0 0a 22 55 4b 22 2c 20 74 6f 20 74 65 6c 6c 20 4e |."UK", to tell N| 000001b0 65 77 73 62 61 73 65 20 74 6f 20 75 73 65 20 74 |ewsbase to use t| 000001c0 68 65 20 55 4b 20 72 65 73 6f 75 72 63 65 73 2e |he UK resources.| 000001d0 20 46 69 6e 61 6c 6c 79 2c 20 69 66 20 6e 65 69 | Finally, if nei| 000001e0 74 68 65 72 20 6f 66 20 74 68 65 73 65 0a 73 74 |ther of these.st| 000001f0 72 61 74 65 67 69 65 73 20 73 75 63 63 65 65 64 |rategies succeed| 00000200 2c 20 74 68 65 20 55 4b 20 72 65 73 6f 75 72 63 |, the UK resourc| 00000210 65 73 20 61 72 65 20 75 73 65 64 2e 20 49 66 20 |es are used. If | 00000220 74 68 65 73 65 20 61 72 65 20 6e 6f 74 20 70 72 |these are not pr| 00000230 65 73 65 6e 74 2c 0a 4e 65 77 73 62 61 73 65 20 |esent,.Newsbase | 00000240 77 69 6c 6c 20 6e 6f 74 20 72 75 6e 2e 0a 0a 53 |will not run...S| 00000250 6f 72 72 79 2c 20 62 75 74 20 74 68 65 20 6d 65 |orry, but the me| 00000260 73 73 61 67 65 73 20 77 72 69 74 74 65 6e 20 74 |ssages written t| 00000270 6f 20 74 68 65 20 4e 65 77 73 62 61 73 65 20 6c |o the Newsbase l| 00000280 6f 67 66 69 6c 65 20 61 72 65 20 73 74 69 6c 6c |ogfile are still| 00000290 20 68 61 72 64 2d 63 6f 64 65 64 0a 69 6e 74 6f | hard-coded.into| 000002a0 20 45 6e 67 6c 69 73 68 2e 2e 2e 0a | English....| 000002ac