Easy CSV Importer Custom Tokens
-
No other plugin we know allows users to use any column header as a token for placing data and also allows custom tokens. That is what we aim to provide fully as we do in our other plugin CSV 2 POST.
We would like feedback on this area specifically because it is the only part in development.
Will see the menus for it in ECI right now and that was done simply because the menus are integrated with the data import process. For now we will gradually release updates and let smaller phases of testing commence with the hope of getting it right first time.
What are tokens?
We use phrases like custom tokens or column replacement tokens. They are essentially the same thing when doing their job and they are pasted in our templates. Wherever we paste a token, data will be put instead, during the post creation process.What are custom tokens?
We have the default column replacement tokens which are made up of your CSV file titles and wrapped with “x” i.e. xMyEXAMPLEx, xpricex, xURLx. This is partly what allows Easy CSV Importer to import any CSV file, whatever the header. The rest of that fact comes from a lot of work on a UI that assumes nothing.The problem to be dealt with was using the same template design on many projects and the many projects have different headers in CSV files. A rare situation I know but it is one that gets us a lot of appreciation when a solution is giving in CSV 2 POST. So we want a solution in ECI. The solution is custom tokens that we pair CSV file column headers too. So during the post creation process Easy CSV Importer will search for both CSV file headers and the custom tokens.
If a user places custom ones in their template and only custom ones. They plugin simply checks what column in the current project is paired to that column and retrieves the data. Then it replaces the custom token. Much in the same way it would replace the CSV file column header version of the token if that was used.
But remember, we do this so that we can use the same content template in many projects. Giving us the ability to edit a single template and apply it to all of those project.
It’s all still very new as of just a couple of weeks back and we’re building the whole thing up slowly. Probably because it is one of the complex features in what needs to be an “Easy” importer plugin.
https://www.ads-software.com/extend/plugins/easy-csv-importer-2/
- The topic ‘Easy CSV Importer Custom Tokens’ is closed to new replies.