Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
niebert authored Jan 2, 2023
1 parent 1ec3ec4 commit b1d7f70
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 20 deletions.
19 changes: 12 additions & 7 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Starter for Wiki2Reveal</title>
<link rel=icon href="img/icons-svg/i4m-wiki2reveal-black.svg" sizes="any" type="image/svg+xml">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="css/main.css">
<script src="js/wtf_wikipedia.js"></script>
<script src="js/linkparam.js"></script>
Expand Down Expand Up @@ -209,18 +209,24 @@
}

</script>

<!-- JSON DATA -->
<script src="db/footer4lang.js"></script>
<script src="db/page4demo.js"></script>
<!-- JSON DATA -->

<hr>
<center>
<h2>
<img height="30px" src="img/icons-svg/i4m-wiki2reveal-black.svg">
Wiki2Reveal Starter - Version: <span id4marker="version">2.1.20</span></h2>
Wiki2Reveal Starter - Version: <span id4marker="version">2.1.21</span></h2>
<h3><i>based on Library: <a href="https://www.npmjs.com/package/wtf_wikipedia" target="_blank">wtf_wikipedia NPM</a></i></h3>
</center>
<hr>
<center>
<p>
<a href="https://www.github.com/niebert/Wiki2Reveal" target="_blank">Wiki2Reveal</a> can download a Wiki source text on the fly and create a <a href="https://github.com/hakimel/reveal.js" target="_blank">RevealJS presentation</a>.<br>
The Wiki source text should be separated in small sections that fit on a page (see <a href="https://en.wikiversity.org/wiki/Wiki2Reveal" target="_blank">Wiki2Reveal on Wikiversity</a>)
The Wiki source text should be separated in small sections that fit on a page (see <a href="https://en.wikiversity.org/wiki/PanDocElectron/Presentation" target="_blank">PanDocElectron-SLIDE</a>)
</p>
<br>
<form action="wiki2reveal.html" target="_blank">
Expand Down Expand Up @@ -395,12 +401,11 @@ <h3><i>based on Library: <a href="https://www.npmjs.com/package/wtf_wikipedia" t
<br>
<p>
<div id="footer" align="center" style="font-size: 80%">
<a href="https://en.wikiversity.org/wiki/Wiki2Reveal" target="_blank">
<a href="https://en.wikiversity.org/wiki/Wiki2Reveal" target="_blank">
<img height="20px" src="img/icons-svg/i4m-wiki2reveal-black.svg">
Wikiversity: Wiki2Reveal</a><br>
<a href="https://en.wikiversity.org/wiki/PanDocElectron/Presentation" target="_blank">PanDocElectron-SLIDE</a> <br>
<a href="https://www.github.com/niebert/Wiki2Reveal" target="_blank">GitHub-Repo- Version: <span id4marker="version">2.1.20</span> </a>
- Engelbert Niehaus - Date: <span id4marker="datetime">2022/01/17 22:26:03</span> <br/>
<a href="https://www.github.com/niebert/Wiki2Reveal" target="_blank">GitHub-Repo- Version: <span id4marker="version">2.1.21</span> </a>
- Engelbert Niehaus - Date: <span id4marker="datetime">2023/01/02 22:11:52</span> <br/>
<a href="https://github.com/niebert/Wiki2Reveal/archive/master.zip" target="_blank">Download Wiki2Reveal - GitHub (<span id4marker="year">2021</span>)</a><br/>
</div>
</p>
Expand Down
45 changes: 35 additions & 10 deletions docs/wiki2reveal_footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,14 @@

</script>
<!-- script src="js/links4wiki2reveal.js"></script -->

<script src="db/wikipage_db.js"></script>
<script src="db/footer4lang.js"></script>
<script src="db/page4demo.js"></script>
</head>
<body style="margin:10px;background:#C0C0C0;font-family:Arial,Helvetica,sans-serif">
<H2 class="slides" id="headerfooter">
<img height="30px" src="img/icons-svg/i4m-wiki2reveal-black.svg">
Generator for Wiki Footer - Version: <span id4marker="version">2.1.20</span>
Generator for Wiki Footer - Version: <span id4marker="version">2.1.21</span>
</H2>
<H2 class="slides" id="headerdemo" style="display:none">
Generator for Wiki2Reveal Demo Page
Expand Down Expand Up @@ -241,7 +243,7 @@ <h3>Footer Creator for Wiki2Reveal Presentation:</h3>
You can display this page as '''[https://niebert.github.io/Wiki2Reveal/wiki2___SLIDETYPE___.html?domain=___DOMAIN___&title=___TITLE_ENCODED___&author=___COURSE_ENCODED___&language=___LANGUAGE___&audioslide=___AUDIO___&shorttitle=___SHORT_TITLE_ENCODED___&coursetitle=___COURSE_TITLE_ENCODED___ Wiki2Reveal slides]'''

=== Wiki2Reveal ===
The '''[https://niebert.github.io/Wiki2Reveal/index.html?domain=___DOMAIN___&title=___TITLE_ENCODED___&author=___COURSE_ENCODED___&language=___LANGUAGE___&audioslide=___AUDIO___&shorttitle=___SHORT_TITLE_ENCODED___&coursetitle=___COURSE_TITLE_ENCODED___ Wiki2Reveal slides]''' were created for the '''[https://___LANGUAGE___.wikiversity.org/wiki/___COURSE_ENCODED___ ___COURSE___]'''' and the Link for the [[v:en:Wiki2Reveal|Wiki2Reveal Slides]] was created with the [https://niebert.github.io/Wiki2Reveal/ link generator].
The '''[https://niebert.github.io/Wiki2Reveal/index.html?domain=___DOMAIN___&title=___TITLE_ENCODED___&author=___COURSE_ENCODED___&language=___LANGUAGE___&audioslide=___AUDIO___&shorttitle=___SHORT_TITLE_ENCODED___&coursetitle=___COURSE_TITLE_ENCODED___ Wiki2Reveal slides]''' were created for the '''[https://de.wikiversity.org/wiki/____COURSE_ENCODED___ ___COURSE___]'''' and the Link for the [[v:en:Wiki2Reveal|Wiki2Reveal Slides]] was created with the [https://niebert.github.io/Wiki2Reveal/ link generator].
<!--
* Contents of the page are based on:
** [https://___LANGUAGE___.wikipedia.org/wiki/___TITLE_ENCODED___ https://___LANGUAGE___.___DOMAIN___.org/wiki/___TITLE_ENCODED___]
Expand All @@ -254,7 +256,8 @@ <h3>Footer Creator for Wiki2Reveal Presentation:</h3>
[[Category:Wiki2Reveal]]

</textarea>

<textarea id="wikisrc_en" rows="12" cols="120">
</textarea>
<b>Header Wiki Source DE:</b></br>
<textarea id="wikiheader_de" rows="12" cols="120">
== Einleitung ==
Expand Down Expand Up @@ -286,7 +289,7 @@ <h3>Footer Creator for Wiki2Reveal Presentation:</h3>

=== Wiki2Reveal ===

Dieser '''[https://niebert.github.io/Wiki2Reveal/wiki2___SLIDETYPE___.html?domain=___DOMAIN___&title=___TITLE_ENCODED___&author=___COURSE_ENCODED___&language=___LANGUAGE___&audioslide=___AUDIO___&shorttitle=___SHORT_TITLE_ENCODED___&coursetitle=___COURSE_TITLE_ENCODED___ Wiki2Reveal Foliensatz]''' wurde für den Lerneinheit '''[https://___LANGUAGE___.wikiversity.org/wiki/___COURSE_ENCODED___ ___COURSE___]'''' erstellt der Link für die [[v:en:Wiki2Reveal|Wiki2Reveal-Folien]] wurde mit dem [https://niebert.github.io/Wiki2Reveal/ Wiki2Reveal-Linkgenerator] erstellt.
Dieser '''[https://niebert.github.io/Wiki2Reveal/wiki2___SLIDETYPE___.html?domain=___DOMAIN___&title=___TITLE_ENCODED___&author=___COURSE_ENCODED___&language=___LANGUAGE___&audioslide=___AUDIO___&shorttitle=___SHORT_TITLE_ENCODED___&coursetitle=___COURSE_TITLE_ENCODED___ Wiki2Reveal Foliensatz]''' wurde für den Lerneinheit '''[https://de.wikiversity.org/wiki/____COURSE_ENCODED___ ___COURSE___]'''' erstellt der Link für die [[v:en:Wiki2Reveal|Wiki2Reveal-Folien]] wurde mit dem [https://niebert.github.io/Wiki2Reveal/ Wiki2Reveal-Linkgenerator] erstellt.
<!--
* Die Inhalte der Seite basieren auf den folgenden Inhalten:
** [https://___LANGUAGE___.wikipedia.org/wiki/___TITLE_ENCODED___ https://___LANGUAGE___.___DOMAIN___.org/wiki/___TITLE_ENCODED___]
Expand Down Expand Up @@ -329,7 +332,7 @@ <h3>Footer Creator for Wiki2Reveal Presentation:</h3>
== Informations de Page ==

=== Wiki2Reveal ===
Ce jeu de '''[https://niebert.github.io/Wiki2Reveal/wiki2___SLIDETYPE___.html?domain=___DOMAIN___&title=___TITLE_ENCODED___&author=___COURSE_ENCODED___&language=___LANGUAGE___&audioslide=___AUDIO___ diapositives Wiki2Reveal]''' a été créé pour la session '''[https://___LANGUAGE___.wikiversity.org/wiki/___COURSE_ENCODED___ ___COURSE___]''' et le lien pour les diapositives Wiki2Reveal a été créé à l'aide du [https://niebert.github.io/Wiki2Reveal/ générateur de liens Wiki2Reveal].
Ce jeu de '''[https://niebert.github.io/Wiki2Reveal/wiki2___SLIDETYPE___.html?domain=___DOMAIN___&title=___TITLE_ENCODED___&author=___COURSE_ENCODED___&language=___LANGUAGE___&audioslide=___AUDIO___ diapositives Wiki2Reveal]''' a été créé pour la session '''[https://de.wikiversity.org/wiki/____COURSE_ENCODED___ ___COURSE___]''' et le lien pour les diapositives Wiki2Reveal a été créé à l'aide du [https://niebert.github.io/Wiki2Reveal/ générateur de liens Wiki2Reveal].
<!--
* Le contenu de la page est basé sur le contenu suivant:
** [https://___LANGUAGE___.wikipedia.org/wiki/___TITLE_ENCODED___ https://___LANGUAGE___.wikipedia.org/wiki/___TITLE_ENCODED___]
Expand Down Expand Up @@ -373,7 +376,7 @@ <h3>Footer Creator for Wiki2Reveal Presentation:</h3>
== Información de la Página ==

=== Wiki2Reveal ===
Este conjunto de '''[https://niebert.github.io/Wiki2Reveal/wiki2___SLIDETYPE___.html?domain=___DOMAIN___&title=___TITLE_ENCODED___&author=___COURSE_ENCODED___&language=___LANGUAGE___&audioslide=___AUDIO___&shorttitle=___SHORT_TITLE_ENCODED___&coursetitle=___COURSE_TITLE_ENCODED___ diapositivas de Wiki2Reveal]''' se creó para la sesión '''[https://___LANGUAGE___.wikiversity.org/wiki/___COURSE_ENCODED___ ___CURSO___]''', y el enlace para las diapositivas de Wiki2Reveal se creó con el [https://niebert.github.io/Wiki2Reveal/ generador de enlaces de Wiki2Reveal].
Este conjunto de '''[https://niebert.github.io/Wiki2Reveal/wiki2___SLIDETYPE___.html?domain=___DOMAIN___&title=___TITLE_ENCODED___&author=___COURSE_ENCODED___&language=___LANGUAGE___&audioslide=___AUDIO___&shorttitle=___SHORT_TITLE_ENCODED___&coursetitle=___COURSE_TITLE_ENCODED___ diapositivas de Wiki2Reveal]''' se creó para la sesión '''[https://de.wikiversity.org/wiki/____COURSE_ENCODED___ ___CURSO___]''', y el enlace para las diapositivas de Wiki2Reveal se creó con el [https://niebert.github.io/Wiki2Reveal/ generador de enlaces de Wiki2Reveal].
<!--
* El contenido de la página se basa en el siguiente contenido:
** [https://___LANGUAGE___.wikipedia.org/wiki/___TITLE_ENCODED___ https://___LANGUAGE___.wikipedia.org/wiki/___TITLE_ENCODED___]
Expand All @@ -393,8 +396,8 @@ <h3>Footer Creator for Wiki2Reveal Presentation:</h3>
<a href="https://en.wikiversity.org/wiki/Wiki2Reveal" target="_blank">
<img height="20px" src="img/icons-svg/i4m-wiki2reveal-black.svg">
Wikiversity: Wiki2Reveal</a><br>
<a href="https://www.github.com/niebert/Wiki2Reveal" target="_blank">GitHub-Repo- Version: <span id4marker="version">2.1.20</span> </a>
- Engelbert Niehaus - Date: <span id4marker="datetime">2022/01/17 22:26:03</span> <br/>
<a href="https://www.github.com/niebert/Wiki2Reveal" target="_blank">GitHub-Repo- Version: <span id4marker="version">2.1.21</span> </a>
- Engelbert Niehaus - Date: <span id4marker="datetime">2023/01/02 22:11:52</span> <br/>
<a href="https://github.com/niebert/Wiki2Reveal/archive/master.zip" target="_blank">Download Wiki2Reveal - GitHub (<span id4marker="year">2021</span>)</a><br/>
</div>
</p>
Expand Down Expand Up @@ -473,7 +476,7 @@ <h3>Footer Creator for Wiki2Reveal Presentation:</h3>
vDomain = vLinkParam.getValue("domain");
el("sWikiDomain").value = vLinkParam.getValue("domain");
vDomainName = firstUpperCase(vDomain);
};
};
//------ AUDIO SLIDE ------------------------
if (vLinkParam.exists("audioslide")) {
// e.g. index.html?domain=wikipedia
Expand Down Expand Up @@ -526,6 +529,28 @@ <h3>Footer Creator for Wiki2Reveal Presentation:</h3>
el("footerout").value = vTemplate
};

function createFooter() {
var vTemplate = "";
var id4lang = "en";
console.log("Check vDemo='" + vDemo +"'");
// ---- DEMO PAGE ------------
if (vDemo == "yes") {
if (vDataJSON.page4demo[vLanguage]) {
id4lang = vLanguage;
}
vTemplate += vDataJSON.page4demo[id4lang];
}
// ---- FOOTER ---------------
id4lang = "en";
if (vDataJSON.footer4lang[vLanguage]) {
id4lang = vLanguage;
}
vTemplate += vDataJSON.footer4lang[id4lang];
// ---- PROCESS TEMPLATE ------
setDomainName();
vTemplate = replace_marker(vTemplate);
el("footerout").value = vTemplate
};

update_links();
</script>
Expand Down
6 changes: 3 additions & 3 deletions docs/wiki2reveal_link.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
<body style="margin:10px;background:#C0C0C0;font-family:Arial,Helvetica,sans-serif">
<H2 class="slides" id="headerlink">
<img height="30px" src="img/icons-svg/i4m-wiki2reveal-black.svg">
Generator for Wiki2Reveal on Course Page <span id4marker="version">2.1.20</span>
Generator for Wiki2Reveal on Course Page <span id4marker="version">2.1.21</span>
</H2>
<H2 class="slides" id="headerdemo" style="display:none">
Generator for Wiki2Reveal Demo Page
Expand Down Expand Up @@ -251,8 +251,8 @@ <h3>Remark:</h3>
<a href="https://en.wikiversity.org/wiki/Wiki2Reveal" target="_blank">
<img height="20px" src="img/icons-svg/i4m-wiki2reveal-black.svg">
Wikiversity: Wiki2Reveal</a><br>
<a href="https://www.github.com/niebert/Wiki2Reveal" target="_blank">GitHub-Repo- Version: <span id4marker="version">2.1.20</span> </a>
- Engelbert Niehaus - Date: <span id4marker="datetime">2022/01/17 22:26:03</span> <br/>
<a href="https://www.github.com/niebert/Wiki2Reveal" target="_blank">GitHub-Repo- Version: <span id4marker="version">2.1.21</span> </a>
- Engelbert Niehaus - Date: <span id4marker="datetime">2023/01/02 22:11:52</span> <br/>
<a href="https://github.com/niebert/Wiki2Reveal/archive/master.zip" target="_blank">Download Wiki2Reveal - GitHub (<span id4marker="year">2021</span>)</a><br/>
</div>
</p>
Expand Down

0 comments on commit b1d7f70

Please sign in to comment.