Posted by Tim Corkerton on July 5, 2009 at 2:53pm
Hi
Does anyone know the best way to go about importing an xml file into drupal.
http://www.digitalmassive.com/test/xml.xml
It is not standard rss or atom.
People have suggested that I write my own parser using FeedAPI but I can't believe it is so difficult.
or perhaps you do something with feedapi_eparser?
Is there any information about doing something like this?
I have also looked at the aggreagation module but there is no information on how to write the feed_handlers
http://drupal.org/project/aggregation
Thanks
Comments
I think FeedAPI with FeedAPI
I think FeedAPI with FeedAPI Exhaustive Parser and Feed Element Mapper may do the trick.
And if that doesn't work ...
...just write a simple import module. It's not that hard, and the cited XML would be easily parsed by SimpleXML.
Not that hard?
Not that hard? Seriously...
It might not be *that hard* for an XML file most kids mess with in a cheap tutorial that has between 5 to 100 elements on the same parsing layer but step into a bigger file (i.e. - 8MB+) that has a mix of multiple levels, atomic elements, and specific kinds of specifications, and we'll see how *hard* it really is.
Online Infrastructure One Website @ Time
Sub
Sub