The tag "<show>" is hardcoded in the xml parsing code

eseyman - November 4, 2008 - 15:57
Project:Feedme XML
Version:5.x-1.2
Component:Code
Category:bug report
Priority:normal
Assigned:dellintosh
Status:closed
Description

The readDatabase() function in parser/xml_to_php.parser.php reads an XML file and attempts to generate an array from the contents. This function looks for a tag called "<show>" to split the xml and, while this is a tag that is present in the sample xml file included in the module, I doubt that it is something that you can count on being present in all xml files.

Feeding readDatabase() a file which does not contain a tag will result in it being unable to extract feeditems.

#1

eseyman - November 4, 2008 - 16:09
Title:The tage "<show>" is hardcoded in the xml parsing code» The tag "<show>" is hardcoded in the xml parsing code

Correcting a spelling mistake in the title. My bad.

#2

dellintosh - December 12, 2008 - 03:43

Thank you for raising my attention on that. I thought I got all the Warner Bros/Word Records specific stuff factored out of there, but I must've missed this.

#3

dellintosh - December 12, 2008 - 03:44
Version:5.x-1.1» 5.x-1.2
Assigned to:Anonymous» dellintosh
Status:active» fixed

fixed in version 5.x-1.2

#4

System Message - December 26, 2008 - 03:51
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.