Skip to content

Commit 531cd4f

Browse files
Dennis de SwartDennis de Swart
authored andcommitted
Improved help and examples
1 parent 1656f6d commit 531cd4f

File tree

6 files changed

+15
-2
lines changed

6 files changed

+15
-2
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,12 @@ You can install the adapter by putting the following line into your composer.jso
8888

8989
## Example output
9090

91-
See "example_output.PNG"
91+
See
92+
- "datastore_result_a.PNG"
93+
- "datastore_result_b.PNG"
94+
- "datastore_result_search.PNG"
9295

96+
and "example.db", this is how a filled database looks like
9397

9498
## Any questions?
9599

datastore_result_a.PNG

43.4 KB
Loading

datastore_result_b.PNG

34.2 KB
Loading

datastore_result_search.PNG

61.8 KB
Loading

example.db

52 KB
Binary file not shown.

src/Template.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,16 @@ public function getHelp(){
9090
This file is called "datastore.db". Each time you submit a text, it adds the results to the database file.<br />
9191
The results can be become very long. If you check the box, the database is emptied.</li>
9292
</ul>
93-
93+
<h3>How to use the form</h3>
94+
<div>
95+
<ul>
96+
<li>Try typing this text in the textbox: "John meets Mary at the restaurant at 7pm. He orders a drink for her."</li>
97+
<li>Now press "Submit"</li>
98+
<li>See the results on the screen</li>
99+
<li>Now click the Search button. Try typing "Mary" in the search box</li>
100+
<li>You now see the results for the word "Mary"</li>
101+
</ul
102+
</div>
94103
<h3>"Datastore" looks for three sets of data:</h3>
95104
<div>
96105
<ul>

0 commit comments

Comments
 (0)