Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
tags
#1
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?
Reply
#2
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...
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply
#3
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.
Reply




Users browsing this thread: 1 Guest(s)