[wp-hackers] Change Tag Delimiter from a comma to a semicolon

Ryan Bilesky rbilesky at gmail.com
Wed Aug 25 01:24:14 UTC 2010


I am using tags to record locations like "Los Angeles, CA"  which while its
true I could just put Los Angeles, when you get to a city like Portland it
gets more complicated if you don't include the state.  And I want to include
the comma because first thts how cities and states are generally typed so if
I can use a comma i don't have to remeber to not include that, and secondly
I will be allowing users of my site to search for a tag (location) of their
choice, and I can virtually guarantee they will include a comma in the
query.

The reason I am not using Categories is two things: first I already have
planned to use them for a diffrent type of categorization.  Secondly tags
are easier to creat on the fly if a post is going to be associated with a
new location not previously associated with a post.

On Tue, Aug 24, 2010 at 11:25 AM, John Blackbourn
<johnbillion+wp at gmail.com<johnbillion%2Bwp at gmail.com>
> wrote:

> On Tue, Aug 24, 2010 at 7:10 PM, Thomas Belknap
> <dragonfly at dragonflyeye.net> wrote:
> > It might be worth it to specify that
> > quotation marks can also define tag boundaries. That way, something
> within
> > quotation marks does not have any internal characters read as delimiters.
>
> This makes a lot of sense and is an elegant approach. Flickr, for
> example, uses spaces as its tag delimiters and lets you use "quotes
> around multiple words" in order to allow tags with spaces in them. We
> could do just the same to allow tags with commas in them.
>  _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list