Feeds SQL – getting arbitrary data Drupalized….
Feeds SQL does its job so well it’s rather mindblowing. As the name suggests it allows Feeds to use a SQL query as its data source. The mapping and all the rest of it works as one might expect, and that’s what is blowing my mind right now. After installing the module
Firstly set your fetcher to the sql fetcher… I only have one database in my settings file for now, but that’s sure to change.
Secondly choose the SQL Parser… I guess this means that you might be able to upload a file in to the fetcher and then parse it… for this example we’re going SQL Fetch and SQL Parse though.
And now the magic begins… in the settings you can test your sql fetch by putting in a select statement. For this example I made a dummy table with some random stuff in it
and now comes the wow!
And more wow!
So pretty – and just like that all those whacked databases you were trying to decide how to merge in to Drupal are available with feeds…. yum yum yummy. Mad props to vkareh for the dev on this piece… absolutely awesome.