Script for automated conversion of a semi-static coldfusion based website to XML suitable for eZPublish import.
Ruby ColdFusion
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
database_exports
input
lib
log
output
output_examples
test
.gitignore
Gemfile
Gemfile.lock
Rakefile
config.yml
readme.textile
scratch.rb

readme.textile

Requires redis to be installed.

Installation:

$ gem install bundler rake
$ bundle install

Run tasks via rake:

$ rake test run unit tests
$ rake delete:logs delete log files
$ rake delete:keys delete redis keys
$ rake delete:output:files delete output in files folder
$ rake delete:output:images[shh] similar but no confirmation question
$ rake flush wipe clean output and redis data (silently)
$ rake process:static process input using the static file handler set
$ rake inspect['./input/folder/file.htm',title] see parser output for a field
$ rake lock:media protect media paths from deletion and exclude from xml
$ rake delete:lock delete locked items

etc.

Configuration options are in:

config.yml

Exporting database tables:

$ sudo apt-get install mdbtools

$ mdb-export techlink.mdb TE_Research > database_exports/TE_Research.csv