Forums / Suggestions / Filesystem mirror module

Filesystem mirror module

Author Message

Gunnstein Lye

Tuesday 01 July 2003 5:13:23 am

Idea: A module that makes eZ publish mirror a filesystem directory, by letting a cronjob create/edit/remove eZ publish objects when the content of that directory changes. For instance, copy your word-document to a certain directory, and it is converted to an eZ publish article. To make this, one would have to implement conversion rules in a settings file, for instance directories are converted to Folder objects, text files become Articles, *.jpg, *.gif and *.png become Images, Word documents are converted to html using a command line tool and then become Articles, and so on. The module should save some information about each file that is mirrored, using the md5sum as key, that way we can track when a file is moved. Feel free to implement.. :-)

Paul Borgermans

Tuesday 01 July 2003 5:31:42 am

Good exercise for using classes and objects/nodes from php

A course exercise?

--paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans