@@ -18,7 +18,7 @@ Put a report on the web (e.g. gist) and view it via curl!
18
18
19
19
<img src =" ../docs/images/map.png " alt =" term " width =" 800 " >
20
20
21
- ([ xml source] ( https://raw.githubusercontent.com/yaronn/wopr/master/test /sample.xml ) )
21
+ ([ xml source] ( https://raw.githubusercontent.com/yaronn/wopr/master/examples /sample.xml ) )
22
22
23
23
24
24
You can view it from the web with no installation:
@@ -34,7 +34,7 @@ You can also use a local viewer rather than curl:
34
34
35
35
````` bash
36
36
$> npm install -g wopr
37
- $> curl https://raw.githubusercontent.com/yaronn/wopr/master/test /sample.xml > wopr-sample.xml
37
+ $> curl https://raw.githubusercontent.com/yaronn/wopr/master/examples /sample.xml > wopr-sample.xml
38
38
$> wopr wopr-sample.xml
39
39
`````
40
40
@@ -54,15 +54,15 @@ Here is a simple report with a bar chart:
54
54
55
55
You have 3 options to view this report:
56
56
57
- ** option 1: POST it to the wopr online viewer**
57
+ ** Option 1: POST it to the wopr online viewer**
58
58
59
59
````` bash
60
60
$> curl --data ' <document><page><item col="0" row="0" colSpan="5" rowSpan="4"><bar maxHeight="5" data-titles="A,B,C" data-data="2,5,3" /></item></page></document>' tty.zone? cols=$(( COLUMNS))
61
61
`````
62
62
63
63
If you experience firewall issues replace tty.zone with ec2-23-21-64-152.compute-1.amazonaws.com.
64
64
65
- ** option 2: POST it from external url**
65
+ ** Option 2: POST it from external url**
66
66
67
67
Save the report content in some url (e.g. gist) and then:
68
68
@@ -74,7 +74,7 @@ Save the report content in some url (e.g. gist) and then:
74
74
75
75
If you experience firewall issues replace tty.zone with ec2-23-21-64-152.compute-1.amazonaws.com.
76
76
77
- ** option 3: via the local viewer**
77
+ ** Option 3: Via the local viewer**
78
78
79
79
Save the report xml to report.xml and then:
80
80
@@ -159,7 +159,7 @@ Then here is how you would represent it in xml:
159
159
</widget >
160
160
`````
161
161
162
- You can also look at the [ demo xml] ( https://raw.githubusercontent.com/yaronn/wopr/master/test /sample.xml ) to get more samples.
162
+ You can also look at the [ demo xml] ( https://raw.githubusercontent.com/yaronn/wopr/master/examples /sample.xml ) to get more samples.
163
163
164
164
165
165
##Viewing Reports##
0 commit comments