#5chdat DirectiveThis document outlines the basic functionality and usage of the #5chdat directive, designed to simplify the embedding and referencing of 5ch (formerly 2ch) thread data within PukiWiki pages or similar environments.
#5chdat?The #5chdat directive allows users to embed or link to archived 5ch thread data using a simplified syntax. It is particularly useful for referencing threads stored in .dat format or mirrored content, enabling easier navigation and integration into wiki-based documentation or archival projects.
.dat parsing and legacy compatibilityTo ensure secure handling of .dat file attachments and avoid unintended behavior, we are shifting away from automated processes.
Instead, we plan to implement a manual verification step:
.dat file operation (e.g., upload or parse), the plugin will pause and display a password input formmd5(md5($pass) . $salt))This approach avoids storing or exposing password hashes and ensures that all sensitive operations require explicit user intent.
#5chdat(URL)
5chdat ๅฎ่กไพใ่ฆใ 5ch็
ๅ ฅๅURL: https://medaka.5ch.net/test/read.cgi/gameurawaza/1366108733/158 preg_match ็ตๆ: $m[0] = https://medaka.5ch.net/test/read.cgi/gameurawaza/1366108733/158 $m[1] = medaka.5ch.net $m[2] = gameurawaza $m[3] = 1366108733 $m[4] = 158 DAT URL: https://medaka.5ch.net/gameurawaza/dat/1366108733.dat โ DATๅๅพๆๅ Server = medaka.5ch.net Board = gameurawaza Thread = 1366108733 DATใตใคใบ = 122942 bytes ๆๅญใณใผใ = SJIS-win DAT่กๆฐ: 537 1่ก็ฎใใฃใผใซใๆฐ: 5
๐ง ใณใกใณใ by softchip: