Processing Logs

Methods to Convert Logs for Wikidot

Using Microsoft Word Regular Expressions

IRC to Wiki Table

Then run these lines to format the topics

Find What:

\[[!\]]@\][ ]@[\*=]@[ ]@[! ]@ has changed the topic to[: ]@(*)^13
\[[!\]]@\][ ]@[\*=]@[ ]@Topic[!^13]@is[: ]@(*)^13
\[[!\]]@\][ ]@[\*=]@[ ]@Topic[!^13]@for[: ]@(*)^13
[\*=]@[ ]@[! ]@ has changed the topic to[: ]@(*)^13
[\*=]@[ ]@Topic[!^13]@is[: ]@(*)^13
[\*=]@[ ]@Topic[!^13]@for[: ]@(*)^13

Options: Use Wildcards

Replace With:

||||||~ \1||^p

Optional: run each of these lines to remove client events
MIRC

\[[!\]]@\][ ]@[\*=][ ]@[!^13]@^13
\[[!\]]@\][ ]@[\*=]@[ ]@[!^13]@^13
[\*]@[ ]@([!^13]@)^13
[=]@[ ]@([!^13]@)^13

XCHAT

\[[!\]]@\][ ]@[\*=][ ]@[!^13 ]@[ ]@has quit \*\^13
\[[!\]]@\][ ]@[!^13]@ Now talking on [!^13]@^13
\[[!\]]@\][ ]@[\*=][ ]@[!^13]@has joined #[!^13 ]@^13
\[[!\]]@\][ ]@[\*=][ ]@[!^13]@sets mode *^13
\[[!\]]@\][ ]@[\*=][ ]@[!^13]@now known as [!^13 ]@^13
\[[!\]]@\][ ]@[\*=][ ]@[!^13]@ set by *^13
\[[!\]]@\][ ]@[\*=][ ]@Now talking on #[!^13 ]@^13
\[[!\]]@\][ ]@[\*=][ ]@[!^13 ]@ has kicked [!^13 ]@ from #[!^13]@^13
\[[!\]]@\][ ]@[\*=][ ]@Disconnected[!^13]@^13
\[[!\]]@\][ ]@\<[! ]@\>[ ]@\!dm9001 *^13

Then convert emotes

Find What:

\[([!\]]@)\][ ]@(\*[ ]@[! ]@) (*)^13

Options: Use Wildcards

Replace With:

||||||[!-- \1 --] **\2** \3||^p

Then run this to convert what is left.

Find What:

\[([!\]]@)\][ ]@([! ]@)[ ]@(*)^13

Options: Use Wildcards

Replace With:

||~ [!-- \1 --]\2||\3||^p
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License