Closed gabriel-dehan closed 11 years ago
Could you be a little more specific ? Do you mean, how do we format tags with more than one words ?
I thought I had answered that. Obviously I did not.
What I mean is : how do we handle posting microhoops with two words tags. "Social entrepreneurship" is a two word tag, and when you post it, writting it "#Social entrepreneurship", only the first word is taken into account (which is a normal behavior as there are no way to determine if the second word is a part of the tag or just a word from the microhoop.). How should we managed two words tags in general ? Should we use dashes ? Or something else ?
Hmmm that requires some more advanced thinking. Ill get back to you on
that.
Envoyé de mon iPhone
Le 5 nov. 2012 à 10:52, Gabriel Dehan notifications@github.com a
écrit :
I thought I had answered that. Obviously I did not.
What I mean is : how do we handle posting microhoops with two words
tags. "Social entrepreneurship" is a two word tag, and when you post it,
writting it "#Social entrepreneurship", only the first word is taken
into account (which is a normal behavior as there are no way to
determine if the second word is a part of the tag or just a word
from the microhoop.). How should we managed two words tags in
general ? Should we use dashes ? Or something else ?— Reply to this email directly or view it on GitHub.
I think I have found a solution : for a two word tag to be added to a microhoop, it will need to be encapsulated in square brackets :
#[Social entrepreneurship]
That gets the job done for now. Great job guys .
On Sun, Nov 11, 2012 at 12:08 AM, Gabriel Dehan notifications@github.comwrote:
I think I have found the solution : for a two word tag to be added to a microhoop, it will need to be encapsulated in square brackets :
[Social entrepreneurship]
— Reply to this email directly or view it on GitHubhttps://github.com/CoHoop/CoHoop-Rails/issues/40#issuecomment-10261115.
Well, actualy I don't see any other way to handle it. If we want multiword tags, we need to have long tags enclosed in something.
Currently I designed the Tag Extraction gem in a way allowing us to easily change the enclosing characters, so we don't have to use [], we could use (), {}, ||. An other interesting thing is that the enclosing characters are actually removed when you see them in a microhoop. You will only have to write #[bla bla] and see it once and after it will always display as #bla bla. It seems to be the only valid solution I could think of anyway, and it is not really heavy nor too complex for the user IMHO :)
Sweet, let's do it this way then :)
On Mon, Nov 12, 2012 at 10:18 AM, Gabriel Dehan notifications@github.comwrote:
Well, actualy I don't see any other way to handle it. If we want multiword tags, we need to have long tags enclosed in something.
Currently I designed the Tag Extraction gem in a way allowing us to easily change the enclosing characters, so we don't have to use [], we coulde use (), {}, ||. An other interesting thing is that the enclosing characters are actually removed when you see them in a microhoop. You will only have to write #[bla bla] and see it once and after it will always display as #bla bla. It seems to be the only valid solution I could think of anyway, and it is not really heavy nor too complex for the user IMHO :)
— Reply to this email directly or view it on GitHubhttps://github.com/CoHoop/CoHoop-Rails/issues/40#issuecomment-10280914.
How do we handle posting microhoops with two words tags ?