The following warnings occurred:
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message



GetSimple Support Forum
Read XML? Question - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Developer Discussions (http://get-simple.info/forums/forumdisplay.php?fid=8)
+--- Thread: Read XML? Question (/showthread.php?tid=601)



Read XML? Question - rogerstreets - 2010-03-30

Hello, first of i must say that i find Get Simple cms awesome. I started developing plugins recently. I just can't figure out how to read a xml file. I want to subtract from within a channel, certain labels and put them in to variables. Does anyone know how to this? I'm new to the more advanced(i see it that way) php.

Greetings


Read XML? Question - Zegnåt - 2010-03-31

Code:
$data = getXML('patch/file.xml');

After that you can use any of SimpleXML’s functions on $data. getXML is a function from the GetSimple core.


Read XML? Question - rogerstreets - 2010-04-04

Zegnåt Wrote:
Code:
$data = getXML('patch/file.xml');

After that you can use any of SimpleXML’s functions on $data. getXML is a function from the GetSimple core.

Thanks.