rip icon indicating copy to clipboard operation
rip copied to clipboard

Count # of views per album, allow sorting based on view count

Open 4pr0n opened this issue 11 years ago • 1 comments

4pr0n avatar Sep 06 '13 12:09 4pr0n

Ideas:

Store view counts in a txt file stats.txt.

Could also implement a 'report' button which increments the # of reports an album gets (dupe on IP).

It'd be great if we knew the original URL for an album ... This should be contained in the first lines of the log.txt, but will have to double-check. The album viewer could link to the original URL.

Sort albums based on view count would be expensive -- iterating over every directory, retrieving stats.txt, parsing view count, adding to list, sorting list, returning ... This could be done every 5min via a cronjob, I guess (python_cleanup.py?)

4pr0n avatar Sep 07 '13 23:09 4pr0n