So I need to map xml feeds and store the mappings in MYSQL.
Right now I use simplexml to parse the xml feed.
But the next problem is this, I have fields in the database like field_file, field_thumbnail.
Inside field_file I have:
Now obviously doing this doesn't work...
Any idea on the best way for doing this....
Right now I use simplexml to parse the xml feed.
Code:
$xml = simplexml_load_file($feed['xml_feed']);
Inside field_file I have:
Code:
clips->clip->flv
PHP Code:
$file = $xml->item->$db['field_file'];

Comment