Here's a straightforward port from D6 to D7 without any modifications mentioned in http://drupal.org/node/757250#comment-3031868

Comments

greg.harvey’s picture

Status: Active » Needs review

Awesome, thanks for kicking this off! =)

ss81’s picture

StatusFileSize
new7.88 KB

Unfortunately this patch doesn't work to me: I can't implement it because of patch process issues (6 out of 6 hunks FAILED). So, I moved changes manually and added some more changes.
Result is in attach.

paulgemini’s picture

subscribe

greg.harvey’s picture

Title: Port to D7 » Port the XML Parser module to D7

I'm not sure if this is still a valid project. Feeds is so much more flexible these days, this module used to provide a set of custom tools for complex and non-standard XML formats that the old Feeds API didn't handle, but I think the Feeds module can probably do that anyway now.

Not sure if it's worth making a D7 XML Parser version. Will investigate.

paulgemini’s picture

I think I kind of agree. I'm using Feeds + XPath for XML parsing. It works fairly well and while there are a few features that need to be fixed (most relate to the shaky versions of Date/Location/Ctools that are ever evolving), it pretty much does the job.

greg.harvey’s picture

Status: Needs review » Closed (won't fix)

Ok, so for now I'm going to close this - I've updated the project page. If someone discovers a compelling reason - something this module did in D6 that D7 equivalents cannot handle - I'm open to re-considering.

ss81’s picture

Hi Greg,

The main problem which I found in D7 is that I can't parse file/string into array with one function. It's much easier to use this module then write almost the same code again. Therefore I prefer to use functions of this module when I work with SOAP.

Version for D7 works well for me so far. I guess it could be good to commit version for D7 into repository to have it not only in attached ZIP file.

uberhacker’s picture

StatusFileSize
new7.38 KB

Here is the tarball version of xml_parser.zip. In my case, I didn't have unzip installed on the server and the sysadmin wasn't available to install the package.