Difference between revisions of "User:Kuraiko Yoshikawa/SLog Wikifier"

From Second Life Wiki
Jump to navigation Jump to search
(Blanked the page)
 
Line 1: Line 1:
[[File:Flag_of_Germany.svg|30px|link=User:Kuraiko_Yoshikawa/SLog_Wikifier/de]] [[User:Kuraiko_Yoshikawa/SLog_Wikifier/de|Klicke hier um die Anleitung auf Deutsch zu lesen.]]
__NOTOC__
== SLog Wikifier ==
<div style="padding: 5px;">
<table><tr><td style="padding-right: 50px; padding-top: 20px; vertical-align: top;">
<div style="width: 220px; border: 1px solid lightgray; -webkit-border-radius: 20px; -moz-border-radius: 20px; color: #546368; background-color: #F4F8FB;">
* [[#overview|<font color="#546368">'''Overview '''</font>]]
# [[#main|<font color="#546368">'''Main Settings'''</font>]]
## [[#attendees|<font color="#546368">Create list of attendees</font>]]
## [[#user_pages|<font color="#546368">Link to User Pages</font>]]
## [[#highlight|<font color="#546368">Highlight Linden Msg's</font>]]
# [[#removes|<font color="#546368">'''Removes'''</font>]]
## [[#remove_lines|<font color="#546368">Remove lines with</font>]]
## [[#ano|<font color="#546368">Anonymize Names</font>]]
# [[#out|<font color="#546368">'''Output'''</font>]]
## [[#out_line|<font color="#546368">Line</font>]]
## [[#out_user|<font color="#546368">User</font>]]
## [[#out_color|<font color="#546368">Color</font>]]
## [[#out_bullet|<font color="#546368">Bullet Line</font>]]
# [[#transcript|<font color="#546368">'''Transcript Area'''</font>]]
# [[#buttons|<font color="#546368">'''Buttons'''</font>]]
## [[#btn_wikify|<font color="#546368">Wikify it</font>]]
## [[#btn_reset|<font color="#546368">Reset</font>]]
# [[#result|<font color="#546368">Result</font>]]
</div>
</td>
<td>
[[File:Slog overview.png]]
</td>
</tr></table>


<div id="box">
== Overview ==
<div style="padding: 5px;">
First things first: you may find the [http://slog.whiz-kids.de/ SLog Wikifier over here] and big thanks goes to [[User:Zai Lynch|Zai]] for this english translation.
* now splits a line at the timestamp so that linebreaks are reproduced and don't borg the layout anymore.
* supports different styles for the wikified log.
* can highlight lines written by Lindens.
* anonymize Residents.
* automatically removes lines by Mystitool, ZHAO, Voice Client and friendlist settings.
** You define own keywords for lines that are supposed to be removed.
* provides UTF-8 support.
'''''Limits'''''
* Timestamps need to be in one of the two following formats: '''[HH:ii]''' ([12:10]) or '''[YYYY/mm/dd HH:ii]''' (2009/07/28 12:10)
'''''Known Bugs'''''
* Mixing timestamps does only work when the main timestamp is '''[HH:ii]'''. When you have '''[YYYY/mm/dd HH:ii]''' as main timestamp and in the transcript is a copy&paste line with '''[HH:ii]''' the output is borked because the wikifier first search for '''[HH:ii]''' if this true it think this is the main timestamp format... This will be fixed in a future version!
</div>
</div>
<!-- Transcript generated with [http://slog.whiz-kids.de SLog Wikifier] -->{{#if:
<!-- START Define Variables for #ifexist Userpagelinks -->
{{#vardefine: Lara_Shepherd|{{#ifexist: User:Lara Shepherd|[[User:Lara Shepherd|Lara Shepherd]]|Lara Shepherd}}}}
{{#vardefine: Simone_Linden|{{#ifexist: User:Simone Linden|[[User:Simone Linden|Simone Linden]]|Simone Linden}}}}
{{#vardefine: Kuraiko_Yoshikawa|{{#ifexist: User:Kuraiko Yoshikawa|[[User:Kuraiko Yoshikawa|Kuraiko Yoshikawa]]|Kuraiko Yoshikawa}}}}
{{#vardefine: Zai_Lynch|{{#ifexist: User:Zai Lynch|[[User:Zai Lynch|Zai Lynch]]|Zai Lynch}}}}
{{#vardefine: Anonym1|{{#ifexist: User:Anonym1|[[User:Anonym1|Anonym1]]|Anonym1}}}}
<!-- END -->}}
<div id="box">
==<span id="main"></span> 1. Main Settings ==
<div style="padding: 5px;">
[[File:Main_settings.png]]
=== <span id="attendees"></span>1.1 Create list of attendees ===
Creates an alphabetical list of attendees out of all Residents whos chat is featured in the log.
'''''Example:'''''
<!-- START List of Attendees -->
<div id='box' style="width: 400px">
== List of Attendees ==
<div style='padding: 0.5em'>
*Kuraiko Yoshikawa
*Lara Shepherd
*Simone Linden
*Zai Lynch
</div></div>
<!-- END -->
=== <span id="user_pages"></span>1.2 Link to User Pages ===
When checked, all usernames in the log are turned into links to these Resident's userpages.
The links are only shown in case these Residents got Userpages at all.
'''''Example:'''''
<div id='box' style="width: 400px">
== Transcript ==
<div style='padding: 0.5em'>
{| cellspacing="2px" border=0 style="color: #434849;"
|-style="background-color: #D7DEE7;"
|style="white-space: nowrap; padding:0 3px;"|<span id="msg_0"></span>[[#msg_0|[24:24]]]
|style="white-space: nowrap; padding:0 3px; text-align: right; vertical-align: top;"|{{#var:Kuraiko_Yoshikawa}}:
|width=100% style=" padding:0 3px;"|Heya ^-^
|-style="background-color: #C7D4E4;"
|style="white-space: nowrap; padding:0 3px;"|<span id="msg_1"></span>[[#msg_1|[24:24]]]
|style="white-space: nowrap; padding:0 3px; text-align: right; vertical-align: top;"|{{#var:Zai_Lynch}}:
|width=100% style=" padding:0 3px;"|*hugs*
|-style="background-color: #D7DEE7;"
|style="white-space: nowrap; padding:0 3px;"|<span id="msg_2"></span>[[#msg_2|[24:24]]]
|style="white-space: nowrap; padding:0 3px; text-align: right; vertical-align: top;"|{{#var:Simone_Linden}}:
|width=100% style=" padding:0 3px;"|Hallo :-)
|-style="background-color: #C7D4E4;"
|style="white-space: nowrap; padding:0 3px;"|<span id="msg_3"></span>[[#msg_3|[24:24]]]
|style="white-space: nowrap; padding:0 3px; text-align: right; vertical-align: top;"|{{#var:Lara_Shepherd}}:
|width=100% style=" padding:0 3px;"|:o)
|}</div></div>
=== <span id="highlight"></span>1.3 Highlight Linden Msg's ===
Highlights all Linden messages in the log with a special color.
'''''Example:'''''
<div id='box' style="width: 400px;">
== Transcript ==
<div style='padding: 0.5em'>
{| cellspacing="2px" border=0 style="color: #434849;"
|-style="background-color: #D7DEE7;"
|style="white-space: nowrap; padding:0 3px;"|<span id="msg_0"></span>[[#msg_0|[24:24]]]
|style="white-space: nowrap; padding:0 3px; text-align: right; vertical-align: top;"|{{#var:Kuraiko_Yoshikawa}}:
|width=100% style=" padding:0 3px;"|Heya ^-^
|-style="background-color: #C7D4E4;"
|style="white-space: nowrap; padding:0 3px;"|<span id="msg_1"></span>[[#msg_1|[24:24]]]
|style="white-space: nowrap; padding:0 3px; text-align: right; vertical-align: top;"|{{#var:Zai_Lynch}}:
|width=100% style=" padding:0 3px;"|*hugs*
|-style="background-color: #FFFDC6;"
|style="white-space: nowrap; padding:0 3px;"|<span id="msg_2"></span>[[#msg_2|[24:24]]]
|style="white-space: nowrap; padding:0 3px; text-align: right; vertical-align: top;"|{{#var:Simone_Linden}}:
|width=100% style=" padding:0 3px;"|Hallo :-)
|-style="background-color: #D7DEE7;"
|style="white-space: nowrap; padding:0 3px;"|<span id="msg_3"></span>[[#msg_3|[24:24]]]
|style="white-space: nowrap; padding:0 3px; text-align: right; vertical-align: top;"|{{#var:Lara_Shepherd}}:
|width=100% style=" padding:0 3px;"|:o)
|}</div></div>
</div>
</div>
<div id="box">
== <span id="removes"></span>2. Removes ==
<div style="padding: 5px;">
[[File:Removes.png]]
=== <span id="remove_lines"></span>2.1 Remove lines with ===
All lines which contain keywords entered in this section will be removed. This is particularly useful for messages by HUDs, radars, etc. Enter everything that you don't like to see in the log.
Messages containing the following are automatically discareded:
''is Offline'', ''is Online'', ''ist Online'', ''ist Offline'', ''Connecting'', ''Connected'', ''MystiTool HUD'', ''ZHAO-II MB'', ''Free Radar HUD'' and ''Teleport completed from''.
When you're leaving the line empty, the above keywords will be discarded nevertheless. When you enter additional terms, the above will be removed as well!
=== <span id="ano"></span>2.2 Anonymize Names ===
You may enter comma seperated names which aren't supposed to appear in the Log.
'''''Example:'''''
<div id='box' style="width: 400px">
== Transcript ==
<div style='padding: 0.5em'>
{| cellspacing="2px" border=0 style="color: #434849;"
|-style="background-color: #D7DEE7;"
|style="white-space: nowrap; padding:0 3px;"|<span id="msg_0"></span>[[#msg_0|[24:24]]]
|style="white-space: nowrap; padding:0 3px; text-align: right; vertical-align: top;"|{{#var:Anonym1}}:
|width=100% style=" padding:0 3px;"|Heya ^-^
|-style="background-color: #C7D4E4;"
|style="white-space: nowrap; padding:0 3px;"|<span id="msg_1"></span>[[#msg_1|[24:24]]]
|style="white-space: nowrap; padding:0 3px; text-align: right; vertical-align: top;"|{{#var:Zai_Lynch}}:
|width=100% style=" padding:0 3px;"|*hugs*
|-style="background-color: #FFFDC6;"
|style="white-space: nowrap; padding:0 3px;"|<span id="msg_2"></span>[[#msg_2|[24:24]]]
|style="white-space: nowrap; padding:0 3px; text-align: right; vertical-align: top;"|{{#var:Simone_Linden}}:
|width=100% style=" padding:0 3px;"|Hallo :-)
|-style="background-color: #D7DEE7;"
|style="white-space: nowrap; padding:0 3px;"|<span id="msg_3"></span>[[#msg_3|[24:24]]]
|style="white-space: nowrap; padding:0 3px; text-align: right; vertical-align: top;"|{{#var:Lara_Shepherd}}:
|width=100% style=" padding:0 3px;"|:o)
|}</div></div>
IN the example above, the name "Kuraiko Yoshikawa" was entered and - as you can see - replaced by '''Anonym1'''.
Anonymized names will be automatically numbered.
</div>
</div>
<div id="box">
== <span id="out"></span>3. Output ==
<div style="padding: 5px;">
[[File:Output.png]]<br>
The wikifier supports a few different 'designs' for the generated transcript.
<span id="out_line"></span>In '''Line''' mode, every second line has the same color. So line 1 is grey, line 2 is blue, line 3 is grey again and so on.
'''''Example:'''''
<div id='box' style="width: 400px">
== Transcript ==
<div style='padding: 0.5em'>
{| cellspacing="2px" border=0 style="color: #434849;"
|-style="background-color: #D7DEE7;"
|style="white-space: nowrap; padding:0 3px;"|<span id="msg_0"></span>[[#msg_0|[24:24]]]
|style="white-space: nowrap; padding:0 3px; text-align: right; vertical-align: top;"|{{#var:Anonym1}}:
|width=100% style=" padding:0 3px;"|Heya ^-^
|-style="background-color: #C7D4E4;"
|style="white-space: nowrap; padding:0 3px;"|<span id="msg_1"></span>[[#msg_1|[24:24]]]
|style="white-space: nowrap; padding:0 3px; text-align: right; vertical-align: top;"|{{#var:Anonym1}}:
|width=100% style=" padding:0 3px;"|*hugs* ^_^
|-style="background-color: #D7DEE7;"
|style="white-space: nowrap; padding:0 3px;"|<span id="msg_2"></span>[[#msg_2|[24:24]]]
|style="white-space: nowrap; padding:0 3px; text-align: right; vertical-align: top;"|{{#var:Zai_Lynch}}:
|width=100% style=" padding:0 3px;"|*hugs*
|-style="background-color: #C7D4E4;"
|style="white-space: nowrap; padding:0 3px;"|<span id="msg_3"></span>[[#msg_3|[24:24]]]
|style="white-space: nowrap; padding:0 3px; text-align: right; vertical-align: top;"|{{#var:Simone_Linden}}:
|width=100% style=" padding:0 3px;"|Hallo :-)
|-style="background-color: #D7DEE7;"
|style="white-space: nowrap; padding:0 3px;"|<span id="msg_4"></span>[[#msg_4|[24:24]]]
|style="white-space: nowrap; padding:0 3px; text-align: right; vertical-align: top;"|{{#var:Lara_Shepherd}}:
|width=100% style=" padding:0 3px;"|Hallo
|-style="background-color: #C7D4E4;"
|style="white-space: nowrap; padding:0 3px;"|<span id="msg_5"></span>[[#msg_5|[24:24]]]
|style="white-space: nowrap; padding:0 3px; text-align: right; vertical-align: top;"|{{#var:Lara_Shepherd}}:
|width=100% style=" padding:0 3px;"|:o)
|}</div></div>
<span id="out_user"></span>In '''User''' mode, subsequent lines of the same Resident got the same backgroundcolor.
'''''Example:'''''
<div id='box' style="width: 400px">
== Transcript ==
<div style='padding: 0.5em'>
{| cellspacing="2px" border=0 style="color: #434849;"
|-style="background-color: #D7DEE7;"
|style="white-space: nowrap; padding:0 3px;"|<span id="msg_0"></span>[[#msg_0|[24:24]]]
|style="white-space: nowrap; padding:0 3px; text-align: right; vertical-align: top;"|{{#var:Anonym1}}:
|width=100% style=" padding:0 3px;"|Heya ^-^
|-style="background-color: #D7DEE7;"
|style="white-space: nowrap; padding:0 3px;"|<span id="msg_1"></span>[[#msg_1|[24:24]]]
|style="white-space: nowrap; padding:0 3px; text-align: right; vertical-align: top;"|{{#var:Anonym1}}:
|width=100% style=" padding:0 3px;"|*hugs* ^_^
|-style="background-color: #C7D4E4;"
|style="white-space: nowrap; padding:0 3px;"|<span id="msg_2"></span>[[#msg_2|[24:24]]]
|style="white-space: nowrap; padding:0 3px; text-align: right; vertical-align: top;"|{{#var:Zai_Lynch}}:
|width=100% style=" padding:0 3px;"|*hugs*
|-style="background-color: #D7DEE7;"
|style="white-space: nowrap; padding:0 3px;"|<span id="msg_3"></span>[[#msg_3|[24:24]]]
|style="white-space: nowrap; padding:0 3px; text-align: right; vertical-align: top;"|{{#var:Simone_Linden}}:
|width=100% style=" padding:0 3px;"|Hallo :-)
|-style="background-color: #C7D4E4;"
|style="white-space: nowrap; padding:0 3px;"|<span id="msg_4"></span>[[#msg_4|[24:24]]]
|style="white-space: nowrap; padding:0 3px; text-align: right; vertical-align: top;"|{{#var:Lara_Shepherd}}:
|width=100% style=" padding:0 3px;"|Hallo
|-style="background-color: #C7D4E4;"
|style="white-space: nowrap; padding:0 3px;"|<span id="msg_5"></span>[[#msg_5|[24:24]]]
|style="white-space: nowrap; padding:0 3px; text-align: right; vertical-align: top;"|{{#var:Lara_Shepherd}}:
|width=100% style=" padding:0 3px;"|:o)
|}</div></div>
<span id="out_color"></span>In '''Color''' mode - like in '''User''' mode - subsequent lines of the same Resident got the same backgroundcolor. In addition, every Resident gets one of 144 textcolors. These colors stick to a particular Resident throughout the log.
'''''Beispiel:'''''
<div id='box' style="width: 400px">
== Transcript ==
<div style='padding: 0.5em'>
{| cellspacing="2px" border=0 style="color: #434849;"
|-style="background-color: #D7DEE7; color: #0099FF;"
|style="white-space: nowrap; padding:0 3px;"|<span id="msg_0"></span>[[#msg_0|[24:24]]]
|style="white-space: nowrap; padding:0 3px; text-align: right; vertical-align: top;"|{{#var:Anonym1}}:
|width=100% style=" padding:0 3px;"|Heya ^-^
|-style="background-color: #D7DEE7; color: #0099FF;"
|style="white-space: nowrap; padding:0 3px;"|<span id="msg_1"></span>[[#msg_1|[24:24]]]
|style="white-space: nowrap; padding:0 3px; text-align: right; vertical-align: top;"|{{#var:Anonym1}}:
|width=100% style=" padding:0 3px;"|*hugs* ^_^
|-style="background-color: #C7D4E4; color: #003333;"
|style="white-space: nowrap; padding:0 3px;"|<span id="msg_2"></span>[[#msg_2|[24:24]]]
|style="white-space: nowrap; padding:0 3px; text-align: right; vertical-align: top;"|{{#var:Zai_Lynch}}:
|width=100% style=" padding:0 3px;"|*hugs*
|-style="background-color: #D7DEE7; color: #000099;"
|style="white-space: nowrap; padding:0 3px;"|<span id="msg_3"></span>[[#msg_3|[24:24]]]
|style="white-space: nowrap; padding:0 3px; text-align: right; vertical-align: top;"|{{#var:Simone_Linden}}:
|width=100% style=" padding:0 3px;"|Hallo :-)
|-style="background-color: #C7D4E4; color: #000066;"
|style="white-space: nowrap; padding:0 3px;"|<span id="msg_4"></span>[[#msg_4|[24:24]]]
|style="white-space: nowrap; padding:0 3px; text-align: right; vertical-align: top;"|{{#var:Lara_Shepherd}}:
|width=100% style=" padding:0 3px;"|Hallo
|-style="background-color: #C7D4E4; color: #000066;"
|style="white-space: nowrap; padding:0 3px;"|<span id="msg_5"></span>[[#msg_5|[24:24]]]
|style="white-space: nowrap; padding:0 3px; text-align: right; vertical-align: top;"|{{#var:Lara_Shepherd}}:
|width=100% style=" padding:0 3px;"|:o)
|}</div></div>
<span id="out_bullet"></span>Last but not least, '''''Bullet Line''''' mode represents the style of the old Wikifier.
When ''Highlight Linden Msg's'' is active, messages will be printed in bold when this mode is chosen.
'''''Example:'''''
<div id='box' style="width: 400px">
== Transcript ==
<div style='padding: 0.5em'>
*<span id="msg_0"></span>[[#msg_0|[24:24]]] {{#var:Anonym1}}: Heya ^-^
*<span id="msg_1"></span>[[#msg_1|[24:24]]] {{#var:Anonym1}}: *hugs* ^_^
*<span id="msg_2"></span>[[#msg_2|[24:24]]] {{#var:Zai_Lynch}}: *hugs*
*<span id="msg_3"></span>[[#msg_3|[24:24]]] {{#var:Simone_Linden}}: Hallo :-)
*<span id="msg_4"></span>[[#msg_4|[24:24]]] {{#var:Lara_Shepherd}}: Hallo
*<span id="msg_5"></span>[[#msg_5|[24:24]]] {{#var:Lara_Shepherd}}: :o)
</div></div>
</div>
</div>
<div id="box">
== <span id="transcript"></span>4. Transcript Area ==
<div style="padding: 5px">
Your chatlog is supposed to be pasted in this big grey field :-p
</div>
</div>
<div id="box">
== <span id="buttons"></span>5. Buttons ==
<div style="padding: 5px">
<span id="btn_wikify"></span>'''''Wikify it''''' generates your log for the Wiki.
<span id="btn_reset"></span>'''''Reset''''' resets the Wikifier in its default state.
</div>
</div>
<div id="box">
==<span id="result"></span>6. Result ==
<div style="padding: 5px">
And this is how it looks in the end:<br>
[[File:Slog_wikified.png]]<br>
The original log is located on top whicle the wikified transcript is beneath. When something is changed in the original log or in the Wikifier's settings, you can simply click '''Wikify it''' again.
</div>
</div>

Latest revision as of 14:24, 22 August 2014