Dear list,

I need to retrieve a list of files form a specific repository folder through javascript from within a webpage that is located in fossil's www directory.

The only solutions I can think of (though not really satisfactory) are:

- store file names of files in folder x in a JSON file with known location.
- trying to "scan" fossil's internal file list website and extract file/folder links. (not even sure if it is possible)

The disadvantage of the first option is that the list-of-file-names-file needs to be updated each time a new file has been added to folder x.

Do you have any suggestions? As far as I read the JSON API might be useful but I is not available at chiselapp.com, I suppose.

Background: I am /misusing/ fossil as a JSON database.

Thank you
Jan

_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to