Discussion Forum

Bulk Import: Bonesplitter

when inputting Bonesplitter using the Bulk Import he imports it as Bonesplitter Sliver

cheers
Posted 10 March 2010 at 09:48

Permalink

Hi Seth

Cheers for that. Unforunately, things like this will happen. The way it works atm (hence why it's a bit beta :p) is that it compares the input name to card names using in SQL language, LIKE '%BoneSplitter%' - to pickup any lazy name typing. This effectively checks any card name with BoneSplitter in it's name. So if you type 1x Circle, you'd end up with lots of circles of protection!

Thanks for the feedback!

Cheers
0
Posted 10 March 2010 at 11:28

Permalink

Yeah I know, I wrote a bulk insert a while back myself (sometime before yours went online :))

After your fetch from the database you should use regular expressions to narrow down the search, try to find an exact match in case of multiple results from the database. If the code can't sort it out you could return a page with links so the user can choose which is the correct card from the list of matches.

cheers

Seth
0
Posted 11 March 2010 at 13:17

Permalink