[wp-hackers] Taxonomy Schema Proposal

Steve Lewis stevelle at gmail.com
Wed Apr 18 18:59:12 GMT 2007


On 4/18/07, Jamie Talbot <wphackers at jamietalbot.com> wrote:
>
> For example
>
> 1 Cities        cities          0
> 2 Products      products        1
> 3 Projects      projects        1
>
> The '1' in the third column signifies that they are in the same 'alias
> group' - it doesn't relate to
> the row with a term_id of '1'.  The general pseudocode for adding an alias
> is:


Clarified.  That is a different solution, indeed.  I think I like it.


>> Lookup by slug is easy.
> >
> > Notice I slipped a trick into that one.  You don't know if 'products' is
> a
> > tag or a post category or ... based on the URL.  It isn't clear that we
> > should care.
>
> That's true, if you ignore the fact that category URLs will be prepended
> by category/, and tag URLs
> by tag/.  Given that those bases exist though, I think we should be safe.


I specifically excluded that.  I want to rewrite my URLs to eliminate that.
Maybe I'm alone in this.   :)

-- 
SteveL


More information about the wp-hackers mailing list