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

Jason LeVan jason at blueluna.com
Wed Aug 25 03:55:07 UTC 2010


Ryan, from the sound of it, you may be better off simply using the city and
state as separate tags. Using the "City, ST" in the search box will still
pull the results. However, this would also add the ability for a user to
search by the state alone, retrieving all California posts, or just those
from a particular city. I think a bigger concern would be users who try
searching something like "Los Angeles, California" or something like
"District of Columbia".

That said, I'll put another vote towards the use of quotes to create a
delimiter free string. This would cause some issues for users who have
quotes as part of the tag name though.

On Tue, Aug 24, 2010 at 9:24 PM, Ryan Bilesky <rbilesky at gmail.com> wrote:

> 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><
> johnbillion%2Bwp at gmail.com <johnbillion%252Bwp 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
> >
> _______________________________________________
> 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