From: Ian Jackson Date: Fri, 9 Oct 2009 17:42:59 +0000 (+0100) Subject: For printable trading plan: formatting runes for htmldoc X-Git-Tag: 5.0^2~16 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-live.git;a=commitdiff_plain;h=be8d173dddf8da50643c433895d4b9e2c5a27102 For printable trading plan: formatting runes for htmldoc --- diff --git a/yarrg/TODO b/yarrg/TODO index c96e75e..1486d1a 100644 --- a/yarrg/TODO +++ b/yarrg/TODO @@ -1,6 +1,7 @@ printable trading plan curl -s 'http://yarrg.chiark.net/lookup?routestring=eta%2C+jorvik&capacitystring=&lossperleague=&capitalstring=&submit=Go' >example-plan.html + /' | htmldoc >t.ps -t pdf --continuous --gray --size 210x279mm --nup 2 - UPLOADER diff --git a/yarrg/example-plan.html b/yarrg/example-plan.html index 3cbd388..7187c8c 100644 --- a/yarrg/example-plan.html +++ b/yarrg/example-plan.html @@ -25,1129 +25,124 @@ body { tr.datarow0 { background: #e3e3e3; } tr.datarow1 { background: #ffffff; } - -YARRG - - Yet Another Revenue Research Gatherer -| -introduction -| -documentation -| -development -

-Ocean: Midnight -| - -Cobalt -| - -Ice -| - -Hunter -| - -Malachite -| - -Sage -| - -Viridian -| - -Crimson

- -Interface: Type in names -| - -Select from menus

- -Query: Trades for route -| - -Prices for commodity -| - -Offers at location -| - -Data age

- - -


- - - -

Specify route

- -
- -Show total quantity at each price -| - -Show individual stalls

- - - - -Enter route (islands, or archipelagoes, separated by |s or commas; - abbreviations are OK):
- - - - - - -
-

 

- - - - - - - - -Advanced options - you may leave these blank: -

-
- -Vessel or capacity: - - - - -[?] -
-
 

- - - - - - -
-  -  - - -Expected losses: - - - - - -[?] -
-
 

- - - - - - -
- - -
Available capital: - - - - - -[?] -
-
 

- - - - - - -
- - - - - - - - -

Relevant trades

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +QUERY HERE +commit 8198bdb1afdf8ebedb130006e3af2af6b11045ab +Author: Ian Jackson +Date: Thu Sep 24 19:01:44 2009 +0100 + Use full URLs for query sites +commit 207dec6556d4642ce7223e243f08af3bbe8fd157 +Author: Ian Jackson +Date: Thu Sep 24 19:00:12 2009 +0100 + YARRG website is fine +commit 19c49821438f668c75868ca696bd0b06c6a47d2a +Author: Ian Jackson +Date: Thu Sep 24 18:58:48 2009 +0100 + Document that we actually upload to the main PCTB db +commit 68843821b559b609abb26e50ed20171b108fb60c +Author: Ian Jackson +Date: Wed Sep 23 20:58:09 2009 +0100 + Switch to main PCTB server now we are approved +commit 016f2797ee2dfea8948bbb1247eaa9fc5234a35a +Author: Ian Jackson +Date: Thu Sep 24 00:09:43 2009 +0100 + Dump bogus XML in _commodmap.xml if we can't parse it +commit 938b4dd547bfc4d9538a5714b6f21ab3da50d8d1 +Author: Ian Jackson +Date: Wed Sep 23 23:55:45 2009 +0100 + Better HTTP User-Agent strings (rot13 the library, say who we are) +commit c810347487961a59b3d8dfb2fed123f49dc22ed4 +Author: Ian Jackson +Date: Wed Sep 23 15:12:46 2009 +0100 + Do not allow caller to specify arbitrary content-types +commit a9a88c14c5a5bd057932f76ad721b5f0fc845c20 +Author: Ian Jackson +Date: Tue Sep 22 15:25:57 2009 +0100 + Minor html style changes +commit 8198bdb1afdf8ebedb130006e3af2af6b11045ab +Author: Ian Jackson +Date: Thu Sep 24 19:01:44 2009 +0100 + Use full URLs for query sites +commit 207dec6556d4642ce7223e243f08af3bbe8fd157 +Author: Ian Jackson +Date: Thu Sep 24 19:00:12 2009 +0100 + YARRG website is fine +commit 19c49821438f668c75868ca696bd0b06c6a47d2a +Author: Ian Jackson +Date: Thu Sep 24 18:58:48 2009 +0100 + Document that we actually upload to the main PCTB db +commit 68843821b559b609abb26e50ed20171b108fb60c +Author: Ian Jackson +Date: Wed Sep 23 20:58:09 2009 +0100 + Switch to main PCTB server now we are approved +commit 016f2797ee2dfea8948bbb1247eaa9fc5234a35a +Author: Ian Jackson +Date: Thu Sep 24 00:09:43 2009 +0100 + Dump bogus XML in _commodmap.xml if we can't parse it +commit 938b4dd547bfc4d9538a5714b6f21ab3da50d8d1 +Author: Ian Jackson +Date: Wed Sep 23 23:55:45 2009 +0100 + Better HTTP User-Agent strings (rot13 the library, say who we are) +commit c810347487961a59b3d8dfb2fed123f49dc22ed4 +Author: Ian Jackson +Date: Wed Sep 23 15:12:46 2009 +0100 + Do not allow caller to specify arbitrary content-types +commit a9a88c14c5a5bd057932f76ad721b5f0fc845c20 +Author: Ian Jackson +Date: Tue Sep 22 15:25:57 2009 +0100 + Minor html style changes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --- -------- - - - - - - - - - - - - -
-Collect -Deliver - -Collect -Deliver -Profit -Max - -Max -Planned - -
-Island -Island -Commodity -Price -Qty -Price -Qty -Margin -Unit -Qty -Capital -Profit -Dist -Mass -Vol -Qty -Capital -Profit - -
- - - - - - - - - - - - - - - - - - - -
- -Eta Island -Jorvik Island -Iron -14 -2795 -15 -21 -7.1% -1 -21 -294 -21 -5 -0.2 -0.0 - - - -
- -Eta Island -Jorvik Island -Wood -22 -276 -25 -839 -13.6% -3 -276 -6072 -828 -5 -48.3 -69.0 -192 -4224 -576 -
- -Eta Island -Jorvik Island -Wood -22 -276 -24 -1786 -9.1% -2 -276 -6072 -552 -5 -48.3 -69.0 -84 -1848 -168 -
- -Eta Island -Jorvik Island -Wood -23 -647 -25 -839 -8.7% -2 -647 -14881 -1294 -5 -113.2 -161.8 -647 -14881 -1294 -
- -Eta Island -Jorvik Island -Wood -22 -276 -23 -233 -4.5% -1 -233 -5126 -233 -5 -40.8 -58.2 - - - -
- -Eta Island -Jorvik Island -Wood -23 -647 -24 -1786 -4.3% -1 -647 -14881 -647 -5 -113.2 -161.8 - - - -
- -Eta Island -Jorvik Island -Wood -24 -301 -25 -839 -4.2% -1 -301 -7224 -301 -5 -52.7 -75.2 - - - -
- -Jorvik Island -Jorvik Island -Iron -14 -1001 -15 -21 -7.1% -1 -21 -294 -21 - -0.2 -0.0 -21 -294 -21 -
- -Jorvik Island -Jorvik Island -Rambutan -51 -2 -59 -1000 -15.7% -8 -2 -102 -16 - -0.2 -0.2 -2 -102 -16 -
-Total - - - - - - - - - - - - -417.1 - -595.2 - - -21349 - -2075 -
- - - - - - - - - -

Voyage trading plan

- + + + + + + - +
Start at Eta Island (Data age: 2 days) -
Collect Wood Finagle's Distilling Stall 22 poe ea. 276 unit(s) 6072 total -
Samjones's Ironworking Stall
Collect @@ -1166,7 +161,7 @@ register_onload(ts_onload__trades); Outlay 20953 total -
Sail to Jorvik Island - 5 leagues, @@ -1200,7 +195,7 @@ register_onload(ts_onload__trades); Proceeds 22991 total -
Collect Iron @@ -1220,7 +215,7 @@ register_onload(ts_onload__trades); (Arbitrage) outlay 396 total -
Deliver Iron @@ -1240,9 +235,9 @@ register_onload(ts_onload__trades); (Arbitrage) proceeds 433 total -
Total distance: 5 leagues. -Overall net cash flow +
Total distance: 5 leagues. +Overall net cash flow 2075 gain
@@ -1265,7 +260,7 @@ register_onload(ts_onload__trades); el.innerHTML= newhtml; } } - da_ages= {"da_1":174403,"da_0":174443}; + da_ages= {"da_1":173565,"da_0":173605}; window.setInterval(da_Refresh, 10000); register_onload(da_Refresh);