Location: TagService.tag

Discussion: How to provide more then 1 tagReported This is a featured thread

Showing 6 posts

patardi
How to provide more then 1 tag
May 15 2008, 11:26 PM EDT | Post edited: May 15 2008, 11:26 PM EDT
How to provide more then 1 tag when calling TagService.tagCell ? Do you have an example ? Do you find this valuable?    
Keyword tags: tag
ryan_wetpaint
ryan_wetpaint
1. RE: How to provide more then 1 tag
May 16 2008, 11:03 AM EDT | Post edited: May 16 2008, 11:03 AM EDT

You can add more than one tag by specifying tag.name more than once. For example,

http://wapi.wetpaint.com/tagService/tagCell.do
?key=yourissueddeveloperkey
&ns=yourassignednamespace
&cell.cellId=someCell
&tag.name=someTag
&tag.name=someOtherTag
&tag.name=someMoreOtherTag
&tag.name=someLastTag
&output=api
Do you find this valuable?    

subbu_r
2. RE: How to provide more then 1 tag
Jun 11 2008, 7:01 AM EDT | Post edited: Jun 11 2008, 7:01 AM EDT
If multiple tags are provided like tag.name=first&tag.name=second, then the result will be of the pages which has "first" and "second" as tags or the result will be a list of pages which has "first" or "second" as tags ? Do you find this valuable?    
ryan_wetpaint
ryan_wetpaint
3. RE: How to provide more then 1 tag
Jun 11 2008, 1:44 PM EDT | Post edited: Jun 11 2008, 1:44 PM EDT
I presume that you are referring to TagService.tagSearch. The results of this API call include cells that are tagged with the first OR the second tag. That is, a cell will be returned if it matches ANY of the tags provided.

Do you find this valuable?    

subbu_r
4. RE: How to provide more then 1 tag
Jun 12 2008, 5:51 AM EDT | Post edited: Jun 12 2008, 5:51 AM EDT
TagService.tagSearch , if passed more than one tags the search results pages are not correct.
For Example
1. tag "Single Family" search results returns 3 pages - test 25, Saravb 3rd Page, test 21
2. tag "home" search results returns 3 pages - Saravb 2nd page, test 102, Second Page
3. tag "dogs" search results returns 2 pages - NuWireDefaultWikiPageDev2, dog biscuits

if pass tag.name=single family&tag.name=home&tag.name=dogs - the search results return 3 pages- test 102 , First Page, test 101

So the results is not getting combination of three tags.
Do you find this valuable?    
kevin_wetpaint
kevin_wetpaint
5. RE: How to provide more then 1 tag
Jun 12 2008, 1:09 PM EDT | Post edited: Jun 12 2008, 1:09 PM EDT
It looks like there is a problem with searching for multiple tags, thanks for the catch...I'm logging it as a candidate for next Wednesday's hot fix release. Do you find this valuable?    

Related Content

  (what's this?Related ContentThanks to keyword tags, links to related pages and threads are added to the bottom of your pages. Up to 15 links are shown, determined by matching tags and by how recently the content was updated; keeping the most current at the top. Share your feedback on Wetpaint Central.)