Quoting of tags

mardymardy Registered Users Posts: 10 Big grins
Hi there!
I've developed an application (PhotoTeleport) to upload photos to SmugMug, complete with metadata and all. It works fine, but I have a question about tags: they are uploaded fine, but if they contain a comma, semicolon, double quote or other special characters they get broken into separate words.
So my question is: what are the allows characters for tags, and is there a way to quote them in the HTTP header so that one can include special characters?

Ciao,
Alberto

PhotoTeleport: open source, multi platform photo uploader.

Comments

  • rainforest1155rainforest1155 Registered Users Posts: 4,566 Major grins

    Hi Alberto,
    I'm not a developer and I'm guessing you already looked at the API documentation for images that references keywords as either semicolon separated or a JSON array. If semicolon separated I'd guess you'd have to encode special characters somehow. Did you try the often used URL encoding yet?

    Sebastian
    SmugMug Support Hero
  • mardymardy Registered Users Posts: 10 Big grins

    Hi Sebastian!
    Thanks for your suggestion! I think I already tried that and it caused the text to be literally be shown in URL encoding. But I cannot remember whether that was in the title or in the tags. I'll give it another try!

    PhotoTeleport: open source, multi platform photo uploader.

Sign In or Register to comment.