DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:dokugource

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:dokugource [2011-02-09 00:33] – added plugin types achplugin:dokugource [2023-12-21 16:14] (current) – new download url Aleksandr
Line 1: Line 1:
-====== dokugource plugin ======+====== dokugource Plugin ======
  
 ---- plugin ---- ---- plugin ----
 description: Extract gource log from the wiki description: Extract gource log from the wiki
-author     :  Etienne Meleard +author     : Etienne Meleard 
-email      :  etienne.meleard@free.fr+email      : etienne.meleard@free.fr
 type       : syntax, admin, action type       : syntax, admin, action
 lastupdate : 2010-05-19 lastupdate : 2010-05-19
Line 11: Line 11:
 conflicts  conflicts 
 similar    :  similar    : 
-tags       : +tags       : log
  
-downloadurl: http://dokuwiki.yent.eu/dokugource.zip+downloadurl: https://trello.com/1/cards/5d4ee70f7492f024a1cffcdf/attachments/5d4ee7293b332d8f79e581d0/download/dokugource.zip 
 +bugtracker :  
 +sourcerepo :  
 +donationurl:  
 + 
 +screenshot_img: 
 ---- ----
  
Line 20: Line 25:
 ===== Download and Installation ===== ===== Download and Installation =====
  
-^ Download | [[http://dokuwiki.yent.eu/dokugource.zip|dokugource.zip]] | +Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
- +
-Download and install the plugin using the [[plugin:plugin|Plugin Manager]] using the URL given above. Refer to [[:Plugins]] on how to install plugins manually.+
  
 ===== Syntax and Usage ===== ===== Syntax and Usage =====
  
-Use "Gource Log" in the admin pannel to get a [[http://code.google.com/p/gource/|Gource]] compatible log file to generate an animated view of your wiki changes ! +Use "Gource Log" in the admin panel to get a [[https://gource.io/|Gource]] compatible log file to generate an animated view of your wiki changes! From field is the log starting date (strtotime compatible). Use Namespace field if you want log for a specific namespace only (absolute path).
-From field is the log starting date (strtotime compatible). +
-Use Namespace field if you want log for a specific namespace only (absolute path).+
  
-Put :+Put:
   ~~gourcecolor:hex_color_code~~   ~~gourcecolor:hex_color_code~~
 or or
Line 37: Line 38:
 in pages to force their colors. in pages to force their colors.
  
-If you use :+If you use:
   ~~gourcecolor<hex_color_code~~   ~~gourcecolor<hex_color_code~~
  
 it sets the color for the namespace. it sets the color for the namespace.
  
-Examples :+Examples:
   ~~gourcecolor:FF0000~~ in foo:bar sets the color to red for the file foo/bar.txt   ~~gourcecolor:FF0000~~ in foo:bar sets the color to red for the file foo/bar.txt
   ~~gourcecolor<0F0~~ in foo:bar sets the color to green for all pages and media under foo/   ~~gourcecolor<0F0~~ in foo:bar sets the color to green for all pages and media under foo/
  
  
-Then you can use Gource to watch logs :+Then you can use Gource to watch logs:
   gource --log-format custom gource_log_file.log --stop-position 1.0 --stop-on-idle --file-idle-time 630720000   gource --log-format custom gource_log_file.log --stop-position 1.0 --stop-on-idle --file-idle-time 630720000
  
-You can turn it into a video using ffmpeg for example :+You can turn it into a video using ffmpeg for example:
   gource --log-format custom gource_log_file.log --disable-progress --file-idle-time 630720000 --stop-at-end --output-ppm-stream - | ffmpeg -y -b 3000k -r 60 -f image2pipe -vcodec ppm -i - -vcodec flv -s 800x600 video.flv   gource --log-format custom gource_log_file.log --disable-progress --file-idle-time 630720000 --stop-at-end --output-ppm-stream - | ffmpeg -y -b 3000k -r 60 -f image2pipe -vcodec ppm -i - -vcodec flv -s 800x600 video.flv
  
Line 57: Line 58:
   my.domain.tld/path/to/page?dokugource_key=key&dokugource_from=unix_timestamp   my.domain.tld/path/to/page?dokugource_key=key&dokugource_from=unix_timestamp
  
-To get the log for the namespace the page is under. Key is defined in the gource log admin pannel using the following format :+To get the log for the namespace the page is under. Key is defined in the gource log admin pannel using the following format:
   key accessible_namespace   key accessible_namespace
  
-where key length must be between 8 and 64 chars using letters and digits (case sensitive). Use namespace parameter to restrict access to a specific namespace for the users of this key. +Where key length must be between 8 and 64 chars using letters and digits (case sensitive). Use namespace parameter to restrict access to a specific namespace for the users of this key. 
-  +
plugin/dokugource.1297208036.txt.gz · Last modified: 2011-02-09 00:33 by ach

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki