This is an old revision of the document!
Table of Contents
Complete your lesson assignment.
Please use an internet search engine to locate some examples of modernism.
Write one to two paragraphs discussing your impressions of the art pieces you found.
Include:
What are the art pieces about? What elements make the art pieces modernist art? Explain. How do the pieces differ from other art with which you may be familiar? In what ways do you think technology influenced the pieces that you found? Assignment Guidelines:
Use complete sentences and cite any references you use.
Submission Requirements:
Submit one to two paragraphs.
When submitting written assignments please remember to:
Submit the assignment question(s) and your responses. Proof read for spelling, grammar, and punctuation. Remember to use complete sentence structure. Paragraphs need to have a minimum of six sentences.
Installation
Search and install the plugin using the Extension Manager.
Alternatively, refer to Plugins on how to install plugins manually:
- Unzip the file
- drop the contents into your
…/lib/plugins/
directory and upload to your server. - Any existing pages will need to be re-built (no change to the page is required, but rebuilding gives DokuWiki a chance to re-parse your text)
PHP 7 and above
In the file syntax.php
change the folowing lines:
from
public function render($mode, &$renderer, $data) {
in:
public function render($mode, $renderer, $data) {
from
public function handle($match, $state, $pos, &$handler){
in
public function handle($match, $state, $pos, $handler){
Examples/Usage
Simply write valid bible verse addresses in the text body of your page:
====== PlayGround ====== \\ As seen in the bible, Mark 3:1 , He tests his wiki code. Not HTML code.\\ Lets try some more: 1 Machabees 1:1, and maybe Amos 2:2 and how about 2 Peter 1:1; Romans 3:3\\ Good? \\ Mark 3:3\\ Mark 1:1\\ Mark 2:22-25\\ Amos 1:1-25\\ Mark 3:1-5 \\ Okay, all is good.
Results in a Rendered Page.jpg where hovering over links look like:
Syntax
To quote Mark chapter 3, verse one:
Mark 3:1
To quote Mark chapter 3, verse one through 9:
Mark 3:1-9
To quote Second Kings chapter 11 verse 8:
2 Kings 11:8
Configuration and Settings
No custom configurations have been added. But that'd be great. You should add some (bible edition, language?).
Development
syntax.php is the only workhorse file, and is heavily commented for easy modification. It contains all 6 required functions and one custom function of my own at the bottom.
To add new translations of the bible:
- create a directory for the bible text files (like “bible_NAB”).
- Separate the bible by chapter into separate text files called CHAPTER.txt, using underscores for spaces (like “1_Kings.txt”).
- Make sure that each verse of the bible is a separate line that looks like 'CHAPTER#:VERSE#. CONTENT' (like “1:1. In the beginning God created heaven, and earth.”).
- Now modify syntax.php to set the variable $validBibleBooksArr to contain the valid books (I use 73 for the Catholic bible, but Protestant bibles have only 66 books).
- Modify syntax.php to correct $filename to point to your bible text files instead of “bible_douayRheims/”
Change Log
- 2012-10-17
- Initial release
Known Bugs and Issues
Listing a match in the regexp that is an invalid bible verse will cause a warning/error to print out at the top of your page. This is by design, but it might be preferable to just ignore those.
For example:
Genesis 7782:448448
ToDo/Wish List
- More translations of the bible would be great.
- Configuration options for choosing the desired translation would be great.