How does the CustomPress export work

I see that I create code but what do I do with it. I need to create a file for import of listings for the directory plug-in. I want to export the test listing and create the fields and do an import of my records. The documentations is thin.