GetSimple Support Forum
tags - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Feature Requests (http://get-simple.info/forums/forumdisplay.php?fid=7)
+--- Thread: tags (/showthread.php?tid=42)



tags - nexflo - 2010-04-06

Don't know about performance here...but shouldnt tags be saved in there own
Quote:<tags>
<tag>TAG</tag>
<tag>TAG</tag>
</tags>
structure so we can find tags directly using Xpath queries..and not having to transform text into arrays within php?


tags - ccagle8 - 2010-04-06

Is this about the keyword/tags input? I never thought to do that, but you should be able to easily explode it in PHP and get sort of the same result...


tags - nexflo - 2010-04-06

Indeed it is.
well thats what i meant with "and not having to transform text into arrays within php"....exploding is doing it in php...which adds an extra step to it...

using xpath you could query the xml for all tags including a unique identifier i.e. "tag1" without having to add an extra php function "explode" to it...just seems more "clean" from an xml point of view...as parsing files could be done "native" in xpath.