Random quotes XML - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13) +--- Thread: Random quotes XML (/showthread.php?tid=5365) |
Random quotes XML - thisnthat - 2013-11-10 Can anyone help me with the format for the XML file for the Random Quotes plugin? I can't get the plugin generate it's own initial XML file so am left trying to build one from scratch. It's almost working but not quite - very frustrating. My XML so far looks like this: Code: <?xml version="1.0" encoding="UTF-8"?> When I go to edit Quotes in the GS Plugins control panel the editor opens and shows the quote in the list but throws up this: Warning: Quotes::getQuotes(): Cannot assign to an array of nodes (duplicate subnodes or attr detected) in /home/packhoec/public_html/plugins/quote.php on line 145 RE: Random quotes XML - Kolyok - 2013-11-10 Try this modified plugin: http://dev.nagysandorart.com/random_quotes_mod.zip This should create the xml file if it doesn't already exists and it doesn't create duplicate nodes. Note: This is just a rush-mod i have added only a few modifications. RE: Random quotes XML - thisnthat - 2013-11-14 Thanks, that worked perfectly. (2013-11-10, 22:24:13)Kolyok Wrote: Try this modified plugin: http://dev.nagysandorart.com/random_quotes_mod.zip |