rejetto forum

load comments from external files

0 Members and 1 Guest are viewing this topic.

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
load comments from external files

this is a little explanation on how this feature works

there are two kind of files that are read by HFS for comments

1. in real-folders, create a file hfs.comments.txt
each line is in the format filename=comment
so you can specify comments for many files, but all must reside in that folder.
notice: don't leave empty spaces before equal sign (=) .

2. in the same folder of file X, create a file X.comment and the content will be considered as comment for X


all file of this kind are not listed, but if correct URL is supplied, they can be downloaded...i don't see a reason to protect them, wasted sweat.

files of kind 2 can be disabled with option Virtual File System -> Load single comment files.
it is enabled by default. if you disable it, then any file.comment will be listed.
you can disable kind 2 because i think it MAY slow down. i'm not sure about this, i made no benchmark.