Why when detail_level => 1 keywords arent shown now ?

12 views
Skip to first unread message

AMBA

unread,
Dec 10, 2009, 10:51:15 AM12/10/09
to Fotol...@googlegroups.com
Hi,
i don't know since when but i just realized that the api don't return
keywords when method is getSearchResult and param detail_level => 1
few weeks ago when i verify the request keywords is in the response.
I see the nb_downloads and the nb_views
Do you change something in the api for that ? because i don't touch my code
best regards
Amba



__________ Information provenant d'ESET NOD32 Antivirus, version de la base des signatures de virus 4676 (20091210) __________

Le message a �t� v�rifi� par ESET NOD32 Antivirus.

http://www.eset.com


Olivier Sirven

unread,
Dec 10, 2009, 11:16:16 AM12/10/09
to fotol...@googlegroups.com
Hi,

Yes keywords are not automatically returned since few weeks now. In
order to fetch them, you have to specify it using a new additional
third parameter of getSearchResult. If used it should be an array
containing all the keys you want to have in the search resultset.

Regards,

Olivier

AMBA <con...@amba.fr> writes:

> Hi,
> i don't know since when but i just realized that the api don't return
> keywords when method is getSearchResult and param detail_level => 1
> few weeks ago when i verify the request keywords is in the response.
> I see the nb_downloads and the nb_views
> Do you change something in the api for that ? because i don't touch my code
> best regards
> Amba
>
>
>
> __________ Information provenant d'ESET NOD32 Antivirus, version de la base des signatures de virus 4676 (20091210) __________
>
> Le message a ᅵtᅵ vᅵrifiᅵ par ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
> --
>
> You received this message because you are subscribed to the Google Groups "Fotolia API" group.
> To post to this group, send email to fotol...@googlegroups.com.
> To unsubscribe from this group, send email to fotoliaapi+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/fotoliaapi?hl=en.

AMBA

unread,
Dec 10, 2009, 11:46:28 AM12/10/09
to fotol...@googlegroups.com
Thanks Olivier and what is this new thrird parameter please ?
i look at the api doc on fotolia but it still write detail_level=1 for
nb_views, nb_downloads and keywords
is it like keywords=>1 ???
best regards
Amba


Olivier Sirven a �crit :
> Hi,
>
> Yes keywords are not automatically returned since few weeks now. In
> order to fetch them, you have to specify it using a new additional
> third parameter of getSearchResult. If used it should be an array
> containing all the keys you want to have in the search resultset.
>
> Regards,
>
> Olivier
>
> AMBA <con...@amba.fr> writes:
>
>
>> Hi,
>> i don't know since when but i just realized that the api don't return
>> keywords when method is getSearchResult and param detail_level => 1
>> few weeks ago when i verify the request keywords is in the response.
>> I see the nb_downloads and the nb_views
>> Do you change something in the api for that ? because i don't touch my code
>> best regards
>> Amba
>>
>>
>>
>> __________ Information provenant d'ESET NOD32 Antivirus, version de la base des signatures de virus 4676 (20091210) __________
>>
>> Le message a �t� v�rifi� par ESET NOD32 Antivirus.
>>
>> http://www.eset.com
>>
>>
>> --
>>
>> You received this message because you are subscribed to the Google Groups "Fotolia API" group.
>> To post to this group, send email to fotol...@googlegroups.com.
>> To unsubscribe from this group, send email to fotoliaapi+...@googlegroups.com.
>> For more options, visit this group at http://groups.google.com/group/fotoliaapi?hl=en.
>>
>
> --
>
> You received this message because you are subscribed to the Google Groups "Fotolia API" group.
> To post to this group, send email to fotol...@googlegroups.com.
> To unsubscribe from this group, send email to fotoliaapi+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/fotoliaapi?hl=en.
>
>
>
> __________ Information provenant d'ESET NOD32 Antivirus, version de la base des signatures de virus 4676 (20091210) __________
>
> Le message a �t� v�rifi� par ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
>
>



__________ Information provenant d'ESET NOD32 Antivirus, version de la base des signatures de virus 4676 (20091210) __________

Le message a �t� v�rifi� par ESET NOD32 Antivirus.

http://www.eset.com


Olivier Sirven

unread,
Dec 10, 2009, 12:13:58 PM12/10/09
to fotol...@googlegroups.com
it is an array containing all the keys you want to have in the search
resultset.

Olivier

AMBA <con...@amba.fr> writes:

> Thanks Olivier and what is this new thrird parameter please ?
> i look at the api doc on fotolia but it still write detail_level=1 for
> nb_views, nb_downloads and keywords
> is it like keywords=>1 ???
> best regards
> Amba
>
>
> Olivier Sirven a ᅵcrit :
>> Hi,
>>
>> Yes keywords are not automatically returned since few weeks now. In
>> order to fetch them, you have to specify it using a new additional
>> third parameter of getSearchResult. If used it should be an array
>> containing all the keys you want to have in the search resultset.
>>
>> Regards,
>>
>> Olivier
>>
>> AMBA <con...@amba.fr> writes:
>>
>>
>>> Hi,
>>> i don't know since when but i just realized that the api don't return
>>> keywords when method is getSearchResult and param detail_level => 1
>>> few weeks ago when i verify the request keywords is in the response.
>>> I see the nb_downloads and the nb_views
>>> Do you change something in the api for that ? because i don't touch my code
>>> best regards
>>> Amba
>>>
>>>
>>>
>>> __________ Information provenant d'ESET NOD32 Antivirus, version de la base des signatures de virus 4676 (20091210) __________
>>>
>>> Le message a ᅵtᅵ vᅵrifiᅵ par ESET NOD32 Antivirus.
>>>
>>> http://www.eset.com
>>>
>>>
>>> --
>>>
>>> You received this message because you are subscribed to the Google Groups "Fotolia API" group.
>>> To post to this group, send email to fotol...@googlegroups.com.
>>> To unsubscribe from this group, send email to fotoliaapi+...@googlegroups.com.
>>> For more options, visit this group at http://groups.google.com/group/fotoliaapi?hl=en.
>>>
>>
>> --
>>
>> You received this message because you are subscribed to the Google Groups "Fotolia API" group.
>> To post to this group, send email to fotol...@googlegroups.com.
>> To unsubscribe from this group, send email to fotoliaapi+...@googlegroups.com.
>> For more options, visit this group at http://groups.google.com/group/fotoliaapi?hl=en.
>>
>>
>>
>> __________ Information provenant d'ESET NOD32 Antivirus, version de la base des signatures de virus 4676 (20091210) __________
>>
>> Le message a ᅵtᅵ vᅵrifiᅵ par ESET NOD32 Antivirus.
>>
>> http://www.eset.com
>>
>>
>>
>>
>>
>
>
>
> __________ Information provenant d'ESET NOD32 Antivirus, version de la base des signatures de virus 4676 (20091210) __________
>
> Le message a ᅵtᅵ vᅵrifiᅵ par ESET NOD32 Antivirus.

AMBA

unread,
Dec 11, 2009, 5:17:58 AM12/11/09
to fotol...@googlegroups.com
hi
you said in your last message "you have to specify it using a new
additional third parameter of getSearchResult."
but i don't know what is this third parameter i don't see it

here is the response result set and no keywords :

[nb_results] => 525500
[navigation_links] => Array
(
[currentPageNumber] => 2
[previous] => /Xmlrpc/rpc?offset=0
[next] => /Xmlrpc/rpc?offset=48
[pagination] => Array
(
[1] => /Xmlrpc/rpc?offset=0
[2] => /Xmlrpc/rpc?offset=24
[3] => /Xmlrpc/rpc?offset=48
[4] => /Xmlrpc/rpc?offset=72
[5] =>
[21895] => /Xmlrpc/rpc?offset=525456
[21896] => /Xmlrpc/rpc?offset=525480
)

[order_by] => Array
(
[creation] => /Xmlrpc/rpc?order=creation&offset=0
[relevance] =>
[nb_views] => /Xmlrpc/rpc?order=nb_views&offset=0
[nb_downloads] => /Xmlrpc/rpc?order=nb_downloads&offset=0
[price_1] => /Xmlrpc/rpc?order=price_1&offset=0
[popularity] => /Xmlrpc/rpc?order=popularity&offset=0
)

[filter_by] => Array
(
[orientation:none] => /Xmlrpc/rpc?orientation=none&offset=0
[orientation:wide_horizontal] => /Xmlrpc/rpc?orientation=wide_horizontal&offset=0
[orientation:horizontal] => /Xmlrpc/rpc?orientation=horizontal&offset=0
[orientation:square_horizontal] => /Xmlrpc/rpc?orientation=square_horizontal&offset=0
[orientation:square] => /Xmlrpc/rpc?orientation=square&offset=0
[orientation:square_vertical] => /Xmlrpc/rpc?orientation=square_vertical&offset=0
[orientation:vertical] => /Xmlrpc/rpc?orientation=vertical&offset=0
[orientation:wide_vertical] => /Xmlrpc/rpc?orientation=wide_vertical&offset=0
[orientation:wide] => /Xmlrpc/rpc?orientation=wide&offset=0
[content_type:photo] => /Xmlrpc/rpc?content_type=photo&offset=0
[content_type:illustration] => /Xmlrpc/rpc?content_type=illustration&offset=0
[content_type:vector] => /Xmlrpc/rpc?content_type=vector&offset=0
[content_type:video] => /Xmlrpc/rpc?content_type=video&offset=0
)

)

[0] => Array
(
[id] => 2267044
[title] => fond papier carreaux
[creator_name] => NL shop
[creator_id] => 184083
[thumbnail_url] => http://static-p3.fotolia.com/jpg/00/02/26/70/110_F_2267044_gIYiF0geGHIKrkdMX31lefuAgZ6Png.jpg
[thumbnail_html_tag] => <img src="http://static-p3.fotolia.com/jpg/00/02/26/70/110_F_2267044_gIYiF0geGHIKrkdMX31lefuAgZ6Png.jpg <view-source:http://static-p3.fotolia.com/jpg/00/02/26/70/110_F_2267044_gIYiF0geGHIKrkdMX31lefuAgZ6Png.jpg>" alt="fond papier carreaux" title="fond papier carreaux" width="79" height="110" />

[thumbnail_width] => 79
[thumbnail_height] => 110
[affiliation_link] => http://fr.fotolia.com/id/2267044/partner/3597
[thumbnail_30_url] => http://static-p1.fotolia.com/jpg/00/02/26/70/30_F_2267044_gIYiF0geGHIKrkdMX31lefuAgZ6Png.jpg
[thumbnail_30_width] => 21
[thumbnail_30_height] => 30
[thumbnail_110_url] => http://static-p3.fotolia.com/jpg/00/02/26/70/110_F_2267044_gIYiF0geGHIKrkdMX31lefuAgZ6Png.jpg
[thumbnail_110_width] => 79
[thumbnail_110_height] => 110
[thumbnail_400_url] => http://static-p3.fotolia.com/jpg/00/02/26/70/400_F_2267044_gIYiF0geGHIKrkdMX31lefuAgZ6Png.jpg
[thumbnail_400_width] => 286
[thumbnail_400_height] => 400
[flv_url] =>
[licenses] => Array
(
[0] => Array
(
[name] => XS
[price] => 2
)

[1] => Array
(
[name] => S
[price] => 4
)

[2] => Array
(
[name] => M
[price] => 8
)

[3] => Array
(
[name] => L
[price] => 10
)

[4] => Array
(
[name] => XL
[price] => 12
)

[5] => Array
(
[name] => X
[price] => 90
)

)

[nb_views] => 1510
[nb_downloads] => 125
[creation_date] => 2007-01-29 19:02:57
)




Olivier Sirven a �crit :
> it is an array containing all the keys you want to have in the search
> resultset.
>
> Olivier
>
> AMBA <con...@amba.fr> writes:
>
>
>> Thanks Olivier and what is this new thrird parameter please ?
>> i look at the api doc on fotolia but it still write detail_level=1 for
>> nb_views, nb_downloads and keywords
>> is it like keywords=>1 ???
>> best regards
>> Amba
>>
>>
>> Olivier Sirven a �crit :
>>
>>> Hi,
>>>
>>> Yes keywords are not automatically returned since few weeks now. In
>>> order to fetch them, you have to specify it using a new additional
>>> third parameter of getSearchResult. If used it should be an array
>>> containing all the keys you want to have in the search resultset.
>>>
>>> Regards,
>>>
>>> Olivier
>>>
>>> AMBA <con...@amba.fr> writes:
>>>
>>>
>>>
>>>> Hi,
>>>> i don't know since when but i just realized that the api don't return
>>>> keywords when method is getSearchResult and param detail_level => 1
>>>> few weeks ago when i verify the request keywords is in the response.
>>>> I see the nb_downloads and the nb_views
>>>> Do you change something in the api for that ? because i don't touch my code
>>>> best regards
>>>> Amba
>>>>
>>>>
>>>>
>>>> __________ Information provenant d'ESET NOD32 Antivirus, version de la base des signatures de virus 4676 (20091210) __________
>>>>
>>>> Le message a �t� v�rifi� par ESET NOD32 Antivirus.
>>>>
>>>> http://www.eset.com
>>>>
>>>>
>>>> --
>>>>
>>>> You received this message because you are subscribed to the Google Groups "Fotolia API" group.
>>>> To post to this group, send email to fotol...@googlegroups.com.
>>>> To unsubscribe from this group, send email to fotoliaapi+...@googlegroups.com.
>>>> For more options, visit this group at http://groups.google.com/group/fotoliaapi?hl=en.
>>>>
>>>>
>>> --
>>>
>>> You received this message because you are subscribed to the Google Groups "Fotolia API" group.
>>> To post to this group, send email to fotol...@googlegroups.com.
>>> To unsubscribe from this group, send email to fotoliaapi+...@googlegroups.com.
>>> For more options, visit this group at http://groups.google.com/group/fotoliaapi?hl=en.
>>>
>>>
>>>
>>> __________ Information provenant d'ESET NOD32 Antivirus, version de la base des signatures de virus 4676 (20091210) __________
>>>
>>> Le message a �t� v�rifi� par ESET NOD32 Antivirus.
>>>
>>> http://www.eset.com
>>>
>>>
>>>
>>>
>>>
>>>
>>
>> __________ Information provenant d'ESET NOD32 Antivirus, version de la base des signatures de virus 4676 (20091210) __________
>>
>> Le message a �t� v�rifi� par ESET NOD32 Antivirus.
>>
>> http://www.eset.com
>>
>>
>> --
>>
>> You received this message because you are subscribed to the Google Groups "Fotolia API" group.
>> To post to this group, send email to fotol...@googlegroups.com.
>> To unsubscribe from this group, send email to fotoliaapi+...@googlegroups.com.
>> For more options, visit this group at http://groups.google.com/group/fotoliaapi?hl=en.
>>
>
> --
>
> You received this message because you are subscribed to the Google Groups "Fotolia API" group.
> To post to this group, send email to fotol...@googlegroups.com.
> To unsubscribe from this group, send email to fotoliaapi+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/fotoliaapi?hl=en.
>
>
>
> __________ Information provenant d'ESET NOD32 Antivirus, version de la base des signatures de virus 4676 (20091210) __________
>
> Le message a �t� v�rifi� par ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
>
>



__________ Information provenant d'ESET NOD32 Antivirus, version de la base des signatures de virus 4678 (20091211) __________

Le message a �t� v�rifi� par ESET NOD32 Antivirus.

http://www.eset.com


Olivier Sirven

unread,
Dec 11, 2009, 5:51:32 AM12/11/09
to fotol...@googlegroups.com
AMBA <con...@amba.fr> writes:

> you said in your last message "you have to specify it using a new
> additional third parameter of getSearchResult."
> but i don't know what is this third parameter i don't see it

It is the third parameter used when calling getSearchResult. First one
is the api key, second one search parameter and third one fields to
return. So you have to modify the way you call getSearchResult xml-rpc function

Olivier

AMBA

unread,
Dec 11, 2009, 6:58:34 AM12/11/09
to fotol...@googlegroups.com
ok i understant have you an sample for this plz ?
this is a params send : i use the XMLRPC_prepare(array($name => $value))
in [0] the apikey
in [1] the params
is in [2] keywords ??? what is the syntax plz ?

Array
(
[0] => Array
(
[struct] => Array
(
[member] => Array
(
[0] => Array
(
[name] => api_key
[value] => Array
(
[string] => myapikey
)

)

)

)

)

[1] => Array
(
[struct] => Array
(
[member] => Array
(
[0] => Array
(
[name] => words
[value] => Array
(
[string] => test
)

)

[1] => Array
(
[name] => language_id
[value] => Array
(
[string] => 1
)

)

[2] => Array
(
[name] => offset
[value] => Array
(
[string] => 0
)

)

[3] => Array
(
[name] => limit
[value] => Array
(
[string] => 24
)

)

[4] => Array
(
[name] => detail_level
[value] => Array
(
[string] => 1
)

)

)

)

)

)



Olivier Sirven a �crit :
> --
>
> You received this message because you are subscribed to the Google Groups "Fotolia API" group.
> To post to this group, send email to fotol...@googlegroups.com.
> To unsubscribe from this group, send email to fotoliaapi+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/fotoliaapi?hl=en.
>
>
>

AMBA

unread,
Dec 11, 2009, 7:22:43 AM12/11/09
to fotol...@googlegroups.com
hi i resolved it ;)
i do a
XMLRPC_prepare(array("nb_results","navigation_links","id","title","creator_name",...,....,"keywords"));
and it works thanks a lot
best regards
Amba

AMBA a �crit :
Reply all
Reply to author
Forward
0 new messages