ECI: Auto Tokens   

Jul 9th, 2011 // In: Easy CSV Importer // By: Comments 0

This is part of the Easy Project system and I made a forum thread for this here. There is a list of array values that have been pasted in PHP code format on there to make it easy to read. The array might be needed by some users to prepare their CSV file so that it works with Easy Projects. Preparing your CSV file for an Easy Project is not required but may get more accurate results. Also, you do not need to prepare your file at all for Easy CSV Importer if you use an Advanced Project which simple means no automation of configuration. You configure the project yourself, recommended for developers looking to get the most out of Easy CSV Importer. If you plan to use ECI for many projects, you should use manual configuration by creating and advanced project.

So What Are Auto Tokens?

This is a concept I come up with to make the Easy Project system truly easy and impressive. It is the idea of an existing design being universal to all CSV files even though the tokens it contains do not match the CSV files titles i.e. +price+,+titles+.

Easy CSV Importer creates tokens based on your own CSV file titles and makes them available for you pasting into the WYSIWYG editor. This is how we create a design and tell the plugin where we want our content to go. However until the Auto Token system, if I created a design using the most common tokens and offered it as a template. It would only work with CSV files containing the same titles as my file or users would need to edit the design. The alternative is to create an endless number of designs for every possible CSV file, that would be a bad approach. Instead ECI will search for each of your CSV files titles in an array. If it finds a match for a title, then that title is a known possible variation. This then allows the token I have put into the default post design template, the token representing my column tittle that is a variation of your CSV files title, then replace my token in the design with yours.

In short, titles in my default design that do not match your CSV files titles can be replaced with your titles with accuracy!

List Of Column Title Variations

Although the idea is to achieve automation while sticking to the idea a that users do not need to edit their CSV file titles to work with ECI. It may sometimes be in your best interested to make a small alteration to a title so that your title matches one of many possible variations. I posted a list of the variations on the forum, the only place with syntax highlighting right now.

If one of your vital column titles does not appear in the list as a variation and you cannot change the column title in your CSV file because it would cause problems when automatically updating the file. Then please request a new variation to be added to the array by commenting below.

Tags: - -

Leave a Reply

You must be logged in to post a comment.