ilesinge / scuttloid

Semantic Scuttle android client.
GNU General Public License v3.0
14 stars 3 forks source link

Allow Spaces in Tags #16

Open pascalfree opened 10 years ago

pascalfree commented 10 years ago

Currently no spaces are allowed inside a tag, because the space is used as a separator. There is however a way (or two) to work around this issue.

In Semantic Scuttle using the current API: Underlines (_) in tags sent to the server are replaced by spaces on the server and vice versa: Space to underline when receiving tags from the server. This behaviour can be used by scuttloid to send spaces in tags.

In Delicious and the (hopefully) future API of semantic scuttle: There is an option tag_separator that can be set to comma.

ilesinge commented 10 years ago

According to Delicious.com API documentation, the tag_separator argument concerns GET operations only. In POST operations, commas are always used. So there is a bug right now when using Delicious : https://github.com/ilesinge/scuttloid/issues/17 We could still use API url detection to use either Semantic Scuttle or Delicious format when sending tags. I will implement underlines OR tag_separator in Memor once we settle this for Semantic Scuttle.

pascalfree commented 10 years ago

The bug is fixed #17 But it's still not possible for the user to enter tags with spaces. For that the separator in the add/update form would need to be changed. I suggest using commas as separators as this is the most intuitive and also consistent with the tag input in the semantic scuttle webUI.

ilesinge commented 10 years ago

I agree, separating tags with commas is certainly more intuitive.

ilesinge commented 10 years ago

We should add a text helper that tells the format to the user before the tags input.