Attributes with Multiple Values
There are a lot of situations on fanconcert where an attribute can have more than one valid value. An example is the Bell Centre venue in Montreal, which is also called Centre Bell in French. Both are "official names", so it's hard to pick one name to represent the venue.
In the last few days I've changed fanconcert so that both names can represent the same venue. This has interesting implications for the entire site, not the least of which is searching. I'll have to adjust name searching on fanconcert to handle multiple attribute values and display the results so they make sense. I'll be working on that this week.
For example, if you venue search for "Bell", it should show that it matched Bell Centre and Centre Bell but both names are on the same venue. At the moment, that's done with a second venue that "redirects" (or is an alias) to the other venue. It's klunky and that's why I wanted to replace it.
Another thing: how to link to a venue with multiple valid names? The site should pick one of the names for the link -- but which one? How about the name that users score the highest? I've been calling this the 'primary name'.
...except one more detail: each language can have a primary name for the same object. Eventually I'd like to have separate pages for the same venue in different languages. Language support on fanconcert will get very interesting now that attributes can support multiple values. Soon you'll be able to indicate the language of the value you're entering.
In the last few days I've changed fanconcert so that both names can represent the same venue. This has interesting implications for the entire site, not the least of which is searching. I'll have to adjust name searching on fanconcert to handle multiple attribute values and display the results so they make sense. I'll be working on that this week.
For example, if you venue search for "Bell", it should show that it matched Bell Centre and Centre Bell but both names are on the same venue. At the moment, that's done with a second venue that "redirects" (or is an alias) to the other venue. It's klunky and that's why I wanted to replace it.
Another thing: how to link to a venue with multiple valid names? The site should pick one of the names for the link -- but which one? How about the name that users score the highest? I've been calling this the 'primary name'.
...except one more detail: each language can have a primary name for the same object. Eventually I'd like to have separate pages for the same venue in different languages. Language support on fanconcert will get very interesting now that attributes can support multiple values. Soon you'll be able to indicate the language of the value you're entering.

0 Comments:
Post a Comment
<< Home