Shlomi Fish avatar Shlomi Fish committed 4a4dcda

Add the HTML Tutorial.

Comments (0)

Files changed (3)

 screenplay_targets: $(ST_WTLD_TEXT_IN_TREE) $(SCREENPLAY_XMLS) $(SCREENPLAY_HTMLS) $(SCREENPLAY_RENDERED_HTMLS) $(SCREENPLAY_SOURCES_ON_DEST) $(FICTION_TEXT_SOURCES_ON_DEST) $(SCREENPLAY_XML_FOR_OOO_XHTMLS)
 
 docbook_targets: docbook4_targets screenplay_targets docbook5_targets \
-	install_docbook4_xmls install_docbook_individual_xhtmls install_docbook_css_dirs docbook_hhfg_images install_docbook5_xmls
+	install_docbook4_xmls install_docbook_individual_xhtmls install_docbook_css_dirs docbook_hhfg_images install_docbook5_xmls html_tutorial
 
 docbook4_targets: $(DOCBOOK4_TARGETS) $(DOCBOOK4_ALL_IN_ONE_XHTMLS) $(DOCBOOK4_ALL_IN_ONE_XHTMLS_CSS)
 
 
 $(T2_DEST)/philosophy/by-others/perlcast-transcript--tom-limoncelli-interview/index.html: lib/htmls/from-mediawiki/processed/Perlcast_Transcript_-_Interview_with_Tom_Limoncelli.html
 
+HTML_TUT_BASE = lib/presentations/docbook/html-tutorial/hebrew-html-tutorial
+
+HTML_TUT_HEB_DIR = $(HTML_TUT_BASE)/hebrew-html-tutorial
+HTML_TUT_HEB_HTML = $(HTML_TUT_HEB_DIR)/index.html
+HTML_TUT_HEB_TT = $(HTML_TUT_BASE)/hebrew-html-tutorial.xml.tt
+DEST_HTML_TUT_BASE = $(T2_DEST)/lecture/HTML-Tutorial/v1/xhtml1/hebrew
+DEST_HTML_TUT = $(DEST_HTML_TUT_BASE)/index.html
+
+html_tutorial: $(DEST_HTML_TUT)
+
+$(DEST_HTML_TUT): $(HTML_TUT_HEB_HTML)
+	mkdir -p $(DEST_HTML_TUT_BASE)
+	rsync -r $(HTML_TUT_HEB_DIR)/ $(DEST_HTML_TUT_BASE)
+
+$(HTML_TUT_HEB_HTML): $(HTML_TUT_HEB_TT)
+	cd $(HTML_TUT_BASE) && make
+
+$(HTML_TUT_HEB_TT):
+	cd lib/presentations/docbook && hg clone ssh://hg@bitbucket.org/shlomif/html-tutorial
+
 include deps.mak
Add a comment to this file

lib/presentations/docbook/PLACEHOLDER

Empty file added.

t2/lecture/HTML-Tutorial/index.html.wml

+#include '../template.wml'
+<latemp_subject "The Hebrew Tutorial for Standard HTML" />
+
+<p>
+This is a tutorial I've started to write that teaches how to write (and read)
+HTML in compliance to web standards, and is written in Hebrew. For a
+recommend English tutorial see the <a href="http://www.htmldog.com/">HTML Dog
+site</a> which provided some inspiration for this tutorial.
+</p>
+
+<p>
+I hope to translate this tutorial to English in the future.
+</p>
+
+<h2>Versions</h2>
+
+<ul>
+<li><a href="v1/xhtml1/hebrew/"><b>HTML</b> - Read online</a></li>
+
+<li><a href="https://bitbucket.org/shlomif/html-tutorial">Source in
+DocBook/XML 5 format</a> - if you want to contribute or improve it. (pull
+requests are appreciated).</li>
+</ul>
+
+
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.