author | Michael Krelin <hacker@klever.net> | 2005-02-03 00:17:58 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2005-02-03 00:17:58 (UTC) |
commit | d379841850daab4693d596784b790b13e20e3a03 (patch) (unidiff) | |
tree | eafa246cd99308ea349aef90a708ef9f6d7a0418 /htdocs/exceptions/preprocess.chtml | |
parent | 870963df2dac72e433fd7f94cd1cccc8cd6ea2d0 (diff) | |
download | sitecing-d379841850daab4693d596784b790b13e20e3a03.zip sitecing-d379841850daab4693d596784b790b13e20e3a03.tar.gz sitecing-d379841850daab4693d596784b790b13e20e3a03.tar.bz2 |
1. added a 'browse-through' navigation
2. improved performance by passing -flush to FastCgiExternalServer
3. emphasized links in text
Diffstat (limited to 'htdocs/exceptions/preprocess.chtml') (more/less context) (ignore whitespace changes)
-rw-r--r-- | htdocs/exceptions/preprocess.chtml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/htdocs/exceptions/preprocess.chtml b/htdocs/exceptions/preprocess.chtml index 8516139..88b8741 100644 --- a/htdocs/exceptions/preprocess.chtml +++ b/htdocs/exceptions/preprocess.chtml | |||
@@ -1,46 +1,48 @@ | |||
1 | % html(); return; /* vim:set ft=sitecing: */ | 1 | % html(); return; /* vim:set ft=sitecing: */ |
2 | %%derive layout = "/ancestry/layout.chtml"; | 2 | %%derive layout = "/ancestry/layout.chtml"; |
3 | <%constructor> | 3 | <%constructor> |
4 | b_strict = false; | 4 | b_strict = false; |
5 | PN_PREV("/exceptions","exceptions","exception handling overview"); | ||
6 | PN_NEXT("/exceptions/compile","compile-time","compile-time errors"); | ||
5 | </%constructor> | 7 | </%constructor> |
6 | <%codemethod string title() %> | 8 | <%codemethod string title() %> |
7 | return "preprocessor exceptions handling"; | 9 | return "preprocessor exceptions handling"; |
8 | </%codemethod> | 10 | </%codemethod> |
9 | <%method void content() %> | 11 | <%method void content() %> |
10 | <h1>site-C-ing preprocessor exception handling</h1> | 12 | <h1>site-C-ing preprocessor exception handling</h1> |
11 | <p> | 13 | <p> |
12 | It was one of those days when you just can't type right and can't think of | 14 | It was one of those days when you just can't type right and can't think of |
13 | what you're typing. It is not unusual that, under such circumstances, you end | 15 | what you're typing. It is not unusual that, under such circumstances, you end |
14 | up with a code like <a | 16 | up with a code like <a |
15 | href="/view/htdocs/exceptions/development/preprocess.chtml" target="insert" | 17 | href="/view/htdocs/exceptions/development/preprocess.chtml" target="insert" |
16 | title="the link opens in the frame below">this</a> -- by the time you were | 18 | title="the link opens in the frame below">this</a> -- by the time you were |
17 | about to close your <code><%code></code> block you were thinking about | 19 | about to close your <code><%code></code> block you were thinking about |
18 | some constructor in some component elsewhere in the universe. | 20 | some constructor in some component elsewhere in the universe. |
19 | </p> | 21 | </p> |
20 | <p> | 22 | <p> |
21 | <em>site-C-ing</em> parser will see the inconsistency and throw an exception | 23 | <em>site-C-ing</em> parser will see the inconsistency and throw an exception |
22 | which will be caught and passed to <a | 24 | which will be caught and passed to <a |
23 | href="/view/htdocs/handlers/exception_dev" target="insert" title="the link | 25 | href="/view/htdocs/handlers/exception_dev" target="insert" title="the link |
24 | opens in the frame below">the handler</a>, specified in <a | 26 | opens in the frame below">the handler</a>, specified in <a |
25 | href="/view/htdocs/exceptions/development/.scrc" target="insert" title="the | 27 | href="/view/htdocs/exceptions/development/.scrc" target="insert" title="the |
26 | link opens in the frame below">the configuration file</a>, which will produce | 28 | link opens in the frame below">the configuration file</a>, which will produce |
27 | some nice, human-readable <a href="/exceptions/development/preprocess" | 29 | some nice, human-readable <a href="/exceptions/development/preprocess" |
28 | target="insert" title="the link opens in the frame below">output</a>. Well, | 30 | target="insert" title="the link opens in the frame below">output</a>. Well, |
29 | you may not wish to give out all this information in the production | 31 | you may not wish to give out all this information in the production |
30 | environment, so you just put in your <a | 32 | environment, so you just put in your <a |
31 | href="/view/htdocs/exceptions/production/.scrc" target="insert" title="the | 33 | href="/view/htdocs/exceptions/production/.scrc" target="insert" title="the |
32 | link opens in the frame below">configuration file</a> some <a | 34 | link opens in the frame below">configuration file</a> some <a |
33 | href="/view/htdocs/handlers/exception_prod" target="insert" title="the link | 35 | href="/view/htdocs/handlers/exception_prod" target="insert" title="the link |
34 | opens in the frame below">different handler</a>, which just gives user <a | 36 | opens in the frame below">different handler</a>, which just gives user <a |
35 | href="/exceptions/production/preprocess" target="insert" title="the link | 37 | href="/exceptions/production/preprocess" target="insert" title="the link |
36 | opens in the frame below">a friendly yet lame excuse</a>. | 38 | opens in the frame below">a friendly yet lame excuse</a>. |
37 | </p> | 39 | </p> |
38 | 40 | ||
39 | <div class="insert"> | 41 | <div class="insert"> |
40 | <iframe id="insert" name="insert" src="about:blank" width="95%" height="300"> | 42 | <iframe id="insert" name="insert" src="about:blank" width="95%" height="300"> |
41 | <p>I wanted to put an <iframe> here, but your browser does not seem to | 43 | <p>I wanted to put an <iframe> here, but your browser does not seem to |
42 | support it. That is okay, it still will open links somehow.</p> | 44 | support it. That is okay, it still will open links somehow.</p> |
43 | </iframe> | 45 | </iframe> |
44 | </div> | 46 | </div> |
45 | 47 | ||
46 | </%method> | 48 | </%method> |