Skip to content

Commit

Permalink
[fix] doc/manual: Updated addresses of live examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
akoprow committed Dec 20, 2011
1 parent 3d409d6 commit 5152df4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion doc/book/hello_chat/hello_chat.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ As a summary, let us recapitulate the source file:
------------------------
include::hello_chat.opa[]
------------------------
[run]#http://tutorials.opalang.org/hello_chat[Run]#
[run]#http://chat.tutorials.opalang.org[Run]#

All this in 20 effective lines of code (without the CSS). Note that, in this
final version, we have removed some needless parentheses, which were useful
Expand Down
4 changes: 2 additions & 2 deletions doc/book/hello_recaptcha/hello_recaptcha.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ If you are curious, this is the full source code of our application:
------------------------
include::hello_recaptcha_app.opa[]
------------------------
[run]#http://tutorials.opalang.org/hello_recaptcha[Run]#
[run]#http://recaptcha.tutorials.opalang.org[Run]#

Of course, since the features are provided by Google reCaptcha, the most
interesting aspects of the code are not to be found in the source of the
Expand Down Expand Up @@ -776,7 +776,7 @@ To test the API, we may write a simple application:
------------------------
include::hello_recaptcha_app.opa[]
------------------------
[run]#http://tutorials.opalang.org/hello_recaptcha[Run]#
[run]#http://recaptcha.tutorials.opalang.org[Run]#
With the exception of directive +@server_private+, this listing should not
surprise you. Here, we placed directive +@server_private+ as a sanity check, to
Expand Down
10 changes: 5 additions & 5 deletions doc/book/hello_web_services/hello_web_services.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ If you are curious, this is the full source code of the REST wiki server:
-------------
include::hello_wiki_rest_client.opa[]
-------------
[run]#http://tutorials.opalang.org/hello_wiki_rest_client[Run]#
[run]#http://wiki_rest_client.tutorials.opalang.org[Run]#

We will now walk through the concepts introduced in this listing.

Expand Down Expand Up @@ -169,7 +169,7 @@ And with this, we are done! Our wiki can now be scripted by external web applica
----------------
include::hello_wiki_rest.opa[]
----------------
[run]#http://tutorials.opalang.org/hello_wiki_rest[Run]#
[run]#http://wiki_rest.tutorials.opalang.org[Run]#

All in all, the changes required a dozen lines of code.

Expand Down Expand Up @@ -399,7 +399,7 @@ If you are curious, this is the full source code of the REST wiki client (which
-------------
include::hello_wiki_rest_client_customizable.opa[]
-------------
[run]#http://tutorials.opalang.org/hello_wiki_rest_client[Run]#
[run]#http://wiki_rest_client.tutorials.opalang.org[Run]#

The web client
~~~~~~~~~~~~~~
Expand Down Expand Up @@ -647,7 +647,7 @@ With this, your client wiki is complete:
----------------
include::hello_wiki_rest.opa[]
----------------
[run]#http://tutorials.opalang.org/hello_wiki_rest[Run]#
[run]#http://wiki_rest.tutorials.opalang.org[Run]#

Launch the server wiki, launch the client wiki on a different port (use option
+-p+ or +--opa-server-port+ to select a port) and behold, you can edit your wiki from two
Expand Down Expand Up @@ -889,7 +889,7 @@ The full source code follows:
--------------
include::hello_wiki_rest_client_customizable.opa[]
--------------
[run]#http://tutorials.opalang.org/hello_wiki_rest_client[Run]#
[run]#http://wiki_rest_client.tutorials.opalang.org[Run]#

Exercises
~~~~~~~~~
Expand Down
4 changes: 2 additions & 2 deletions doc/book/hello_wiki/hello_wiki.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ If you are curious, this is the full source code of the application.
------------------------
include::hello_wiki.opa[]
------------------------
[run]#http://tutorials.opalang.org/hello_wiki[Run]#
[run]#http://wiki.tutorials.opalang.org[Run]#

In this listing, we define a database for storing the content of the pages in the
Markdown syntax format, we define the user interface and finally, the main application. In
Expand Down Expand Up @@ -302,7 +302,7 @@ As a summary, let us recapitulate the source file:
------------------------
include::hello_wiki_simple.opa[]
------------------------
[run]#http://tutorials.opalang.org/hello_wiki[Run]#
[run]#http://wiki.tutorials.opalang.org[Run]#

This is a total of 30 effective lines of code + CSS.

Expand Down

0 comments on commit 5152df4

Please sign in to comment.