summaryrefslogtreecommitdiffstats
path: root/README.1st
diff options
context:
space:
mode:
authorrobertabcd <robertabcd@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2014-10-05 23:42:36 +0800
committerrobertabcd <robertabcd@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2014-10-05 23:42:36 +0800
commit3b0f284ef9e66dab6f43785873b8bb97389c996f (patch)
tree69f77901ed70fb5826b81fe7a65668477c50a83a /README.1st
parent779c686861cb2c8d4183c2a362b5856dd8b56f27 (diff)
downloadpttbbs-3b0f284ef9e66dab6f43785873b8bb97389c996f.tar
pttbbs-3b0f284ef9e66dab6f43785873b8bb97389c996f.tar.gz
pttbbs-3b0f284ef9e66dab6f43785873b8bb97389c996f.tar.bz2
pttbbs-3b0f284ef9e66dab6f43785873b8bb97389c996f.tar.lz
pttbbs-3b0f284ef9e66dab6f43785873b8bb97389c996f.tar.xz
pttbbs-3b0f284ef9e66dab6f43785873b8bb97389c996f.tar.zst
pttbbs-3b0f284ef9e66dab6f43785873b8bb97389c996f.zip
boardd: article{stat,part,head,tail} keys.
"<bid>.articlestat.<filename>" => "<cachekey>,<filesize>" "<bid>.article<method>.<cachekey>.<offset>.<maxlen>.<filename>" => "<metaline>\n<content>" method = "part" | "head" | "tail" metaline = "<cachekey>,<filesize>,<offset>,<length>" Cache key is a key that can be used to check if the file is edit by user. Currently, "<st_dev>-<st_ino>" is used for approximation. Each method operates content in file described by <offset> and <length>. The function of methods is described as below: part - output the desired part of file. head - select a good portion from the beginning of the part. (eg. end with a new-line; not inside a DBCS char) tail - select a good portion from the end of the part. Note that <offset> and <length> correspond to the original file, not to be confused with conversions. (eg. UTF-8) git-svn-id: http://opensvn.csie.org/pttbbs/trunk@6077 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'README.1st')
0 files changed, 0 insertions, 0 deletions