I must be doing something wrong. The terms are added with name "Array". I have tried to follow the code through the various modules without a conclusion.
At this point
public function getSourceElement(FeedsImportBatch $batch, $element_key) {
if ($result = extractor_feeds_get_source_element($batch->currentItem(), $element_key, $this->config)) {
dpm($result);
return $result;
$result is:
... (Array, 1 element)
(Array, 3 elements)
name (String, 18 characters ) Washington, DC, US
lat (String, 7 characters ) 38.8991
lon (String, 7 characters ) -77.029
but when added to term_data
name = 'Array' and
term_geo does not have a record.
Feeds 6.x-1.0-beta11
Extractor 6.x-1.0-alpha7
Geo Taxonomy 6.x-2.0-beta3
Thanks for the code, and any help.
Comments
Comment #1
js commentedPlacemaker is working in Managing News. "extractor" and "geotaxonomy" appear to be the same versions. "feeds" in Managing News is "6.x-1.0-beta10".
I tried comparing changes in beta11, but almost all of the files have changes because much of the coding style has been updated.
This does not look correct to me in placemaker.inc
because $term['tid'] appears to always be empty, but it the results are fine for Feeds 6.x-1.0-beta10.
I don't see how $term will get a 'tid' key from
function _placemaker_send_text($text, $config)
So, I guess this is an issue for feeds, although I am not sure. I will post this into the feeds issues (hoping that is the best course and not upset anyone.)
Comment #2
demonrage commentedany solution for this, the taxonomies appear as (array) to me also