1. Shlomi Fish
  2. perl-begin

Commits

shl...@13c2ddb8-3aa7-4284-800b-8db07c650eef  committed 38e2ab7

Added the localized languages category.

  • Participants
  • Parent commits 81c50b8
  • Branches default

Comments (0)

Files changed (3)

File src/tutorials/index.html.wml

View file
  • Ignore whitespace
 <h2>Note</h2>
 
 <p>
-The definitive sources for Perl are the <a href="http://www.perldoc.com/perl5.8.0/pod.html">online "man pages"</a> that come with
-the distribution and the book 
-<a href="http://www.oreilly.com/catalog/pperl3/">"Programming Perl"</a> by 
-<a href="http://www.oreilly.com/">O'Reilly and Associates</a>.
-However, none of them is suitable for beginners for various reasons. These
-online tutorials can provide an introduction to Perl so you can start writing
-your own scripts. Nevertheless, they don't teach everything there is
-to know about the language and one should still go over the man pages
-afterwards
+These online tutorials can provide an introduction to Perl so you can start
+writing your own scripts. Nevertheless, they don't teach everything there is
+to know about the language and one should still take care to learn all other
+things on his own from other resources.
+</p>
+
+<p>
+If you prefer a tutorial in something else besides English, check the 
+<a href="./localizes/">foreign languages page</a>
 </p>
 
 <h2><a href="http://learn.perl.org/library/beginning_perl/">Beginning Perl</a></h2>
 you started.
 </p>
 
-<h2><a href="http://lea-linux.org/dev/perl.php3">French Intro to Perl</a></h2>
-
-<p>
-An introduction to Perl in the French language.
-</p>
-
 <h2><a href="http://cs.haifa.ac.il/~shlomo/perl/">Haifa University Perl Course</a></h2>
 
 <p>
 A perl course with online slides.
 </p>
 
+
 <h2><a href="http://dmoz.org/Computers/Programming/Languages/Perl/FAQs,_Help,_and_Tutorials/">Dmoz Category</a></h2>
 
 <p>

File src/tutorials/localized/index.html.wml

View file
  • Ignore whitespace
+#include '../template.wml'
+
+<subject "Tutorials in Foreign Languages" />
+
+<h2><a href="http://lea-linux.org/dev/perl.php3">French Intro to Perl</a></h2>
+
+<p>
+An introduction to Perl in the French language.
+</p>
+
+<h2><a href="http://code.semuel.co.il/perlhebtut/">Hebrew Perl Tutorial</a></h2>
+
+<p>
+A Tutorial for Perl in Hebrew written by Semuel Vomberg.
+</p>
+

File template.wml

View file
  • Ignore whitespace
 
 <define-tag navbar:menu:is:book><match "$(FILENAME)" "^books/" action="report" /></define-tag>
 
+<define-tag navbar:menu:tutorials>
+<links:group "nested">
+<li>
+<navbarlink "tutorials/localized/" "In Other Languages" title="Tutorials in Other Languages" />
+</li>
+</links:group>
+</define-tag>
+
+<define-tag navbar:menu:is:tutorials><match "$(FILENAME)" "^tutorials/" action="report" /></define-tag>
+
 <table summary="Layout Table: The first cell contains a navigation bar, the second the main page" border="0" width="99%">
 <tr>
 <td valign="top" class="navbar" style="width:20%">
 <links:group>
 <li><navbarlink "" "Home" /></li>
 <li><navbarlink "about.html" "About" /></li>
-<li><navbarlink "tutorials/" "Online Tutorials" /></li>
+<li><navbarlink "tutorials/" "Online Tutorials" />
+<if "<navbar:menu:is:tutorials />" "<br /><navbar:menu:tutorials />" />
+</li>
 <li><navbarlink "books/" "Books" />
 <if "<navbar:menu:is:book />" "<br /><navbar:menu:books />" />
 </li>