forked from dajobe/flickcurl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NEWS.html
2451 lines (2050 loc) · 90.9 KB
/
NEWS.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8"/>
<title>Flickcurl News</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
</head>
<body>
<h1 style="text-align:center">Flickcurl News</h1>
<h2 style="text-align:center"><a href="http://www.dajobe.org/">Dave Beckett</a></h2>
<h2 id="D2011-XX-XX-V1.22">2011-XX-XX Flickcurl Version 1.22 Released</h2>
<p>Not yet released.
</p>
<p>Added raptor_fake.h to distribution so
that <code>flickrdf(1)</code> utility can work without raptor
installed. Noticed by Naruto TAKAHASHI - thanks!
</p>
<p>Added <code>flickcurl_free_tags()</code> to API. Patch from
Naruto TAKAHASHI - thanks!
</p>
<p><code>flickcurl_photoset</code> structure gains an owner NSID
field filled in when present. Patch from Naruto TAKAHASHI - thanks!
</p>
<h2 id="D2011-03-26">2011-03-26 Flickcurl 1.21</h2>
<p>Minor bug fixes:</p>
<ul>
<li>Fixed a memory leak when building photo list results. Patch from
Naruto TAKAHASHI - thanks.</li>
<li><code>flickcurl_photos_setPerms()</code> now allows false boolean
permissions. Patch from Henning Spruth - thanks.</li>
<li><code>flickcurl_photosets_getPhotos_params()</code> now works again.</li>
</ul>
<p>Made the <code>flickrdf(1)</code> utility handle Raptor V1, V2 or
none. The <code>configure</code> argument <code>--with-raptor</code>
now takes values '1', '2', 'yes' or 'no'. 'yes' selects Raptor V1 as
before.
</p>
<h2 id="D2010-11-18">2010-11-18 Flickcurl 1.20</h2>
<p>Fixed parsing of standard photos responses (SPR) to make several
API calls work again including:</p>
<ul>
<li><code>flickr.photos.comments.getRecentForContacts</code><br />
Functions <code>flickcurl_photos_comments_getRecentForContacts_params()</code> and
<code>flickcurl_photos_comments_getRecentForContacts()</code>.</li>
<li><code>flickr.photos.getContactsPhotos</code><br />
Functions <code>flickcurl_photos_getContactsPhotos_params()</code> and
<code>flickcurl_photos_getContactsPhotos()</code>.</li>
<li><code>flickr.photos.getContactsPublicPhotos</code><br />
Functions <code>flickcurl_photos_getContactsPublicPhotos_params()</code> and
<code>flickcurl_photos_getContactsPublicPhotos()</code>.</li>
<li><code>flickr.photos.getRecent</code><br />
Functions <code>flickcurl_photos_getRecent_params()</code> and
<code>flickcurl_photos_getRecent()</code>.</li>
<li><code>flickr.photos.recentlyUpdated</code><br />
Functions <code>flickcurl_photos_recentlyUpdated_params()</code> and
<code>flickcurl_photos_recentlyUpdated()</code>.</li>
<li><code>flickr.photos.search</code><br />
Functions <code>flickcurl_photos_search_params()</code> and
<code>flickcurl_photos_search()</code>.</li>
<li><code>flickr.photos.geo.photosForLocation</code><br />
Functions <code>flickcurl_photos_geo_photosForLocation_params()</code> and
<code>flickcurl_photos_geo_photosForLocation()</code>.</li>
<li><code>flickr.photosets.getPhotos</code><br />
Functions <code>flickcurl_photosets_getPhotos_params()</code> and
<code>flickcurl_photosets_getPhotos()</code>.</li>
<li><code>flickr.stats.getPopularPhotos</code><br />
Functions <code>flickcurl_stats_getPopularPhotos()</code>.</li>
<li><code>flickr.tags.getClusterPhotos</code><br />
Functions <code>flickcurl_tags_getClusterPhotos()</code>.</li>
</ul>
<h2 id="D2010-07-24">2010-07-24 Flickcurl 1.19</h2>
<p>Support returning photo notes in <code>flickcurl_photo</code> structure
when returning photo information with a new array field <code>notes</code> and
<code>notes_count</code> for the size of the array.</p>
<p>Added <code>flickcurl_note</code> class to store photo notes.</p>
<p>Added
<code>flickcurl_photosets_removePhotos()</code>,
<code>flickcurl_photosets_reorderPhotos()</code> and
<code>flickcurl_photosets_setPrimaryPhoto()</code> for new API calls
<a href="http://www.flickr.com/services/api/flickr.photosets.removePhotos.html">flickr.photosets.removePhotos</a>,
<a href="http://www.flickr.com/services/api/flickr.photosets.reorderPhotos.html">flickr.photosets.reorderPhotos</a> and
<a href="http://www.flickr.com/services/api/flickr.photosets.setPrimaryPhoto.html">flickr.photosets.setPrimaryPhoto</a>:</p>
<pre>
int flickcurl_photosets_removePhotos(flickcurl* fc,
const char* photoset_id, const char** photo_ids_array);
int flickcurl_photosets_reorderPhotos(flickcurl* fc,
const char* photoset_id, const char** photo_ids_array);
int flickcurl_photosets_setPrimaryPhoto(flickcurl* fc,
const char* photoset_id, const char* photo_id);
</pre>
<p>Added <code>flickcurl(1)</code> command support for new API calls.</p>
<p><code>flickcurl_photos_list</code> gains fields for page number
(<code>page</code>), per-page count (<code>per_page</code>) and total
photos count (<code>total_count</code>).
</p>
<p>Added <code>flickcurl_stats_getCSVFiles</code> but it always does
nothing since it expired at 2010-06-01.</p>
<p>Fixed portability operator typo '> =' and '+ =' lose spaces.
<a href="http://github.com/dajobe/flickcurl/issues/#issue/4">Issue #4</a>.
</p>
<h2 id="D2010-04-26">2010-04-26 Flickcurl 1.18</h2>
<p>Added (rest of) Galleries API calls as
<a href="http://code.flickr.com/blog/2010/04/08/galleries-apis/">announced 2010-04-08</a>:
</p>
<pre>
char* flickcurl_galleries_create(flickcurl* fc, const char* title,
const char* description, const char* primary_photo_id,
char** gallery_url_p);
int flickcurl_galleries_editMeta(flickcurl* fc, const char* gallery_id,
const char* title, const char* description);
int flickcurl_galleries_editPhoto(flickcurl* fc, const char* gallery_id,
const char* photo_id, const char* new_comment);
int flickcurl_galleries_editPhotos(flickcurl* fc, const char* gallery_id,
const char* primary_photo_id, const char** photo_ids_array);
flickcurl_gallery* flickcurl_galleries_getInfo(flickcurl* fc,
const char* gallery_id);
flickcurl_photos_list* flickcurl_galleries_getPhotos_params(flickcurl* fc,
const char* gallery_id, flickcurl_photos_list_params* list_params);
flickcurl_photo** flickcurl_galleries_getPhotos(flickcurl* fc,
const char* gallery_id, const char* extras, int per_page, int page);
char* flickcurl_urls_lookupGallery(flickcurl* fc, const char* url);
</pre>
<p>(The other Gallery API calls were implemented in Flickcurl 1.17
before they were announced.)</p>
<p>Enum <code>flickcurl_photo_field_type</code> gains a new
<code>PHOTO_FIELD_gallery_comment</code> field for representing a
photo's comments in a gallery context.
</p>
<p>Added function for new people API call (not announced):
<a href="http://www.flickr.com/services/api/flickr.people.getPhotos.html">flickr.people.getPhotos</a>:</p>
<pre>
flickcurl_photos_list* flickcurl_people_getPhotos_params(flickcurl* fc,
const char* user_id, int safe_search,
const char* min_upload_date, const char* max_upload_date,
const char* min_taken_date, const char* max_taken_date,
int content_type, int privacy_filter,
flickcurl_photos_list_params* list_params);
flickcurl_photo** flickcurl_people_getPhotos(flickcurl* fc,
const char* user_id, int safe_search,
const char* min_upload_date, const char* max_upload_date,
const char* min_taken_date, const char* max_taken_date,
int content_type, int privacy_filter, const char* extras,
int per_page, int page);
</pre>
<p>Added functions to allow more control over the internal
<code>CURL*</code> handle and to set any curl options needed
such as with <code>curl_easy_setopt()</code>.
The new library constructor
function <code>flickcurl_new_with_handle()</code>
allows reuse an existing curl handle rather than create and
destroy one during the library use.
The new library method
<code>flickcurl_set_curl_setopt_handler()</code> allows user code to
be called via a handler to make any adjustments to the curl options
that may be required on a per-request basis.
</p>
<pre>
flickcurl* flickcurl_new_with_handle(void* curl_handle);
void flickcurl_set_curl_setopt_handler(flickcurl *fc,
flickcurl_curl_setopt_handler curl_handler,
void* curl_handler_data);
</pre>
<p>Added <code>flickcurl(1)</code> utility support for new API calls.</p>
<p>Fix several cut-n-paste "latitude should be longitude" errors in
<code>flickcurl_photos_geo_batchCorrectLocation()</code>,
<code>flickcurl_photos_geo_photosForLocation_params()</code> and
<code>flickcurl_photos_geo_setLocation()</code>.
</p>
<h2 id="D2010-03-05">2010-03-05 Flickcurl 1.17</h2>
<p>Added functions for new stats API calls
<a href="http://code.flickr.com/blog/2010/03/03/flickr-stats-api/">announced 2010-03-03</a>:
<a href="http://www.flickr.com/services/api/flickr.stats.getCollectionDomains.html">flickr.stats.getCollectionDomains</a>,
<a href="http://www.flickr.com/services/api/flickr.stats.getCollectionReferrers.html">flickr.stats.getCollectionReferrers</a>,
<a href="http://www.flickr.com/services/api/flickr.stats.getCollectionStats.html">flickr.stats.getCollectionStats</a>,
<a href="http://www.flickr.com/services/api/flickr.stats.getPhotoDomains.html">flickr.stats.getPhotoDomains</a>,
<a href="http://www.flickr.com/services/api/flickr.stats.getPhotoReferrers.html">flickr.stats.getPhotoReferrers</a>,
<a href="http://www.flickr.com/services/api/flickr.stats.getPhotosetDomains.html">flickr.stats.getPhotosetDomains</a>,
<a href="http://www.flickr.com/services/api/flickr.stats.getPhotosetReferrers.html">flickr.stats.getPhotosetReferrers</a>,
<a href="http://www.flickr.com/services/api/flickr.stats.getPhotosetStats.html">flickr.stats.getPhotosetStats</a>,
<a href="http://www.flickr.com/services/api/flickr.stats.getPhotoStats.html">flickr.stats.getPhotoStats</a>,
<a href="http://www.flickr.com/services/api/flickr.stats.getPhotostreamDomains.html">flickr.stats.getPhotostreamDomains</a>,
<a href="http://www.flickr.com/services/api/flickr.stats.getPhotostreamReferrers.html">flickr.stats.getPhotostreamReferrers</a>,
<a href="http://www.flickr.com/services/api/flickr.stats.getPhotostreamStats.html">flickr.stats.getPhotostreamStats</a>,
<a href="http://www.flickr.com/services/api/flickr.stats.getPopularPhotos.html">flickr.stats.getPopularPhotos</a> and
<a href="http://www.flickr.com/services/api/flickr.stats.getTotalViews.html">flickr.stats.getTotalViews</a>
including new <code>flickcurl_stats</code> and
<code>flickcurl_view_stats</code> datatypes:</p>
<pre>
flickcurl_stat** flickcurl_stats_getCollectionDomains(flickcurl* fc,
const char* date, const char* collection_id, int per_page, int page);
flickcurl_stat** flickcurl_stats_getCollectionReferrers(flickcurl* fc,
const char* date, const char* domain, const char* collection_id,
int per_page, int page);
int flickcurl_stats_getCollectionStats(flickcurl* fc, const char* date,
const char* collection_id);
flickcurl_stat** flickcurl_stats_getPhotoDomains(flickcurl* fc,
const char* date, const char* photo_id, int per_page, int page);
flickcurl_stat** flickcurl_stats_getPhotoReferrers(flickcurl* fc,
const char* date, const char* domain, const char* photo_id,
int per_page, int page);
flickcurl_stat* flickcurl_stats_getPhotoStats(flickcurl* fc,
const char* date, const char* photo_id);
flickcurl_stat** flickcurl_stats_getPhotosetDomains(flickcurl* fc,
const char* date, const char* photoset_id, int per_page, int page);
flickcurl_stat** flickcurl_stats_getPhotosetReferrers(flickcurl* fc,
const char* date, const char* domain, const char* photoset_id,
int per_page, int page);
int flickcurl_stats_getPhotosetStats(flickcurl* fc, const char* date,
const char* photoset_id);
flickcurl_stat** flickcurl_stats_getPhotostreamDomains(flickcurl* fc,
const char* date, int per_page, int page);
flickcurl_stat** flickcurl_stats_getPhotostreamReferrers(flickcurl* fc,
const char* date, const char* domain, int per_page, int page);
int flickcurl_stats_getPhotostreamStats(flickcurl* fc, const char* date);
flickcurl_photo** flickcurl_stats_getPopularPhotos(flickcurl* fc,
const char* date, const char* sort, int per_page, int page,
const char* extras);
flickcurl_view_stats* flickcurl_stats_getTotalViews(flickcurl* fc,
const char* date);
void flickcurl_free_stat(flickcurl_stat *stat);
void flickcurl_free_stats(flickcurl_stat **stats_object);
void flickcurl_free_view_stats(flickcurl_view_stats *view_stats);
</pre>
<p>
The <code>flickcurl_photo_field_type</code> enum gains new fields for
counts of comments (<code>PHOTO_FIELD_comments</code>) and favorites
(<code>PHOTO_FIELD_favorites</code>) so that these stats can be
returned by the new <code>flickcurl_stats_getPopularPhotos()</code>
call. (View count field is already present).
</p>
<p>Added functions for 5 new people API calls
<a href="http://code.flickr.com/blog/2010/01/21/people-in-photos-the-api-methods/">announced 2010-01-21</a>
<a href="http://www.flickr.com/services/api/flickr.photos.people.add.html">flickr.photos.people.add</a>,
<a href="http://www.flickr.com/services/api/flickr.photos.people.delete.html">flickr.photos.people.delete</a>,
<a href="http://www.flickr.com/services/api/flickr.photos.people.deleteCoords.html">flickr.photos.people.deleteCoords</a>,
<a href="http://www.flickr.com/services/api/flickr.photos.people.editCoords.html">flickr.photos.people.editCoords</a> and
<a href="http://www.flickr.com/services/api/flickr.photos.people.getList.html">flickr.photos.people.getList</a>:</p>
<pre>
int flickcurl_photos_people_add(flickcurl* fc, const char* photo_id,
const char* user_id, int person_x, int person_y, int person_w, int person_h);
int flickcurl_photos_people_delete(flickcurl* fc, const char* photo_id,
const char* user_id);
int flickcurl_photos_people_deleteCoords(flickcurl* fc, const char* photo_id,
const char* user_id);
int flickcurl_photos_people_editCoords(flickcurl* fc, const char* photo_id,
const char* user_id, int person_x, int person_y, int person_w, int person_h);
flickcurl_person** flickcurl_photos_people_getList(flickcurl* fc,
const char* photo_id);
</pre>
<p>Added functions for 1 new "photos of" people API calls
<a href="http://code.flickr.com/blog/2010/01/21/people-in-photos-the-api-methods/">announced 2010-01-21</a>
<a href="http://www.flickr.com/services/api/flickr.people.getPhotosOf.html">flickr.people.getPhotosOf</a>:</p>
<pre>
flickcurl_photos_list* flickcurl_people_getPhotosOf_params(flickcurl* fc,
const char* user_id, flickcurl_photos_list_params* list_params);
flickcurl_photo** flickcurl_people_getPhotosOf(flickcurl* fc,
const char* user_id, const char* extras, int per_page, int page);
</pre>
<p>Added functions for 3 new gallery API calls - not yet announced
and seems a little incomplete e.g. you cannot list the photos in a
gallery:
<a href="http://www.flickr.com/services/api/flickr.galleries.addPhoto.html">flickr.galleries.addPhoto</a>,
<a href="http://www.flickr.com/services/api/flickr.galleries.getList.html">flickr.galleries.getList</a> and
<a href="http://www.flickr.com/services/api/flickr.galleries.getListForPhoto.html">flickr.galleries.getListForPhoto</a>
including new type <code>flickcurl_gallery</code>:</p>
<pre>
int flickcurl_galleries_addPhoto(flickcurl* fc, const char* gallery_id,
const char* photo_id, const char* comment_text);
flickcurl_gallery** flickcurl_galleries_getList(flickcurl* fc,
const char* user_id, int per_page, int page);
flickcurl_gallery** flickcurl_galleries_getListForPhoto(flickcurl* fc,
const char* photo_id, int per_page, int page);
void flickcurl_free_galleries(flickcurl_gallery **galleries_object);
</pre>
<p>Updated the <code>flickcurl(1)</code> to support the new gallery,
people photos and stats API calls.</p>
<h2 id="D2010-01-13">2010-01-13 Flickcurl 1.16</h2>
<p>Fix <code>flickcurl(1)</code> utility configuration file
generation to use <code>key=value</code> format as documented. Make
the software accept files with spaces around the '='.
</p>
<p>Updated authentication documentation to add a picture showing the
result of fetching the mobile authentication URLs.
</p>
<h2 id="D2010-01-02">2010-01-02 Flickcurl 1.15</h2>
<p>The <code>flickcurl_search_params</code> gains an
<code>in_gallery</code> boolean field which was
added to the photos search API
<a href="http://www.flickr.com/groups/api/discuss/72157622404753248/#comment72157622896186411">as announced 2009-12-17</a>.
</p>
<p>The <code>flickcurl(1)</code> utility photos.search commands gains
geo-context taking an integer arg for inside/outside, is-commons
boolean flag and is-gallery boolean flag arguments.
</p>
<p>Update the authentication section of the documentation to
represent the Flickr App Garden changes. Add screen shots of
the steps in the flow to authenticate.
</p>
<p>Switch the build system to use automake 1.11
<code>AM_SILENT_RULES</code> enabled by default for maintainer, but
can be triggered with <code>--enable-silent-rules</code> in
configure.</p>
<h2 id="D2009-09-20">2009-09-20 Flickcurl 1.14</h2>
<p>Added a tutorial section to the documentation on how to use the
search API - search parameters, result formats, extras and walking
through the photos list results. Added a new example program
<code>search-photos.c</code> to demonstrate a full working program
searching for photos and using the results.
</p>
<p>The <code>flickcurl_search_params</code> structure gains
<code>geo_context</code> and <code>is_commons</code> search
parameters which were added to the search API at some time in the
past (geo_context before 10 March 2009). The Geo Context can be set
for photos with <code>flickcurl_photos_geo_setLocation()</code>
corresponding to the flickr.photos.geo.setLocation API call.
</p>
<p>The <code>flickcurl_extras_format_info</code> gains new
API 'extras': path_alias, url_m, url_o, url_s, url_sq, url_t as
<a href="http://tech.groups.yahoo.com/group/yws-flickr/message/5053">announced 2009-06-29</a>.
path_alias returns the user's Flickr URL as in <code>/photos/user</code>
and the others provide various computed URLs and dimensions for the photos
of a given size so that <code>flickcurl_photos_getSizes()</code>
calls can be avoided directly after a search.
</p>
<p>Apply a little resource leak fix to the video API when calloc fails -
patch from github fork by 'mr.huge at seznam dot cz'. Thanks.
</p>
<p>Fixed some off-by-1 errors in some static string allocation sizes.
</p>
<p>Small typos and fixes to <code>flickcurl(1)</code> utility messages.
</p>
<h2 id="D2009-08-01">2009-08-01 Flickcurl 1.13</h2>
<p>Added function
<code>flickcurl_source_uri_as_photo_id()</code> to get photo IDs from
full raw 'farm' image URLs. Added command <code>getphotoid</code>
to the command-line utility to allow this to be called.
</p>
<pre>
char* flickcurl_source_uri_as_photo_id(const char *uri);
</pre>
<p>Added function
<code>flickcurl_get_current_request_wait()</code> so applications can
know when flickcurl will delay - sleep(2) - in order to let the web
service rate limiting work. This allows the application to avoid
this and try again later if it desires, rather than have Flickcurl
freeze the entire application (if single threaded).
</p>
<pre>
int flickcurl_get_current_request_wait(flickcurl *fc);
</pre>
<p>Use a dynamic buffer size for request URI construction to avoid
crashing when dealing with requests with e.g. long lists of of photo
IDs that exceeded the "big enough" buffer for a URI. Bug noticed and
reported by Henning Spruth - thanks!
</p>
<p>After the above problem, reviewed the other fixed buffer sizes in
the code and they are all for known fixed uses such as formatting a
decimal number (of known size) into a string. None of the remaining
ones can be influenced by data passed by API calls.
</p>
<p>Fixed resource leak of user agent string in
<code>flickcurl_free()</code> found by Debarshi Ray - Thanks.
</p>
<h2 id="D2009-07-04">2009-07-04 Flickcurl 1.12</h2>
<p>Added function <code>flickcurl_places_getTopPlacesList()</code>
for new API call
<a href="http://www.flickr.com/services/api/flickr.places.getTopPlacesList.html">flickr.places.getTopPlacesList</a>.
</p>
<pre>
flickcurl_place** flickcurl_places_getTopPlacesList(flickcurl* fc,
flickcurl_place_type place_type, const char* date, int woe_id,
const char* place_id);
</pre>
<p>Added function <code>flickcurl_blogs_getServices()</code> and new
<code>flickcurl_blog_service</code> structure for describing a blog service.
for new API call
<a href="http://www.flickr.com/services/api/flickr.blogs.getServices.html">flickr.blogs.getServices</a>.
Added function
<code>flickcurl_free_blog_services()</code> to free blog services array.
</p>
<pre>
flickcurl_blog_service** flickcurl_blogs_getServices(flickcurl* fc);
void flickcurl_free_blog_services(flickcurl_blog_service **blog_services_object);
</pre>
<p>Added function
<code>flickcurl_photos_comments_getRecentForContacts_params()</code>
for new API call
<a href="http://www.flickr.com/services/api/flickr.photos.comments.getRecentForContacts.html">flickr.photos.comments.getRecentForContacts</a>
</p>
<p>Added function <code>flickcurl_machinetags_getRecentValues()</code>
for new API call
<a href="http://www.flickr.com/services/api/flickr.machinetags.getRecentValues.html">flickr.machinetags.getRecentValues</a>
</p>
<p>Added flickr collections API including new
<code>flickcurl_collection</code> datatype:</p>
<pre>
flickcurl_collection* flickcurl_collections_getInfo(flickcurl* fc,
const char* collection_id);
flickcurl_collection* flickcurl_collections_getTree(flickcurl* fc,
const char* collection_id, const char* user_id);
</pre>
<p>Added functions for generating <code>flic.kr</code> short URIs
from a photo object or photo ID:</p>
<pre>
char* flickcurl_photo_id_as_short_uri(char *photo_id);
char* flickcurl_photo_as_short_uri(flickcurl_photo *photo);
</pre>
<p>Fixed <code>flickcurl_invoke_common()</code> to always set / reset
HTTP headers list to allows requests that set/don't set headers to
work in sequence when called with the same flickcurl context. The
symptom of this was in long sequences with mixed reads and writes,
crashes or mysterious failures happened. Bug reported / found by
Henning Spruth - thanks!
</p>
<p>Added continent type to allow
<code>flickcurl_get_place_type_label()</code> and
<code>flickcurl_get_place_type_by_label()</code> to use. This allows
'continent' to be used in place APIs when called from
<code>flickcurl(1)</code> utility.
</p>
<p>Retrieve the place name from the <code><place></code>
element content as well as from attribute value. In the Flickr API,
there is always more than one way to get a field <code>;)</code>
</p>
<p>Switched from Subversion to GIT source control hosted by
<a href="http://github.com/">GitHub</a>.
The
<a href="http://github.com/dajobe/flickcurl/tree/master">GitHub flickcurl project page</a>.
previously was in Subversion at
<a href="http://svn.dajobe.org/view/">svn.dajobe.org</a>
and it moved as of SVN r1021 on 2006-06-02 after the 1.11 release tagged
<code>flickcurl_1_11</code>.
</p>
<p>Update SHAVE from master GIT 2134bb1207e06d1650918a56f6b142e9a840219d
</p>
<p>Added <code>flickcurl(1)</code> utility support for new API calls,
allow WOEID args to be "-" to omitted and to add a
<code>shorturi</code> command to generate <code>flic.kr</code> short
URIs from a photo ID.
</p>
<h2 id="D2009-05-26">2009-05-26 Flickcurl 1.11</h2>
<p><code>flickcurl_search_params</code> structure now has an integer
field <code>woe_id</code> for searching via Where On Earth IDs (WOEIDs).
Forgot to add this earlier!
</p>
<p>The <code>flickcurl</code> utility was updated to support
searching with the integer woeid parameter.</p>
<p>Search results now decode more of the extras that can be returned
in search queries when the <code>extras</code> field is set in the
query to a comma-separated list of things to return. The additions
with their extras names are: original dimensions (o_dims), photo
views count (views), simple list of tags (tags), photo user
information (owner), geo information (geo) and user buddy icons
(icons),
</p>
<p>Added new <code>flickcurl_photo</code> fields for 'extras' from
search results:
<code>PHOTO_FIELD_original_height</code>,
<code>PHOTO_FIELD_original_width</code>,
<code>PHOTO_FIELD_owner_iconfarm</code>,
<code>PHOTO_FIELD_owner_iconserver</code> and
<code>PHOTO_FIELD_views</code>
</p>
<p>Added donuthole support to shapes
as <a href="http://code.flickr.com/blog/2009/05/06/the-absence-and-the-anchor/">announced 2009-05-06</a>.
The <code>flicckurl_shapedata</code> structure now has
<code>is_donuthole</code> and <code>has_donuthole</code> boolean flag fields.
</p>
<p>Fix handling API calls return shape XML with slightly different
names so that places.getShapeHistory and places.getInfo both work
now (again?).</p>
<p>Added function to get a user buddy icon URI for a given user:
</p>
<pre>
char* flickcurl_user_icon_uri(int farm, int server, char *nsid);
</pre>
<p>Added function to get the user buddy icon URI from a user's photo:
</p>
<pre>
char* flickcurl_photo_as_user_icon_uri(flickcurl_photo *photo);
</pre>
<p>Added function to return the photo page URI of a photo:
</p>
<pre>
char* flickcurl_photo_as_page_uri(flickcurl_photo *photo);
</pre>
<p>Added timezone field support to place (This has not yet been
announced as an API change). The <code>flickcurl_place</code>
structure now has a <code>timezone</code> string field.
</p>
<p>Make more attempts to reset the libcurl context between requests
which should help in sequences of calls that mix GET (searches, get
information) and POST (uploading, deletions etc.) This is intended
to try to fix a hard-to-test report of crashes with multiple upload
and API calls on Solaris/SPARC.
</p>
<p>Configuration via <code>configure</code> now uses
<code>pkg-config(1)</code> to get the compile (CFLAGS) and link
(LIBS) flags info for libxml, libcurl and raptor. This should work
since those libraries have shipped the respective .pc file in
releases for some time.</p>
<p>Use <code>pkg-config raptor</code> configuration for checking
raptor presence, versions, cflags and libs rather than the
(deprecated) <code>raptor-config</code> program output.
</p>
<p>Added configure
<a href="http://git.lespiau.name/cgit/shave/">SHAVE support</a>
(<code>git clone git://git.lespiau.name/shave</code> ) to <em>"make
autotools output sane"</em> which amounts to much less verbose
messages when compiling. It is now enabled by default.</p>
<p>Compiling from subversion (<code>autogen.sh</code> or
<code>configure --enable-maintainer-mode</code>) requires Libtool V2
for consistency with my other projects.
</p>
<h2 id="D2009-05-01">2009-05-01 Flickcurl 1.10</h2>
<p>Made uploading images and replacing images work again.
</p>
<p>Added functions to set the service URIs for the image upload and
image replacing web services:</p>
<pre>
void flickcurl_set_upload_service_uri(flickcurl *fc, const char *uri);
void flickcurl_set_replace_service_uri(flickcurl *fc, const char *uri);
</pre>
<p>Added casts for compiling and using from C++ - the main change is
to rename internal variables and function arguments called
'namespace' to 'nspace'.</p>
<h2 id="D2009-04-04">2009-04-04 Flickcurl 1.9</h2>
<p>Added functions for 2 new API calls
<a href="http://www.flickr.com/services/api/flickr.panda.getList.html">flickr.panda.getList</a>
<a href="http://www.flickr.com/services/api/flickr.panda.getPhotos.html">flickr.panda.getPhotos</a>
as <a href="http://code.flickr.com/blog/2009/03/03/panda-tuesday-the-history-of-the-panda-new-apis-explore-and-you/">announced on 2009-03-03</a>
used in the vomiting
<a href="http://www.flickr.com/explore/panda">Flickr Panda</a>.
</p>
<pre>
char** flickcurl_panda_getList(flickcurl* fc);
flickcurl_photo** flickcurl_panda_getPhotos(flickcurl *fc,
const char *panda_name);
</pre>
<p>Added function for 1 new API call
<a href="http://www.flickr.com/services/api/flickr.groups.members.getList.html">flickr.groups.members.getList</a>
as
<a href="http://tech.groups.yahoo.com/group/yws-flickr/message/4749">announced as experimental on 2009-02-24</a>.
</p>
<pre>
flickcurl_member** flickcurl_groups_members_getList(flickcurl* fc,
const char* group_id, const char* membertypes, int per_page, int page);
</pre>
<p>
Updated the <code>flickcurl(1)</code> utility to support the 3 new calls.
</p>
<p>Fixed <code>flickcurl_photosets_getList()</code> to work again
with XML returned by the web service. Not clear if the service
changed since this used to work and the code did not change.
</p>
<p>Allow config file <code>~/.flickcurl.conf</code> (as used by
<code>flickcurl(1)</code> utility) to contain DOS newline sequence (\r\n)
as well as Unix (\n) and \r.
</p>
<p>Increased date buffer size in
<code>flickcurl_photos_setDates()</code> to prevent buffer overruns.
</p>
<h2 id="D2009-02-09">2009-02-09 Flickcurl 1.8</h2>
<p>Added support for new commons API with new institution class, new
photos geo and places APIs, and new shape history API with a new
shape structure class.</p>
<p>Added functions for 12 new API calls
<a href="http://www.flickr.com/services/api/flickr.commons.getInstitutions.html">flickr.commons.getInstitutions</a>,
<a href="http://www.flickr.com/services/api/flickr.contacts.getListRecentlyUploaded.html">flickr.contacts.getListRecentlyUploaded</a>,
<a href="http://www.flickr.com/services/api/flickr.photos.geo.batchCorrectLocation.html">flickr.photos.geo.batchCorrectLocation</a>,
<a href="http://www.flickr.com/services/api/flickr.photos.geo.correctLocation.html">flickr.photos.geo.correctLocation</a>,
<a href="http://www.flickr.com/services/api/flickr.photos.geo.photosForLocation.html">flickr.photos.geo.photosForLocation</a>,
<a href="http://www.flickr.com/services/api/flickr.photos.geo.setContext.html">flickr.photos.geo.setContext</a>,
<a href="http://www.flickr.com/services/api/flickr.places.getPlaceTypes.html">flickr.places.getPlaceTypes</a>,
<a href="http://www.flickr.com/services/api/flickr.places.getShapeHistory.html">flickr.places.getShapeHistory</a>,
<a href="http://www.flickr.com/services/api/flickr.places.placesForBoundingBox.html">flickr.places.placesForBoundingBox</a>,
<a href="http://www.flickr.com/services/api/flickr.places.placesForContacts.html">flickr.places.placesForContacts</a>,
<a href="http://www.flickr.com/services/api/flickr.places.placesForTags.html">flickr.places.placesForTags</a> and
<a href="http://www.flickr.com/services/api/flickr.places.tagsForPlace.html">flickr.places.tagsForPlace</a>
as announced
<a href="http://tech.groups.yahoo.com/group/yws-flickr/message/4669">2009-01-12</a> (flickr.places.getShapeHistory),
<a href="http://tech.groups.yahoo.com/group/yws-flickr/message/4668">2009-01-14</a> (flickr.contacts.getListRecentlyUploaded)
and
<a href="http://flickr.com/groups/api/discuss/72157613093793775/">2009-01-29</a> (Commons API):</p>
<pre>
flickcurl_institution** flickcurl_commons_getInstitutions(flickcurl* fc);
flickcurl_contact** flickcurl_contacts_getListRecentlyUploaded(flickcurl* fc,
int date_lastupload, const char* filter);
int flickcurl_photos_geo_batchCorrectLocation(flickcurl* fc,
flickcurl_location* location, const char* place_id, int woe_id);
int flickcurl_photos_geo_correctLocation(flickcurl* fc,
const char* photo_id, const char* place_id, int woe_id);
flickcurl_photo** flickcurl_photos_geo_photosForLocation(flickcurl* fc,
flickcurl_location* location, const char* extras, int per_page, int page);
flickcurl_photos_list* flickcurl_photos_geo_photosForLocation_params(flickcurl* fc,
flickcurl_location* location, flickcurl_photos_list_params* list_params);
int flickcurl_photos_geo_setContext(flickcurl* fc, const char* photo_id,
int context);
flickcurl_place_type_info** flickcurl_places_getPlaceTypes(flickcurl* fc);
flickcurl_shapedata** flickcurl_places_getShapeHistory(flickcurl* fc,
const char* place_id, int woe_id);
flickcurl_place** flickcurl_places_placesForBoundingBox(flickcurl* fc,
flickcurl_place_type place_type, double minimum_longitude,
double minimum_latitude, double maximum_longitude,
double maximum_latitude);
flickcurl_place** flickcurl_places_placesForContacts(flickcurl* fc,
flickcurl_place_type place_type, int woe_id, const char* place_id,
int threshold, const char* contacts, int min_upload_date,
int max_upload_date, int min_taken_date, int max_taken_date);
int flickcurl_places_placesForTags(flickcurl* fc,
flickcurl_place_type place_type, int woe_id, const char* place_id,
const char* threshold, const char* tags, const char* tag_mode,
const char* machine_tags, const char* machine_tag_mode,
const char* min_upload_date, const char* max_upload_date,
const char* min_taken_date, const char* max_taken_date);
flickcurl_tag** flickcurl_places_tagsForPlace(flickcurl* fc,
int woe_id, const char* place_id, int min_upload_date,
int max_upload_date, int min_taken_date, int max_taken_date);
</pre>
<p>Added destructors for new classes:</p>
<pre>
void flickcurl_free_institution(flickcurl_institution *);
void flickcurl_free_institutions(flickcurl_institution **);
void flickcurl_free_place_type_infos(flickcurl_place_type_info **);
void flickcurl_free_shape(flickcurl_shapedata *);
void flickcurl_free_shapes(flickcurl_shapedata **);
</pre>
<p>Added
<code>flickcurl_institution</code> class and
<code>flickcurl_institution_url_type</code> enum for URL types
for response from <code>flickcurl_commons_getInstitutions()</code>.
Added <code>flickcurl_free_institution()</code> and
<code>flickcurl_free_institutions()</code> destructors.
</p>
<p>Added <code>FLICKCURL_PLACE_CONTINENT</code> value to place
<code>flickcurl_location</code> enum.
</p>
<p>Added <code>flickcurl_place_type_info</code> for results of
<code>flickcurl_places_getPlaceTypes()</code>. Added
<code>flickcurl_free_place_type_infos()</code> destructor.
</p>
<p>Added new <code>flickcurl_shapedata</code> class to store shape
information, ESRI shape data and/or URLs returned by
<code>flickcurl_places_getShapeHistory()</code>.
</p>
<p><code>flickcurl_place</code> structure gains a <code>shape</code>
field returning a pointer to the <code>flickcurl_shapedata</code>
shape data, deprecating old shape fields.
Added <code>flickcurl_free_shape()</code> and
<code>flickcurl_free_shapes()</code> destructors.
</p>
<p><code>flickcurl_tag</code> gains a new uploaded field for use with
<code>flickcurl_contacts_getListRecentlyUploaded()</code>
</p>
<p>Deprecated <code>flickcurl_places_getChildrenWithPhotosPublic()</code>
and <code>flickcurl_places_getInfo()</code> replacing them with new
<code>flickcurl_places_getChildrenWithPhotosPublic2()</code>
and <code>flickcurl_places_getInfo2()</code>
that taken an integer WOEID parameter rather than string.</p>
<p>Updated <code>flickcurl(1)</code> utility for new API calls.
</p>
<h2 id="D2008-11-30">2008-11-30 Flickcurl 1.7</h2>
<p>Added support for the new Machine Tags API
as <a href="http://tech.groups.yahoo.com/group/yws-flickr/message/4545">announced 2008-11-18</a>.
Added representations for machine tag namespaces
<code>flickcurl_tag_namespace</code> and machine tag predicate/value
pairs <code>flickcurl_tag_predicate_value</code>.</p>
<p>Added functions for the new API calls
<a href="http://www.flickr.com/services/api/flickr.machinetags.getNamespaces.html">flickr.machinetags.getNamespaces</a>,
<a href="http://www.flickr.com/services/api/flickr.machinetags.getPairs.html">flickr.machinetags.getPairs</a>,
<a href="http://www.flickr.com/services/api/flickr.machinetags.getPredicates.html">flickr.machinetags.getPredicates</a> and
<a href="http://www.flickr.com/services/api/flickr.machinetags.getValues.html">flickr.machinetags.getValues</a>:</p>
<pre>
flickcurl_tag_namespace** flickcurl_machinetags_getNamespaces(flickcurl* fc,
const char* predicate, int per_page, int page);
flickcurl_tag_predicate_value** flickcurl_machinetags_getPairs(flickcurl* fc,
const char* namespace, const char* predicate, int per_page, int page);
flickcurl_tag_predicate_value** flickcurl_machinetags_getPredicates(flickcurl* fc,
const char* namespace, int per_page, int page);
flickcurl_tag_predicate_value** flickcurl_machinetags_getValues(flickcurl* fc,
const char* namespace, const char* predicate, int per_page, int page);
</pre>
<p>Added destructors for new machine tag structures and arrays of them:</p>
<pre>
void flickcurl_free_tag_namespace(flickcurl_tag_namespace *tag_nspace);
void flickcurl_free_tag_namespaces(flickcurl_tag_namespace** tag_nspaces);
void flickcurl_free_tag_predicate_value(flickcurl_tag_predicate_value* tag_pv);
void flickcurl_free_tag_predicate_values(flickcurl_tag_predicate_value **tag_pvs);
</pre>
<p>Added <code>flickcurl_tags_getClusterPhotos()</code> function for
new API call
<a href="http://www.flickr.com/services/api/flickr.tags.getClusterPhotos.html">flickr.tags.getClusterPhotos</a>
to get a set of photos around a cluster (of 3 tags).
This was added to the web service API but not announced some time between
2008-09-04 ad 2008-09-19.</p>
<pre>
flickcurl_photos_list* flickcurl_tags_getClusterPhotos(flickcurl* fc,
const char* tag, const char* cluster_id,
flickcurl_photos_list_params* list_params);
</pre>
<p>Updated Places API for changes as
<a href="http://tech.groups.yahoo.com/group/yws-flickr/message/4510">announced
2008-11-05</a>
and in <a href="http://code.flickr.com/blog/2008/10/30/the-shape-of-alpha/">The Shape of Alpha</a>
to support querying for places via place IDs
or <a href="http://developer.yahoo.com/geo/">Where on Earth (WOE) Ids</a>.
The places APIs may now return ESRI shape information and
<code>flickcurl_place</code> now stores any XML
<code><shapedata></code> and ESRI shapefile URLs returned
in a lookup call e.g:</p>
<pre>
$ ./flickcurl places.getInfo 4hLQygSaBJ92
Type locality (2)
Location: latitude 45.512000 longitude -73.554000 accuracy unknown
Shapedata (1752 bytes):
<polylines>
<polyline>45.427627563477,-73.589645385742 45.427051544...
Shapefile URLs: 1
0): http://farm4.static.flickr.com/3228/shapefiles/3534_20081111_0a8afe03c5.tar.gz
0) place location: name 'Montreal, Quebec, Canada' id 4hLQygSaBJ92 woeid 3534 url '/Canada/Quebec/Montreal'
2) place locality: name 'Montreal, Quebec, Canada' id 4hLQygSaBJ92 woeid 3534 url '/Canada/Quebec/Montreal'
3) place county: name 'Montréal, Quebec, Canada' id cFBi9x6bCJ8D5rba1g woeid 29375198 url '/cFBi9x6bCJ8D5rba1g'
4) place region: name 'Quebec, Canada' id CrZUvXebApjI0.72 woeid 2344924 url '/Canada/Quebec'
5) place country: name 'Canada' id EESRy8qbApgaeIkbsA woeid 23424775 url '/Canada'
</pre>
<p>Added
<code>flickcurl_places_getInfo()</code> for
<a href="http://www.flickr.com/services/api/flickr.places.getInfo.html">flickr.places.getInfo</a>,
<code>flickcurl_places_getInfoByUrl()</code> for
<a href="http://www.flickr.com/services/api/flickr.places.getInfoByUrl.html">flickr.places.getInfoByUrl</a>
and <code>flickcurl_places_getChildrenWithPhotosPublic()</code> for
<a href="http://www.flickr.com/services/api/flickr.places.getChildrenWithPhotosPublic.html">flickr.places.getChildrenWithPhotosPublic</a>:</p>
<pre>
flickcurl_place** flickcurl_places_getChildrenWithPhotosPublic(flickcurl* fc,
const char* place_id, const char* woe_id);
flickcurl_place* flickcurl_places_getInfo(flickcurl* fc,
const char* place_id, const char* woe_id);
flickcurl_place* flickcurl_places_getInfoByUrl(flickcurl* fc,
const char* url);
</pre>
<p>Added <code>flickcurl_places_placesForUser()</code> function
to match API name correctly for API call
<a href="http://www.flickr.com/services/api/flickr.places.placesForUser.html"><em>flickr.places.placesForUser</em></a>
deprecating wrong name <code>flickcurl_places_forUser()</code>.
</p>
<pre>
flickcurl_place** flickcurl_places_placesForUser(flickcurl* fc,
flickcurl_place_type place_type, int woe_id, const char* place_id,
int threshold);
</pre>
<p>Fixed photoset API calls
<code>flickcurl_photosets_getList()</code> and
<code>flickcurl_photosets_getPhotos_params()</code> to correctly find
photos in a photoset from latest web service API. Not clear if the
existing code was wrong or the web service response changed.
</p>
<p>Updated <code>flickcurl(1)</code> utility to give a usage
message for a commmand when it is called with too many or too few
arguments.
</p>
<h2 id="D2008-09-04">2008-09-04 Flickcurl 1.6</h2>
<p><a href="http://en.wikipedia.org/wiki/Mister_Rogers%27_Neighborhood">"It's a beautiful day in the neighborhood"</a>
and also
"Everybody needs good <a href="http://en.wikipedia.org/wiki/Neighbours">Neighbours</a>".
<br />
Added <code>PHOTO_FIELD_location_neighbourhood</code>,
<code>PHOTO_FIELD_neighbourhood_placeid</code>,
<code>PHOTO_FIELD_neighbourhood_woeid</code>,
<code>PHOTO_FIELD_location_neighbourhood</code>
and <code>FLICKCURL_PLACE_NEIGHBOURHOOD</code> enum values
making the American English spelling versions aliases for the
British / Commonwealth English. Adjusted the XPaths to accept
both spellings just in case Flickr changes this.
The neighbourhood / neighborhood feature was
<a href="http://geobloggers.com/2008/08/19/correcting-location-data-the-flickr-way/">announced 2008-08-19</a>.
</p>
<p>Added <code>flickcurl_places_forUser()</code> function for new API call
<a href="http://www.flickr.com/services/api/flickr.places.placesForUser.html"><em>flickr.places.placesForUser</em></a>
to get the cluster of places for a user as
<a href="http://code.flickr.com/blog/2008/09/04/whos-on-first/">announced 2008-09-04</a>.
</p>
<pre>
flickcurl_place** flickcurl_places_forUser(flickcurl* fc,
flickcurl_place_type place_type, int woe_id, const char* place_id,
int threshold);
</pre>
<p>Added support for the (experimental) <em>Photos List</em> feed
<code>format</code> parameter by the new feature of allowing any
function that returns a <em>Standard Photos Response</em> to send the
same optional result parameters, including format. This is done by
adding new typedefs <code>flickcurl_photos_list</code> for the
standard photos response and
<code>flickcurl_photos_list_params</code> for the parameters.
This allows for existing result parameters (page, per_page, extras)
as well as the new new format parameter to be given optionally.
The standard photos response format was
<a href="http://code.flickr.com/blog/2008/08/19/standard-photos-response-apis-for-civilized-age/">described 2008-08-19</a> and
the experimental feeds format feature was
<a href="http://code.flickr.com/blog/2008/08/25/api-responses-as-feeds/">announced 2008-08-25</a>.
</p>
<p>Added functions to return lists of photos with list results parameters