Redesign Your Town

Urban Regeneration in Four European Countries

User Tools

Site Tools


wiki_plugin_development

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki_plugin_development [2014/03/31 12:12]
angelg
wiki_plugin_development [2014/10/15 22:38] (current)
antony
Line 1: Line 1:
 +<WRAP tabs>  ​
 +  * [[start:​1-France|France]]
 +  * [[start:​2-Germany|Germany]]
 +  * [[start:​3-Poland|Poland]]
 +  * [[start:​4-Spain|Spain]]
 +  * [[start:​5-working together|Together]]
 +  * [[start:​6-multimedia glossaries|Glossaries]]
 +  * [[start:​7-pictionary|Pictionary]]
 +</​WRAP>​
 +
 ====== Translate Plugin Development ====== ====== Translate Plugin Development ======
  
-In order to make the wiki easier to use, I've developed a new dokuwiki plugin whitch I'm going to introduce you. As you know, In the wiki there is a page for glossaries ​where students translate common words for different situations. Then, they record themselves saying that words so the rest can hear the correct pronunciation. And lastly, they edit the glossaries and use a special tag (mp3play) to insert the sound player. That is really cool and useful, but we needed to do something more interative.+<WRAP center round box 4%> 
 +[[start:​6-multimedia ​glossaries|Back]] 
 +</​WRAP>​
  
-The idea was to allow the editors of the page to use a new tag in the wiki editorjust as they use one to insert ​the soundBu this one will work different. Maybe yoy have seen some pages whereif you place the mouse over some word or content, ​small tooltip is showed with useful information ​(or not). That was what we wanted ​to do, but with the recoded translation instead of the info. That is to say, a tag that means a word in which you place the mouse over and a tooltip is shown with the recorded translation. And that is what I did.+In order to make the wiki easier ​to use, I've developed ​a new dokuwiki plugin whitch I'm going to introduce you. As you know, In the wiki there is a page for glossaries where students translate common words for different situations. Then, they record themselves saying that words so the rest can hear the correct pronunciationAnd lastlythey edit the glossaries and use special tag (mp3play) to insert ​the sound player. That is really cool and useful, but we needed ​to do something more interactive.
  
-The plugin is really easy to use. Just open a page for editing as yoy usually do, and write the tag with the following syntax:+The idea was to allow the editors of the page to use a new tag in the wiki editor, just as they use one to insert the sound. But this one will work different. Maybe yoy have seen some pages where, if you place the mouse over some word or content, a small tooltip is showed with useful information (or not). That was what we wanted to do, but with the recoded translation instead of the info. That is to say, a tag that means a word in which you place the mouse over and a tooltip is shown with the recorded translation. And that is what I did. 
 + 
 +The plugin is really easy to use. Just open a page for editing as you usually do, and write the tag with the following syntax:
  
 <​html>​ <​html>​
Line 11: Line 25:
 </​html>​ </​html>​
  
-I'​ve ​make a little video showing the process. It doesn'​t have audio, but I think It's self-explanatory.+ 
 + 
 +For the mp3 file, you must insert the direction just like with mp3play plugin. At the end, It will look like this 
 +{{translate>​Hello||start:​6-multimedia_glossaries:​introducing:​hello.mp3?​50%}} 
 +
 + 
 +\\ 
 + 
 +{{translate>​Hello World!||start:​6-multimedia_glossaries:​introducing:​hello.mp3?​50%}} 
 + 
 +\\ 
 + 
 +I'​ve ​made a little video showing the process. It doesn'​t have audio, but I think It's self-explanatory.
  
 {{youtube>​5W3dz7L-yjU?​medium}} {{youtube>​5W3dz7L-yjU?​medium}}
  
 \\ \\
-When you're using the plugin is important to be careful. By desing, this plugin can't be included in things like headers. It will simply not work, or even It could break the page design. ​Allways remberber ​that the preview feature is your friend.+When you're using the plugin is important to be careful. By desing, this plugin can't be included in things like headers. It will simply not work, or even It could break the page design. ​Always remember ​that the preview feature is your friend.
  
  
Line 24: Line 50:
 By Ángel García Jiménez ([[https://​github.com/​Kamisama666|Kamisama666]]) By Ángel García Jiménez ([[https://​github.com/​Kamisama666|Kamisama666]])
  
 +
 +<WRAP center round box 3%>
 +[[wiki_plugin_development|TOP]]
 +</​WRAP>​
  
wiki_plugin_development.1396260768.txt.gz · Last modified: 2014/03/31 12:12 by angelg