# 991126 # # This an example of the format of a "process file". Each job will # have a number of these. Each of them will be responsible for one # regions page and all of the maps pages for the points contained in # the data. # As cluefull readers have probably noted already, lines that # *begin* with "#" are comments. They can be used anywhere. Blank # lines are also ignored. # Take careful note that there are a number of parameters specific # to the "process file" and hence, the html page(s) that it is # responsible for. These are know an "build directives" and they # are to be indicated as starting with the "/" character. For safety, # specify these parameters each on one line, and use exactly the # template format...the "=="'s, *are* important!!! The parser uses # them as field delimiters but strips whitespace so the lines can be # tabbed or spaced for easier reading. Also, at this time, I've not # learned to to "regular expressions" so unless the code recognizes # the first part of the directive line, errors will occur. That is # why I say "follow the template exactly." # These directives fall into one of three catagories: # Critical, Non-critical, and Optional. # They will be indicated in the documentation below as (c), (n), and # (o). At this time, the program halts on (c), and (n), faiures # since (n) faiures result in default text being written which is # grounds for a re-run anyway. (o) "failures" are recognized by the # code and the html generation is adjusted accordingly. # ------ Directives for generating the Main Links page for this set: ------ # (c) Make sure that the name ends with .html #/ links page output filename== or_test.html # (n) Remember, title is what appears on top of browser window. #/ links page title== Hotsprings of the Pacific Northwest - Oregon - (test_title) # (n) Gives search engine spiders something to digest: #/ links page description meta data tag==Hotsprings of the Pacific Northwest - Oregon - (test_meta) # (o) This is optional! If specified, make sure file *is* in input dir! #/ links page wallpaper name== lpwp.gif # (n) This appears as the page heading, *and* as the text in the main page link! #/ links page heading== Hotsprings of Oregon - (test_heading) # (n) Self explainitory...note the style options which make sense though: #/ links page return text== Springs Home #/ links page return url== http://www.huppi.com/t/springs/index.html #/ links page return url== index.html # (o) self explainitory, but note that it is optional: #/ links page mailto address== pms_codr@huppi.com # ------ Directives for the myriad of Data Point Pages for this set: ---------- # NOTE: code will append point name (or ID or something) after the "-" # (n) Look at the NOTE: two lines up ^ #/ point pages title== Hotsprings map zooms - # (n) Again, gives search engine spiders a clue! #/ point pages description meta data tag==Hotsprings of the Pacific Northwest # (o) Again, make *sure* that the file is in the input dir IFF specified: #/ point pages wallpaper name== ppwp.gif # (n) look at the NOTE: just under the "Data Point Page" heading above ^ #/ point pages heading== Map Zooms for Hotsprings - # (n) Look (and *think*) about the options here... #/ point pages return text== Springs Home # NOTE: could point back to calling page with next line since pages are to all # be generated in the same directory. Change to file above naturally. #/ point pages return url== http://www.huppi.com/t/springs/index.html #/ point pages return url== or_test.html # (o) Note: optional #/ point pages mailto address== pms_codr@huppi.com # -- Here are the above directives in condensed form for cut-n-paste operations: # ------ Directives for generating the Main Links page for this set: ------ / links page output filename== or_test.html / links page title== Hotsprings of the Pacific Northwest - Oregon - (test_title) / links page description meta data tag==Hotsprings of the Pacific Northwest - Oregon - (test_meta) / links page wallpaper name== lpwp.gif / links page heading== Hotsprings of Oregon - (test_heading) / links page return text== Springs Home / links page return url== http://www.huppi.com/t/springs/index.html #/ links page return url== index.html / links page mailto address== pms_codr@huppi.com # ------ Directives for the myriad of Data Point Pages for this set: ---------- # NOTE: code will append point name (or ID or something) after the "-" / point pages title== Hotsprings map zooms - / point pages description meta data tag==Hotsprings of the Pacific Northwest / point pages wallpaper name== ppwp.gif / point pages heading== Map Zooms for Hotsprings - / point pages return text== Springs Home / point pages return url== http://www.huppi.com/t/springs/index.html #/ point pages return url== or_test.html / point pages mailto address== pms_codr@huppi.com #### Format for data points: 9 fields seperated by 8 tabs. Important, or parse # errors will occur! If to be changed, must message the Python code...Sorry! # I'm just not clever and/or motivated enough to fix it right now. # Further project specific issues are built into the code. For one, the # links pages contain lat and lon broken out of the ID, and the spring name # and temp fields which happen to be fields 1, 2, and 3. The points pages will # contain the data in the rest of the fields (which appreat to be usgs map data). # If a new project can be constrained to operate in this framework, fine, else # the code will need some updates! SPRusOR+42.977-117.061 "CANTERS HOT SPRING " 120 49 85 1 "JORDAN VALLEY " "(JORDAN VALLEY 7.5) " SPRusOR+42.756-117.550 "SCOTT SPRING " 68 20 85A 2 "JORDAN VALLEY " "(SCOTT RESERVOIR 7.5) " SPRusOR+42.688-117.905 "TUDORS SPRING " 68 20 85B 3 "JORDAN VALLEY " " " SPRusOR+42.533-117.182 " " 95 35 85C 4 "JORDAN VALLEY " " " SPRusOR+42.079-117.760 " " 126 52 86 200 5 "JORDAN VALLEY " " " SPRusOR+42.889-118.898 "FIVEMILE SPRING (HOGHOUSE HOT SPRS)" 80 27 65 1 "ADEL " "IRISH LAKE 7.5 " SPRusOR+42.837-118.863 " " 83 28 66 2 "ADEL " "(PAGE SPRINGS 7.5) " SPRusOR+42.815-118.899 "WARM SPRINGS " 89 32 67 3 "ADEL " "FRENCHGLEN 7.5 " SPRusOR+42.676-118.344 "MICKEY SPRINGS " 187 86 196 4 "ADEL " " " SPRusOR+42.544-118.533 "ALVORD HOT SPRINGS " 174 79 68 197 5 "ADEL " "ALVORD HOT SPRINGS 7.5 "