Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 1.18 KB

README.md

File metadata and controls

38 lines (23 loc) · 1.18 KB

Timeline Explorer

This utility program takes as input a folder, scans it for all files and sort it from the more recent to the oldest one. It generates an html file pointing to files, sorted in a timeline manner.

Updated: December 29 2019

Stable version

  • champ4.lisp : stable version

Usage

Just load the file and follow instructions.

Compatibility notes

Tested under sbcl/debian and cmucl/debian.

champ2.lisp was portable Linux/Windows but champ4.lisp was not tested under Windows.

Potential to do

  • Use macros to generate html in an easier way.
  • Optimize.
    • champ5.lisp: write the html page in memory before dumping it in a file.
  • Port for Windows.

Implementation notes

The v4 version is based on the following design choices:

  • The basic recursion explores the tree of folders and aggregates it in a list of files;
    • Used type (string): (namestring (car (directory XX)));
  • Another loop creates the datetime tags and store it in a list:
    • ((second-nb1 namestring1) (second-nb2 namestring2) ... (second-nbi namestringi));
  • Then the list is sorted based on timestamps;
  • Then the html is generated (with the index in parallel).