8794e319de05611d80218f8a3f07fa1992d0c228
Christian Fraß added transition-data and t...

Christian Fraß authored 7 years ago

1) <?php
2) 	$data = read_json("source/data/texts.json");
3)  ?>
Christian Fraß added some drafts and an ex...

Christian Fraß authored 7 years ago

4) <section class="section" id="example_texts">
5) 	<header>Texts</header>
Christian Fraß added transition-data and t...

Christian Fraß authored 7 years ago

6) <?php
7) 	$id = "de_grot_diktator";
8) 	$dataset = $data[$id];
9)  ?>
10) 	<section class="subsection" id="<?php echo($id); ?>">
11) 		<header><?php echo($dataset["title"]); ?></header>
12) <?php
13) 	echo
14) 	(
15) 		mark
16) 		(
17) 			implode("", array_map(function ($paragraph) {return ("<p>${paragraph}</p>");}, $dataset["paragraphs"])),
18) 			["type_text", "lang_fs"]
19) 		)
20) 	);
21)  ?>
Christian Fraß better table-snap

Christian Fraß authored 7 years ago

22) 		<p>An attempt to translate the final speech from the famous Charlie Chaplin movie "The great dictator" (with some passages inspired by the German translation); the English original can be listened to <a href="https://www.youtube.com/watch?v=ibVpDhW6kDQ">on youtube</a>; or in case you'd like to hear a more heart-wrenching version: <a href="https://www.youtube.com/watch?v=Gaq62VCcnew">accompanied by "Hans Zimmer - Time"</a>.</p>