Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 27 lines (20 sloc) 0.774 kB
21abc5b @klacke Initial revision
authored
1 <erl>
f448988 @klacke ""
authored
2 out(A) -> yaws_api:ssi(A#arg.docroot, ["/HEAD", "/EXHEAD"]).
21abc5b @klacke Initial revision
authored
3 </erl>
4
5
6 <h1>Yaws Examples</h1>
d69e4d8 @klacke ""
authored
7 <p>
21abc5b @klacke Initial revision
authored
8 Here we try to show the power of yaws by means of a series of examples.
9 Many of the pages inside this documentation, use embedded erlang code
7811247 @vinoski whitespace cleanup
vinoski authored
10 merely as a means to include files into the HTML documentation. Yaws can
21abc5b @klacke Initial revision
authored
11 be used to do much more which is shown by the examples.
12
d69e4d8 @klacke ""
authored
13 <p>
7811247 @vinoski whitespace cleanup
vinoski authored
14 It can be used to generate any dynamic content,
961926f @klacke ""
authored
15 and also, combining Yaws with
d02b965 @klacke qnx port + docs overhaul by cschatz@networkadvantage.biz
authored
16 the Erlang DBMS Mnesia, we can easily connect persistent data to a Cookie.
21abc5b @klacke Initial revision
authored
17
d69e4d8 @klacke ""
authored
18 <p>
19 In all of the examples we will utilize the yaws api functions defined in the
20 module <tt>yaws_api</tt>. The documentation for the API module is
d02b965 @klacke qnx port + docs overhaul by cschatz@networkadvantage.biz
authored
21 <a href="/api.yaws">here</a>.
21abc5b @klacke Initial revision
authored
22
961926f @klacke ""
authored
23
67a6c13 @klacke ""
authored
24 <erl>
25 out(A) -> yaws_api:ssi(A#arg.docroot, ["/END"]).
26 </erl>
Something went wrong with that request. Please try again.