Contributions

Other (Category Index)
Search: 

Easypopulate Data File Tools

Firstly, if you are looking for easypopulate, you have come to the wrong place !

This package consis of a set of PHP scripts that are run from the command line. They allow you to do all sorts of things with easypopulate data files.

The included README file should enlighten you further.

Following is a run-down of what you can do...

1. 'Block' split an easypopulate file (that is, split the file into fixed numbers of records in exactly the same way that easypopulate does)
2. Split a file by category (to whatever depth you like). Within each category split, you may also specify a block split
3. Merge a set of split files into a single file (either block split or split by category, or both)
4. Perform a series of checks on your data. You can select what checks you want to perform via settings in the scripts:
1. Locate lines that are the wrong length (contain the wrong number of fields)
2. Locate lines that are not correctly terminated with EOREOR
3. Check for duplicate or blank product numbers
4. Check for duplicate or blank product names (with multi-language support)
5. Check for duplicate or blank product descriptions (with multi-language support)
6. Check for duplicate or blank product image files (you may specify exceptions such as 'no image' files)
7. Check for blank or badly justified product categories
8. Check for illegal characters such as unescaped ''
5. Auto-insert and auto-strip escape sequences from the data (to allow characters that would otherwise be illegal to SQL, such as '' and '"'), to be used in the data). Be warned that I'm not sure this is correct or even necessary !
6. Auto-generate and 'un-auto-generate' (reverse engineer) image filename paths and image filenames, with exceptions (such as 'no image' images) and special modifiers
7. Import arbitrarily organised csv data and create an easypopulate formatted file from it
8. Perform a diff operation on a pair of easypopulate files. List all products that have been added, deleted and changed. Extract a list of image files that have been deleted and added (with 'no image'-type exceptions allowed)
9. Generate a graphical tree of products by category
10. There's also an 'eol' converter thrown in. This will convert between Unix, Macintosh and Toy (MS) operating system end-of-lines for any files you throw at it

Expand All / Collapse All

EDFT V 1.4 Richard Bentley 8 Feb 2005

Increased max record length.
Added some comments to the README about what to do if the scripts are timing out for you
Added a 'known bugs' section to the README

See CHANGE_LOG file for full details

edft V 1.3 Richard Bentley 17 Jan 2005
V 1.2 Richard Bentley 9 Jun 2004
V 1.1 Richard Bentley 22 May 2004
Support thread link Richard Bentley 6 May 2004
Easypopulate Data File Tools David M. Graham 5 May 2004
Easypopulate Data File Tools Richard Bentley 5 May 2004

Note: Contributions are used at own risk.