home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2000 July / Macworld CD 17.07.iso / Data / Shareware / Internet / WebMiner 1.0.1.sea / WebMiner 1.0.1 / Sample Scripts / About Sample Scripts next >
MacBinary  |  1998-07-26  |  2.4 KB  |  [TEXT/ttxt]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Sun Jul 26 22:44:00 1998, modified Sun Jul 26 22:44:00 1998, creator SimpleText, type ASCII, 1656 bytes "About Sample Scripts" , at 0x6f8 532 bytes resource default (weak)
99% file data default
49% TrID Macintosh plain text (MacBinary) default
33% TrID raw Group 3 FAX bitmap default (weak)
16% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[ttxt]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 14 41 62 6f 75 74 20 | 53 61 6d 70 6c 65 20 53 |..About |Sample S|
|00000010| 63 72 69 70 74 73 00 00 | 00 00 00 00 00 00 00 00 |cripts..|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 74 74 78 | 74 01 00 00 00 00 00 00 |.TEXTttx|t.......|
|00000050| 00 00 00 00 00 06 78 00 | 00 02 14 b1 e1 99 f0 b1 |......x.|........|
|00000060| e1 99 f0 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 94 05 00 00 |........|........|
|00000080| 41 62 6f 75 74 20 53 61 | 6d 70 6c 65 20 53 63 72 |About Sa|mple Scr|
|00000090| 69 70 74 73 3a 0d 0d 54 | 68 65 73 65 20 73 61 6d |ipts:..T|hese sam|
|000000a0| 70 6c 65 20 73 63 72 69 | 70 74 73 20 61 72 65 20 |ple scri|pts are |
|000000b0| 76 65 72 79 20 62 61 73 | 69 63 20 65 78 61 6d 70 |very bas|ic examp|
|000000c0| 6c 65 73 20 6f 66 20 77 | 68 61 74 20 79 6f 75 20 |les of w|hat you |
|000000d0| 63 61 6e 20 64 6f 20 77 | 69 74 68 20 57 65 62 4d |can do w|ith WebM|
|000000e0| 69 6e 65 72 2e 20 54 68 | 65 20 73 63 72 69 70 74 |iner. Th|e script|
|000000f0| 73 20 64 6f 20 6e 6f 74 | 20 72 65 6c 79 20 6f 6e |s do not| rely on|
|00000100| 20 61 6e 79 20 74 68 69 | 72 64 2d 70 61 72 74 79 | any thi|rd-party|
|00000110| 20 41 70 70 6c 65 53 63 | 72 69 70 74 20 53 63 72 | AppleSc|ript Scr|
|00000120| 69 70 74 69 6e 67 20 45 | 78 74 65 6e 73 69 6f 6e |ipting E|xtension|
|00000130| 73 3b 20 61 6c 6c 20 79 | 6f 75 20 6e 65 65 64 20 |s; all y|ou need |
|00000140| 61 72 65 20 74 68 65 20 | 73 74 61 6e 64 61 72 64 |are the |standard|
|00000150| 20 65 78 74 65 6e 73 69 | 6f 6e 73 20 62 75 6e 64 | extensi|ons bund|
|00000160| 6c 65 64 20 77 69 74 68 | 20 4d 61 63 4f 53 20 37 |led with| MacOS 7|
|00000170| 2e 35 20 74 68 72 6f 75 | 67 68 20 38 2e 78 2e 0d |.5 throu|gh 8.x..|
|00000180| 0d 50 61 67 65 20 41 54 | 26 54 2c 20 50 61 67 65 |.Page AT|&T, Page|
|00000190| 20 53 6b 79 57 6f 72 64 | 3a 0d 0d 54 68 65 73 65 | SkyWord|:..These|
|000001a0| 20 73 63 72 69 70 74 73 | 20 61 72 65 20 76 65 72 | scripts| are ver|
|000001b0| 79 20 73 69 6d 69 6c 61 | 72 3b 20 74 68 65 79 20 |y simila|r; they |
|000001c0| 61 63 63 65 73 73 20 61 | 20 57 65 62 20 50 61 67 |access a| Web Pag|
|000001d0| 65 72 20 47 61 74 65 77 | 61 79 20 73 69 74 65 20 |er Gatew|ay site |
|000001e0| 61 6e 64 20 73 75 62 6d | 69 74 20 61 20 66 6f 72 |and subm|it a for|
|000001f0| 6d 20 74 68 61 74 20 77 | 69 6c 6c 20 70 61 67 65 |m that w|ill page|
|00000200| 20 61 6e 20 69 6e 64 69 | 76 69 64 75 61 6c 2e 20 | an indi|vidual. |
|00000210| 49 66 20 79 6f 75 20 68 | 61 76 65 20 61 6e 20 41 |If you h|ave an A|
|00000220| 54 26 54 20 6f 72 20 53 | 6b 79 57 6f 72 64 20 50 |T&T or S|kyWord P|
|00000230| 61 67 65 72 20 73 65 72 | 76 69 63 65 2c 20 65 64 |ager ser|vice, ed|
|00000240| 69 74 20 74 68 65 73 65 | 20 73 63 72 69 70 74 73 |it these| scripts|
|00000250| 20 61 6e 64 20 70 75 74 | 20 79 6f 75 72 20 50 49 | and put| your PI|
|00000260| 4e 20 6e 75 6d 62 65 72 | 20 61 6e 64 20 74 65 78 |N number| and tex|
|00000270| 74 20 6d 65 73 73 61 67 | 65 20 69 6e 74 6f 20 74 |t messag|e into t|
|00000280| 68 65 20 73 63 72 69 70 | 74 2e 20 52 75 6e 6e 69 |he scrip|t. Runni|
|00000290| 6e 67 20 74 68 65 20 73 | 63 72 69 70 74 20 77 69 |ng the s|cript wi|
|000002a0| 6c 6c 20 63 61 75 73 65 | 20 61 20 70 61 67 65 20 |ll cause| a page |
|000002b0| 74 6f 20 62 65 20 73 65 | 6e 74 20 74 6f 20 79 6f |to be se|nt to yo|
|000002c0| 75 72 20 70 61 67 65 72 | 2e 0d 0d 57 65 61 74 68 |ur pager|...Weath|
|000002d0| 65 72 20 52 61 64 61 72 | 20 49 6d 61 67 65 3a 0d |er Radar| Image:.|
|000002e0| 0d 54 68 69 73 20 69 73 | 20 61 20 73 69 6d 70 6c |.This is| a simpl|
|000002f0| 65 20 69 6d 61 67 65 20 | 68 61 6e 64 6c 69 6e 67 |e image |handling|
|00000300| 20 65 78 61 6d 70 6c 65 | 2e 20 49 74 20 64 6f 77 | example|. It dow|
|00000310| 6e 6c 6f 61 64 73 20 61 | 20 77 65 61 74 68 65 72 |nloads a| weather|
|00000320| 20 69 6d 61 67 65 20 66 | 72 6f 6d 20 54 68 65 20 | image f|rom The |
|00000330| 57 65 61 74 68 65 72 20 | 43 68 61 6e 6e 65 6c 27 |Weather |Channel'|
|00000340| 73 20 77 65 62 73 69 74 | 65 20 3c 68 74 74 70 3a |s websit|e <http:|
|00000350| 2f 2f 77 77 77 2e 77 65 | 61 74 68 65 72 2e 63 6f |//www.we|ather.co|
|00000360| 6d 2f 3e 20 61 6e 64 20 | 70 72 6f 6d 70 74 73 20 |m/> and |prompts |
|00000370| 79 6f 75 20 74 6f 20 73 | 61 76 65 20 69 74 20 74 |you to s|ave it t|
|00000380| 6f 20 64 69 73 6b 2e 20 | 54 68 65 20 69 6d 61 67 |o disk. |The imag|
|00000390| 65 20 69 73 20 73 61 76 | 65 64 20 69 6e 20 50 49 |e is sav|ed in PI|
|000003a0| 43 54 20 66 6f 72 6d 61 | 74 2e 0d 0d 5a 69 70 20 |CT forma|t...Zip |
|000003b0| 43 6f 64 65 20 4c 6f 6f | 6b 75 70 3a 0d 0d 41 20 |Code Loo|kup:..A |
|000003c0| 73 69 6d 70 6c 65 20 66 | 6f 72 6d 20 73 75 62 6d |simple f|orm subm|
|000003d0| 69 73 73 69 6f 6e 20 65 | 78 61 6d 70 6c 65 20 28 |ission e|xample (|
|000003e0| 75 73 69 6e 67 20 50 4f | 53 54 49 4e 47 29 20 77 |using PO|STING) w|
|000003f0| 68 69 63 68 20 63 61 6e | 20 72 65 74 72 69 65 76 |hich can| retriev|
|00000400| 65 20 74 68 65 20 73 74 | 61 6e 64 61 72 64 69 7a |e the st|andardiz|
|00000410| 65 64 20 61 64 64 72 65 | 73 73 20 61 6e 64 20 7a |ed addre|ss and z|
|00000420| 69 70 20 2b 20 34 20 63 | 6f 64 65 20 66 6f 72 20 |ip + 4 c|ode for |
|00000430| 61 6e 79 20 55 6e 69 74 | 65 64 20 53 74 61 74 65 |any Unit|ed State|
|00000440| 73 20 70 6f 73 74 61 6c | 20 61 64 64 72 65 73 73 |s postal| address|
|00000450| 2e 20 54 68 65 20 73 63 | 72 69 70 74 20 69 73 20 |. The sc|ript is |
|00000460| 77 72 69 74 74 65 6e 20 | 74 6f 20 70 72 6f 76 69 |written |to provi|
|00000470| 64 65 20 74 68 65 20 61 | 64 64 72 65 73 73 20 6f |de the a|ddress o|
|00000480| 66 20 74 68 65 20 57 68 | 69 74 65 20 48 6f 75 73 |f the Wh|ite Hous|
|00000490| 65 2e 0d 0d 57 65 62 20 | 50 61 67 65 20 41 6e 61 |e...Web |Page Ana|
|000004a0| 6c 79 7a 65 72 3a 0d 0d | 54 68 69 73 20 69 73 20 |lyzer:..|This is |
|000004b0| 61 20 76 65 72 79 20 75 | 73 65 66 75 6c 20 73 63 |a very u|seful sc|
|000004c0| 72 69 70 74 20 74 68 61 | 74 20 77 69 6c 6c 20 64 |ript tha|t will d|
|000004d0| 6f 77 6e 6c 6f 61 64 20 | 61 6e 79 20 77 65 62 20 |ownload |any web |
|000004e0| 70 61 67 65 20 61 6e 64 | 20 61 6e 61 6c 79 7a 65 |page and| analyze|
|000004f0| 20 69 74 2e 20 49 74 20 | 63 72 65 61 74 65 73 20 | it. It |creates |
|00000500| 61 20 66 69 6c 65 20 6c | 69 73 74 69 6e 67 20 65 |a file l|isting e|
|00000510| 76 65 72 79 20 70 61 72 | 61 67 72 61 70 68 20 61 |very par|agraph a|
|00000520| 6e 64 20 69 74 73 20 63 | 6f 6e 74 65 6e 74 73 2c |nd its c|ontents,|
|00000530| 20 65 76 65 72 79 20 69 | 6d 61 67 65 20 61 6e 64 | every i|mage and|
|00000540| 20 69 74 73 20 73 6f 75 | 72 63 65 20 55 52 4c 2c | its sou|rce URL,|
|00000550| 20 61 6e 64 20 65 76 65 | 72 79 20 74 61 62 6c 65 | and eve|ry table|
|00000560| 2c 20 61 6e 64 20 63 65 | 6c 6c 20 77 69 74 68 69 |, and ce|ll withi|
|00000570| 6e 20 65 61 63 68 20 74 | 61 62 6c 65 2c 20 61 6e |n each t|able, an|
|00000580| 64 20 65 61 63 68 20 63 | 65 6c 6c 27 73 20 63 6f |d each c|ell's co|
|00000590| 6e 74 65 6e 74 73 2e 0d | 0d 54 68 69 73 20 69 73 |ntents..|.This is|
|000005a0| 20 68 61 6e 64 79 20 77 | 68 65 6e 20 79 6f 75 20 | handy w|hen you |
|000005b0| 6e 65 65 64 20 74 6f 20 | 65 78 74 72 61 63 74 20 |need to |extract |
|000005c0| 57 65 62 20 64 61 74 61 | 20 66 72 6f 6d 20 61 20 |Web data| from a |
|000005d0| 63 6f 6d 70 6c 65 78 20 | 77 65 62 20 70 61 67 65 |complex |web page|
|000005e0| 20 28 69 2e 65 2e 20 6f | 6e 65 20 77 69 74 68 20 | (i.e. o|ne with |
|000005f0| 6e 65 73 74 65 64 20 74 | 61 62 6c 65 73 29 2e 20 |nested t|ables). |
|00000600| 53 69 6d 70 6c 79 20 72 | 75 6e 20 74 68 65 20 57 |Simply r|un the W|
|00000610| 65 62 20 50 61 67 65 20 | 41 6e 61 6c 79 7a 65 72 |eb Page |Analyzer|
|00000620| 20 6f 6e 20 74 68 65 20 | 77 65 62 20 70 61 67 65 | on the |web page|
|00000630| 2c 20 61 6e 64 20 73 65 | 61 72 63 68 20 74 68 72 |, and se|arch thr|
|00000640| 6f 75 67 68 20 74 68 65 | 20 6f 75 74 70 75 74 20 |ough the| output |
|00000650| 66 69 6c 65 20 66 6f 72 | 20 74 68 65 20 64 61 74 |file for| the dat|
|00000660| 61 20 79 6f 75 20 77 61 | 6e 74 2e 20 52 69 67 68 |a you wa|nt. Righ|
|00000670| 74 20 61 62 6f 76 65 20 | 74 68 65 20 64 61 74 61 |t above |the data|
|00000680| 20 77 69 6c 6c 20 62 65 | 20 74 68 65 20 63 6f 72 | will be| the cor|
|00000690| 72 65 63 74 20 70 61 72 | 61 67 72 61 70 68 2c 20 |rect par|agraph, |
|000006a0| 74 61 62 6c 65 20 63 65 | 6c 6c 2c 20 65 74 63 2e |table ce|ll, etc.|
|000006b0| 20 74 68 61 74 20 79 6f | 75 20 6e 65 65 64 20 74 | that yo|u need t|
|000006c0| 6f 20 72 65 66 65 72 65 | 6e 63 65 20 66 6f 72 20 |o refere|nce for |
|000006d0| 57 65 62 4d 69 6e 65 72 | 20 74 6f 20 72 65 74 72 |WebMiner| to retr|
|000006e0| 69 65 76 65 20 74 68 69 | 73 20 69 6e 66 6f 72 6d |ieve thi|s inform|
|000006f0| 61 74 69 6f 6e 2e 0d 0d | 00 00 00 00 00 00 00 00 |ation...|........|
|00000700| 00 00 01 00 00 00 01 e2 | 00 00 00 e2 00 00 00 32 |........|.......2|
|00000710| 66 63 60 08 43 f0 9a e3 | 3b 31 80 a1 07 3d 70 63 |fc`.C...|;1...=pc|
|00000720| f1 08 2a 1b 89 42 0f a1 | 43 c0 27 6c 1c da 03 1f |..*..B..|C.'l....|
|00000730| 14 41 62 6f 75 74 20 53 | 61 6d 70 6c 65 20 53 63 |.About S|ample Sc|
|00000740| 72 69 70 74 73 69 63 61 | 74 69 6f 6e 73 72 50 43 |riptsica|tionsrPC|
|00000750| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 b2 18 8d 62 00 00 | 00 00 00 00 02 14 a8 61 |.....b..|.......a|
|00000780| 0d 44 d2 40 56 43 70 06 | 42 78 00 00 71 f8 43 07 |.D.@VCp.|Bx..q.C.|
|00000790| 34 c0 06 7d a1 13 71 39 | ed e9 3c cb 39 cd 9f 06 |4..}..q9|..<.9...|
|000007a0| 0e 9b 34 4d a1 e3 32 57 | 42 c9 99 cb 68 24 a4 5a |..4M..2W|B...h$.Z|
|000007b0| fd e8 fa 37 bb 32 0d af | 51 fb 08 1c 12 10 84 30 |...7.2..|Q......0|
|000007c0| c4 66 63 0c c4 88 47 5a | 74 b9 3d 38 e2 0f 08 e8 |.fc...GZ|t.=8....|
|000007d0| c2 13 b6 98 3c 30 9c 6c | 0b 14 68 18 c6 30 16 32 |....<0.l|..h..0.2|
|000007e0| d8 f8 c0 00 43 e8 22 70 | 44 86 1a cb d0 4b 61 0c |....C."p|D....Ka.|
|000007f0| 48 28 c8 34 9b 9b d5 0a | 6c 8d 3e 60 c0 0d a0 50 |H(.4....|l.>`...P|
|00000800| 00 00 00 de 00 0b 00 00 | 00 00 00 10 00 0c 00 03 |........|........|
|00000810| 04 00 00 0c 00 00 00 00 | 00 00 00 00 00 15 00 10 |........|........|
|00000820| 00 0c 00 03 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00000830| 01 01 00 10 00 0c 00 03 | 04 00 00 0c 00 00 00 00 |........|........|
|00000840| 00 00 00 00 01 1b 00 10 | 00 0c 00 03 00 00 00 0c |........|........|
|00000850| 00 00 00 00 00 00 00 00 | 02 4b 00 10 00 0c 00 03 |........|.K......|
|00000860| 04 00 00 0c 00 00 00 00 | 00 00 00 00 02 61 00 10 |........|.....a..|
|00000870| 00 0c 00 03 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00000880| 03 2c 00 10 00 0c 00 03 | 04 00 00 0c 00 00 00 00 |.,......|........|
|00000890| 00 00 00 00 03 3e 00 10 | 00 0c 00 03 00 00 00 0c |.....>..|........|
|000008a0| 00 00 00 00 00 00 00 00 | 04 14 00 10 00 0c 00 03 |........|........|
|000008b0| 04 00 00 0c 00 00 00 00 | 00 00 00 00 04 27 00 10 |........|.....'..|
|000008c0| 00 0c 00 03 05 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|000008d0| 04 28 00 10 00 0c 00 03 | 00 00 00 0c 00 00 00 00 |.(......|........|
|000008e0| 00 00 00 00 01 00 00 00 | 01 e2 00 00 00 e2 00 00 |........|........|
|000008f0| 00 32 04 72 1b 78 5b 70 | 00 00 00 1c 00 32 00 00 |.2.r.x[p|.....2..|
|00000900| 73 74 79 6c 00 00 00 0a | 00 80 ff ff 00 00 00 00 |styl....|........|
|00000910| 04 72 85 4c 00 00 00 00 | 00 00 00 00 00 00 00 00 |.r.L....|........|
|00000920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+