|
List Info
Thread: How many times a tag is used
|
|
| How many times a tag is used |
  Belgium |
2007-06-26 11:16:55 |
|
thanks !!!
now it works fine ... bur I received the count information for my most popular tags ...
is it possible to retreive the count information for all my tags ???
> From: Flashr-request osflash.org > Subject: Flashr Digest, Vol 22, Issue 5 > To: Flashr osflash.org > Date: Tue, 26 Jun 2007 12:00:07 -0400 > > Send Flashr mailing list submissions to > Flashr osflash.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://osflash.org/mailman/listinfo/flashr_osflash.org > or, via email, send a message with subject or body 'help' to > Flashr-request osflash.org > > You can reach the person managing the list at > Flashr-owner osflash.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Flashr digest..." > > > Today's Topics: > > 1. Re: Flashr Digest, Vol 22, Issue 2 (Kelvin Luck) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 25 Jun 2007 18:12:34 +0100 > From: Kelvin Luck <kelvin kelvinluck.com> > Subject: Re: [Flashr] Flashr Digest, Vol 22, Issue 2 > To: Flashr osflash.org > Message-ID: <467FF782.5030102 kelvinluck.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hi, > > Sorry - my mistake! I've just realised that tagsGetListUser doesn't > return any information about how many times a tag is used. This is > because flickr.tags.getListUser on the Flickr API doesn't return this > information either: > > http://www.flickr.com/services/api/flickr.tags.getListUser.html > > If you want information about a user's tags including how many times > they are used then try tagsGetListUserPopular: > > http://flashr.kelvinluck.com/assets/0.5/docs/files/com/kelvinluck/flashr/core/Flashr-as.html#com.kelvinluck.flashr.core.Flashr.tagsGetListUserPopular > > This calls flickr.tags.getListUserPopular which does return a "count" > attribute: > > http://www.flickr.com/services/api/flickr.tags.getListUserPopular.html > > Hope that helps, > > Kelvin  > > S?bastien Kafif wrote: > > thanks for your help ;) > > > > I try your piece of code ... but it 's still not working, > > > > I show my all class : > > > > import com.kelvinluck.util.LogWrapper; > > import com.kelvinluck.flashr.core.*; > > import com.ma.utils.Proxy; > > // > > class com.TagSearch extends MovieClip > > { > > var USER_ID:String = "XXXXXXXXXXXXXX"; > > var PER_PAGE:Number = 135; > > var flashr:Flashr; > > var flashrResponse:FlashrResponse; > > var myAllTags:Object; > > // > > // > > function TagSearch() > > { > > LogWrapper.getInstance().init(); > > LogWrapper.getInstance().addTracePublisher(); > > flashr = Flashr.getFlashr(); > > flashr.apiKey = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'; > > flashr.cacheQueries = true; > > flashrResponse = new FlashrResponse(); > > flashrResponse.onPeopleGetInfo = Proxy.create(this, > > onPeopleGetInfo); > > flashrResponse.onTagsGetListUser = Proxy.create(this, > > onTagsGetListUser); > > flashr.peopleGetInfo(USER_ID); > > flashr.tagsGetListUser(USER_ID); > > } > > > > // > > function onPeopleGetInfo (person:Person) > > { > > // > > } > > // > > function onTagsGetListUser(person:Person) > > { > > myAllTags = person.getTags(); > > LogWrapper.getLog().debug(myAllTags); > > for (var raw:String in myAllTags) > > { > > var tagInfo:Object = myAllTags[raw]; > > trace(tagInfo.tag.raw + ' is used ' + tagInfo.tag.count + ' > > times by ' + person.username); > > return undefined for tagInfo.tag.count > > } > > } > > // > > // > > public function toString():String > > { > > return "[com.kelvinluck.barcamp.TagSearch]"; > > } > > } > > > > tagInfo.tag.count is always undefined ... > > any ideas ?? > > > > ------------------------------------------------------------------------ > > D?couvrez sans tarder l'exp?rience ultime de messagerie en ligne Windows > > Live Hotmail ! <http://get.live.com/mail/overview> > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Flashr mailing list > > Flashr osflash.org > > http://osflash.org/mailman/listinfo/flashr_osflash.org > > > > ------------------------------ > > _______________________________________________ > Flashr mailing list > Flashr osflash.org > http://osflash.org/mailman/listinfo/flashr_osflash.org > > > End of Flashr Digest, Vol 22, Issue 5 > *************************************
Découvrez sans tarder l'expérience ultime de messagerie en ligne Windows Live Hotmail ! |
[1]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|