tagcrumbs 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (183) hide show
  1. data/History.txt +5 -0
  2. data/Manifest.txt +79 -56
  3. data/README.rdoc +9 -1
  4. data/Rakefile +2 -1
  5. data/TODO.txt +0 -7
  6. data/config/website.yml +2 -0
  7. data/examples/filter_new.rb +7 -3
  8. data/examples/placemark_new_suggestions.rb +4 -2
  9. data/examples/request_authorization.rb +1 -1
  10. data/examples/tagcrumbs_find.rb +3 -3
  11. data/examples/user.rb +1 -1
  12. data/lib/console.rb +14 -0
  13. data/lib/tagcrumbs.rb +41 -14
  14. data/lib/tagcrumbs/cli.rb +1 -1
  15. data/lib/tagcrumbs/config_store.rb +3 -3
  16. data/lib/tagcrumbs/core_extensions.rb +19 -0
  17. data/lib/tagcrumbs/parsers/json_parser.rb +7 -3
  18. data/lib/tagcrumbs/proxy.rb +6 -3
  19. data/lib/tagcrumbs/requestor.rb +22 -5
  20. data/lib/tagcrumbs/resources/{array.rb → collection.rb} +8 -7
  21. data/lib/tagcrumbs/resources/models/access_token.rb +8 -0
  22. data/lib/tagcrumbs/resources/models/accessors.rb +17 -3
  23. data/lib/tagcrumbs/resources/models/activity.rb +1 -0
  24. data/lib/tagcrumbs/resources/models/application.rb +9 -0
  25. data/lib/tagcrumbs/resources/models/comment.rb +2 -0
  26. data/lib/tagcrumbs/resources/models/email_recommendation.rb +17 -0
  27. data/lib/tagcrumbs/resources/models/favorite.rb +2 -1
  28. data/lib/tagcrumbs/resources/models/filter.rb +2 -2
  29. data/lib/tagcrumbs/resources/models/flag.rb +3 -0
  30. data/lib/tagcrumbs/resources/models/model.rb +8 -7
  31. data/lib/tagcrumbs/resources/models/paragraph.rb +8 -0
  32. data/lib/tagcrumbs/resources/models/picture.rb +4 -4
  33. data/lib/tagcrumbs/resources/models/place.rb +3 -3
  34. data/lib/tagcrumbs/resources/models/placemark.rb +3 -2
  35. data/lib/tagcrumbs/resources/models/profile.rb +0 -1
  36. data/lib/tagcrumbs/resources/models/profile_link.rb +1 -1
  37. data/lib/tagcrumbs/resources/models/root.rb +3 -3
  38. data/lib/tagcrumbs/resources/models/settings.rb +2 -1
  39. data/lib/tagcrumbs/resources/models/tagcrumb.rb +4 -12
  40. data/lib/tagcrumbs/resources/models/user.rb +27 -6
  41. data/lib/tagcrumbs/resources/models/user_recommendation.rb +1 -1
  42. data/lib/tagcrumbs/resources/resource.rb +4 -4
  43. data/script/console +8 -3
  44. data/spec/fixtures_external/README.rdoc +15 -0
  45. data/spec/fixtures_external/json/access_token.json +11 -0
  46. data/spec/{fixtures → fixtures_external/json}/activity.json +32 -25
  47. data/spec/{fixtures → fixtures_external/json}/address.json +22 -25
  48. data/spec/fixtures_external/json/application.json +13 -0
  49. data/spec/{fixtures → fixtures_external/json}/city.json +2 -11
  50. data/spec/{fixtures → fixtures_external/json}/comment.json +51 -44
  51. data/spec/{fixtures → fixtures_external/json}/country.json +1 -4
  52. data/spec/fixtures_external/json/email_recommendation.json +286 -0
  53. data/spec/{fixtures → fixtures_external/json}/fanship.json +30 -30
  54. data/spec/{fixtures → fixtures_external/json}/favorite.json +45 -47
  55. data/spec/{fixtures → fixtures_external/json}/filter.json +30 -42
  56. data/spec/{fixtures → fixtures_external/json}/friendship.json +30 -30
  57. data/spec/fixtures_external/json/geoname.json +18 -0
  58. data/spec/{fixtures → fixtures_external/json}/link.json +41 -44
  59. data/spec/{fixtures → fixtures_external/json}/location.json +21 -31
  60. data/spec/fixtures_external/json/paragraph.json +12 -0
  61. data/spec/fixtures_external/json/picture.json +129 -0
  62. data/spec/fixtures_external/json/picture_upload.json +9 -0
  63. data/spec/{fixtures → fixtures_external/json}/placemark.json +136 -142
  64. data/spec/fixtures_external/json/placemarks.json +851 -0
  65. data/spec/{fixtures → fixtures_external/json}/profile.json +65 -94
  66. data/spec/fixtures_external/json/profile_link.json +123 -0
  67. data/spec/{fixtures → fixtures_external/json}/root.json +17 -21
  68. data/spec/{fixtures → fixtures_external/json}/settings.json +26 -19
  69. data/spec/{fixtures → fixtures_external/json}/state.json +2 -8
  70. data/spec/{fixtures → fixtures_external/json}/subscription.json +41 -44
  71. data/spec/fixtures_external/json/suggestions.json +302 -0
  72. data/spec/{fixtures → fixtures_external/json}/tag.json +0 -0
  73. data/spec/{fixtures → fixtures_external/json}/user.json +44 -20
  74. data/spec/{fixtures → fixtures_external/json}/user_recommendation.json +52 -55
  75. data/spec/fixtures_external/json/validation_errors.json +6 -0
  76. data/spec/fixtures_external/kml/network_link.kml +24 -0
  77. data/spec/fixtures_external/kml/tagcrumbs.kml +64 -0
  78. data/spec/fixtures_external/rdf/placemark.rdf +56 -0
  79. data/spec/fixtures_external/rss/tagcrumbs.rss +24 -0
  80. data/spec/fixtures_external/xml/access_token.xml +5 -0
  81. data/spec/fixtures_external/xml/activity.xml +62 -0
  82. data/spec/fixtures_external/xml/address.xml +51 -0
  83. data/spec/fixtures_external/xml/application.xml +5 -0
  84. data/spec/fixtures_external/xml/city.xml +27 -0
  85. data/spec/fixtures_external/xml/comment.xml +81 -0
  86. data/spec/fixtures_external/xml/country.xml +10 -0
  87. data/spec/fixtures_external/xml/email_recommendation.xml +78 -0
  88. data/spec/fixtures_external/xml/fanship.xml +49 -0
  89. data/spec/fixtures_external/xml/favorite.xml +97 -0
  90. data/spec/fixtures_external/xml/filter.xml +68 -0
  91. data/spec/fixtures_external/xml/friendship.xml +49 -0
  92. data/spec/fixtures_external/xml/geoname.xml +6 -0
  93. data/spec/fixtures_external/xml/link.xml +78 -0
  94. data/spec/fixtures_external/xml/location.xml +58 -0
  95. data/spec/fixtures_external/xml/paragraph.xml +8 -0
  96. data/spec/fixtures_external/xml/picture.xml +36 -0
  97. data/spec/fixtures_external/xml/picture_upload.xml +153 -0
  98. data/spec/fixtures_external/xml/placemark.xml +54 -0
  99. data/spec/fixtures_external/xml/placemarks.xml +336 -0
  100. data/spec/fixtures_external/xml/profile.xml +77 -0
  101. data/spec/fixtures_external/xml/profile_link.xml +34 -0
  102. data/spec/fixtures_external/xml/root.xml +12 -0
  103. data/spec/fixtures_external/xml/settings.xml +42 -0
  104. data/spec/fixtures_external/xml/state.xml +19 -0
  105. data/spec/fixtures_external/xml/subscription.xml +76 -0
  106. data/spec/fixtures_external/xml/suggestions.xml +106 -0
  107. data/spec/{fixtures → fixtures_external/xml}/tag.xml +2 -2
  108. data/spec/fixtures_external/xml/user.xml +37 -0
  109. data/spec/fixtures_external/xml/user_recommendation.xml +94 -0
  110. data/spec/fixtures_external/xml/validation_errors.xml +5 -0
  111. data/spec/spec_helper.rb +12 -2
  112. data/spec/tagcrumbs/requestor_spec.rb +2 -2
  113. data/spec/tagcrumbs/resources/array_spec.rb +38 -38
  114. data/spec/tagcrumbs/resources/models/access_token_spec.rb +16 -0
  115. data/spec/tagcrumbs/resources/models/accessors_spec.rb +2 -2
  116. data/spec/tagcrumbs/resources/models/activity_spec.rb +5 -1
  117. data/spec/tagcrumbs/resources/models/address_spec.rb +1 -1
  118. data/spec/tagcrumbs/resources/models/application_spec.rb +17 -0
  119. data/spec/tagcrumbs/resources/models/city_spec.rb +2 -5
  120. data/spec/tagcrumbs/resources/models/comment_spec.rb +8 -2
  121. data/spec/tagcrumbs/resources/models/country_spec.rb +2 -4
  122. data/spec/tagcrumbs/resources/models/email_recommendation_spec.rb +31 -0
  123. data/spec/tagcrumbs/resources/models/fanship_spec.rb +1 -1
  124. data/spec/tagcrumbs/resources/models/favorite_spec.rb +5 -1
  125. data/spec/tagcrumbs/resources/models/filter_spec.rb +3 -4
  126. data/spec/tagcrumbs/resources/models/friendship_spec.rb +1 -1
  127. data/spec/tagcrumbs/resources/models/geoname_spec.rb +1 -1
  128. data/spec/tagcrumbs/resources/models/link_spec.rb +1 -1
  129. data/spec/tagcrumbs/resources/models/location_spec.rb +1 -1
  130. data/spec/tagcrumbs/resources/models/model_spec.rb +20 -3
  131. data/spec/tagcrumbs/resources/models/paragraph_spec.rb +21 -0
  132. data/spec/tagcrumbs/resources/models/picture_spec.rb +13 -21
  133. data/spec/tagcrumbs/resources/models/place_spec.rb +3 -3
  134. data/spec/tagcrumbs/resources/models/placemark_spec.rb +11 -9
  135. data/spec/tagcrumbs/resources/models/profile_link_spec.rb +6 -12
  136. data/spec/tagcrumbs/resources/models/profile_spec.rb +5 -12
  137. data/spec/tagcrumbs/resources/models/root_spec.rb +15 -19
  138. data/spec/tagcrumbs/resources/models/settings_spec.rb +3 -1
  139. data/spec/tagcrumbs/resources/models/state_spec.rb +2 -5
  140. data/spec/tagcrumbs/resources/models/subscription_spec.rb +1 -1
  141. data/spec/tagcrumbs/resources/models/suggestions_spec.rb +7 -7
  142. data/spec/tagcrumbs/resources/models/tag_spec.rb +1 -1
  143. data/spec/tagcrumbs/resources/models/tagcrumb_spec.rb +3 -11
  144. data/spec/tagcrumbs/resources/models/user_recommendation_spec.rb +1 -1
  145. data/spec/tagcrumbs/resources/models/user_spec.rb +35 -27
  146. data/spec/tagcrumbs/resources/resource_spec.rb +3 -3
  147. data/spec/tagcrumbs_spec.rb +7 -7
  148. data/tagcrumbs.gemspec +2 -2
  149. metadata +82 -58
  150. data/examples/tagcrumbs_search.rb +0 -7
  151. data/lib/tagcrumbs/validations.rb +0 -301
  152. data/spec/fixtures/activity.xml +0 -66
  153. data/spec/fixtures/address.xml +0 -58
  154. data/spec/fixtures/city.xml +0 -34
  155. data/spec/fixtures/comment.xml +0 -87
  156. data/spec/fixtures/country.xml +0 -13
  157. data/spec/fixtures/fanship.xml +0 -54
  158. data/spec/fixtures/favorite.xml +0 -109
  159. data/spec/fixtures/filter.xml +0 -80
  160. data/spec/fixtures/friendship.xml +0 -54
  161. data/spec/fixtures/geoname.json +0 -18
  162. data/spec/fixtures/geoname.xml +0 -6
  163. data/spec/fixtures/link.xml +0 -88
  164. data/spec/fixtures/location.xml +0 -71
  165. data/spec/fixtures/picture.json +0 -154
  166. data/spec/fixtures/picture.xml +0 -49
  167. data/spec/fixtures/placemark.xml +0 -58
  168. data/spec/fixtures/placemarks.json +0 -887
  169. data/spec/fixtures/placemarks.xml +0 -348
  170. data/spec/fixtures/profile.xml +0 -100
  171. data/spec/fixtures/profile_link.json +0 -156
  172. data/spec/fixtures/profile_link.xml +0 -49
  173. data/spec/fixtures/root.xml +0 -14
  174. data/spec/fixtures/settings.xml +0 -45
  175. data/spec/fixtures/state.xml +0 -23
  176. data/spec/fixtures/subscription.xml +0 -86
  177. data/spec/fixtures/suggestions.json +0 -1877
  178. data/spec/fixtures/suggestions.xml +0 -724
  179. data/spec/fixtures/user.xml +0 -31
  180. data/spec/fixtures/user_recommendation.xml +0 -106
  181. data/spec/fixtures/validation_errors.json +0 -5
  182. data/spec/fixtures/validation_errors.xml +0 -5
  183. data/spec/tagcrumbs/validations_spec.rb +0 -27
@@ -0,0 +1,851 @@
1
+ {
2
+ "tagcrumbs": {
3
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks.json",
4
+ "total_entries": {
5
+ "@type": "integer",
6
+ "$": 1795
7
+ },
8
+ "sort": {
9
+ "$": "date"
10
+ },
11
+ "@type": "Collection",
12
+ "pages": {
13
+ "@type": "integer",
14
+ "$": 180
15
+ },
16
+ "per_page": {
17
+ "@type": "integer",
18
+ "$": 10
19
+ },
20
+ "next": {
21
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks.json?page=2",
22
+ "@type": "Collection"
23
+ },
24
+ "page": {
25
+ "@type": "integer",
26
+ "$": 1
27
+ },
28
+ "tagcrumb": [
29
+ {
30
+ "tags": {
31
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks/neu-editiert/tags.json",
32
+ "@type": "Collection"
33
+ },
34
+ "city": {
35
+ "name_fr": {
36
+ "$": ""
37
+ },
38
+ "@xlink:href": "http://www.tagcrumbs.com/places/germany/states/land-baden-w%C3%BCrttemberg/cities/stuttgart.json",
39
+ "geoname": {
40
+ "geonameid": {
41
+ "@type": "integer",
42
+ "$": 2825297
43
+ },
44
+ "@xlink:href": "http://www.geonames.org/2825297",
45
+ "longitude": {
46
+ "@type": "float",
47
+ "$": 9.1833333
48
+ },
49
+ "@type": "Geoname",
50
+ "latitude": {
51
+ "@type": "float",
52
+ "$": 48.7666667
53
+ }
54
+ },
55
+ "name_it": {
56
+ "$": ""
57
+ },
58
+ "name": {
59
+ "$": "Stuttgart"
60
+ },
61
+ "@type": "City",
62
+ "name_de": {
63
+ "$": ""
64
+ },
65
+ "name_en": {
66
+ "$": ""
67
+ },
68
+ "name_es": {
69
+ "$": ""
70
+ },
71
+ "state": {
72
+ "name_fr": {
73
+ "$": "Pays de Bade"
74
+ },
75
+ "@xlink:href": "http://www.tagcrumbs.com/places/germany/states/land-baden-w%C3%BCrttemberg.json",
76
+ "geoname": {
77
+ "geonameid": {
78
+ "@type": "integer",
79
+ "$": 2953481
80
+ },
81
+ "@xlink:href": "http://www.geonames.org/2953481",
82
+ "longitude": {
83
+ "@type": "float",
84
+ "$": 9.0
85
+ },
86
+ "@type": "Geoname",
87
+ "latitude": {
88
+ "@type": "float",
89
+ "$": 48.5
90
+ }
91
+ },
92
+ "name_it": {
93
+ "$": null,
94
+ "@nil": true
95
+ },
96
+ "name": {
97
+ "$": "Baden-W\u00fcrttemberg"
98
+ },
99
+ "@type": "State",
100
+ "name_de": {
101
+ "$": "Land Baden-W\u00fcrttemberg"
102
+ },
103
+ "name_en": {
104
+ "$": "Baden-W\u00fcrttemberg"
105
+ },
106
+ "cities": {
107
+ "@xlink:href": "http://www.tagcrumbs.com/places/germany/states/land-baden-w%C3%BCrttemberg/cities.json",
108
+ "@type": "Collection"
109
+ },
110
+ "country": {
111
+ "name_fr": {
112
+ "$": "Allemagne"
113
+ },
114
+ "@xlink:href": "http://www.tagcrumbs.com/places/germany.json",
115
+ "geoname": {
116
+ "geonameid": {
117
+ "@type": "integer",
118
+ "$": 2921044
119
+ },
120
+ "@xlink:href": "http://www.geonames.org/2921044",
121
+ "longitude": {
122
+ "@type": "float",
123
+ "$": 10.5
124
+ },
125
+ "@type": "Geoname",
126
+ "latitude": {
127
+ "@type": "float",
128
+ "$": 51.5
129
+ }
130
+ },
131
+ "name_it": {
132
+ "$": "Germania"
133
+ },
134
+ "name": {
135
+ "$": "Germany"
136
+ },
137
+ "@type": "Country",
138
+ "name_de": {
139
+ "$": "Deutschland"
140
+ },
141
+ "states": {
142
+ "@xlink:href": "http://www.tagcrumbs.com/places/germany/states.json",
143
+ "@type": "Collection"
144
+ },
145
+ "name_es": {
146
+ "$": "Alemania"
147
+ }
148
+ },
149
+ "name_es": {
150
+ "$": "Baden-W\u00fcrttemberg"
151
+ }
152
+ }
153
+ },
154
+ "notes": {
155
+ "$": ""
156
+ },
157
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks/neu-editiert.json",
158
+ "comments": {
159
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks/neu-editiert/comments.json",
160
+ "@type": "Collection"
161
+ },
162
+ "longitude": {
163
+ "@type": "float",
164
+ "$": 9.1833333
165
+ },
166
+ "created_at": {
167
+ "@type": "timestamp",
168
+ "$": "2009-06-05T14:14:56+02:00"
169
+ },
170
+ "user": {
171
+ "tagcrumbs_fans": {
172
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/fans/tagcrumbs.json",
173
+ "@type": "Collection"
174
+ },
175
+ "tags": {
176
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/tags.json",
177
+ "@type": "Collection"
178
+ },
179
+ "activities": {
180
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/activities.json",
181
+ "@type": "Collection"
182
+ },
183
+ "tagcrumbs": {
184
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/tagcrumbs.json",
185
+ "@type": "Collection"
186
+ },
187
+ "profile": {
188
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/profile.json",
189
+ "@type": "Profile"
190
+ },
191
+ "username": {
192
+ "$": "sascha"
193
+ },
194
+ "@xlink:href": "http://www.tagcrumbs.com/sascha.json",
195
+ "places": {
196
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/places.json",
197
+ "@type": "Collection"
198
+ },
199
+ "picture": {
200
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/profile/picture.json",
201
+ "@type": "Picture"
202
+ },
203
+ "fanships": {
204
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/fans.json",
205
+ "@type": "Collection"
206
+ },
207
+ "subscriptions": {
208
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/subscriptions.json",
209
+ "@type": "Collection"
210
+ },
211
+ "settings": {
212
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/settings.json",
213
+ "@type": "Settings"
214
+ },
215
+ "created_at": {
216
+ "@type": "timestamp",
217
+ "$": "2008-06-12T09:34:00+02:00"
218
+ },
219
+ "placemarks": {
220
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks.json",
221
+ "@type": "Collection"
222
+ },
223
+ "recommendations": {
224
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/recommendations.json",
225
+ "@type": "Collection"
226
+ },
227
+ "@type": "User",
228
+ "location": {
229
+ "@xlink:href": "http://www.tagcrumbs.com/location.json",
230
+ "@type": "Location"
231
+ },
232
+ "filters": {
233
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/filters.json",
234
+ "@type": "Collection"
235
+ },
236
+ "tagcrumbs_friends": {
237
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/friends/tagcrumbs.json",
238
+ "@type": "Collection"
239
+ },
240
+ "received_recommendations": {
241
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/received_recommendations.json",
242
+ "@type": "Collection"
243
+ },
244
+ "friendships": {
245
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/friends.json",
246
+ "@type": "Collection"
247
+ },
248
+ "favorites": {
249
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/favorites.json",
250
+ "@type": "Collection"
251
+ },
252
+ "nearby": {
253
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/tagcrumbs/nearby.json"
254
+ }
255
+ },
256
+ "recommendations": {
257
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks/neu-editiert/recommendations.json",
258
+ "@type": "Collection"
259
+ },
260
+ "name": {
261
+ "$": "neu - editiert"
262
+ },
263
+ "@type": "Placemark",
264
+ "links": {
265
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks/neu-editiert/links.json",
266
+ "@type": "Collection"
267
+ },
268
+ "private": {
269
+ "@type": "boolean",
270
+ "$": false
271
+ },
272
+ "flags": {
273
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks/neu-editiert/flags.json",
274
+ "@type": "Collection"
275
+ },
276
+ "address": {
277
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks/neu-editiert/address.json",
278
+ "@type": "Address"
279
+ },
280
+ "short_url": {
281
+ "$": "http://www.tagcrumbs.com/p/YzQ1NWR"
282
+ },
283
+ "updated_at": {
284
+ "@type": "timestamp",
285
+ "$": "2009-06-06T13:23:31+02:00"
286
+ },
287
+ "tag_list": {
288
+ "$": ""
289
+ },
290
+ "favorites_count": {
291
+ "@type": "integer",
292
+ "$": 0
293
+ },
294
+ "latitude": {
295
+ "@type": "float",
296
+ "$": 48.7666667
297
+ }
298
+ },
299
+ {
300
+ "tags": {
301
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks/japan-private/tags.json",
302
+ "@type": "Collection"
303
+ },
304
+ "city": {
305
+ "name_fr": {
306
+ "$": ""
307
+ },
308
+ "@xlink:href": "http://www.tagcrumbs.com/places/japan/states/nagano-ken/cities/matsumoto.json",
309
+ "geoname": {
310
+ "geonameid": {
311
+ "@type": "integer",
312
+ "$": 1857519
313
+ },
314
+ "@xlink:href": "http://www.geonames.org/1857519",
315
+ "longitude": {
316
+ "@type": "float",
317
+ "$": 137.9666667
318
+ },
319
+ "@type": "Geoname",
320
+ "latitude": {
321
+ "@type": "float",
322
+ "$": 36.2333333
323
+ }
324
+ },
325
+ "name_it": {
326
+ "$": ""
327
+ },
328
+ "name": {
329
+ "$": "Matsumoto"
330
+ },
331
+ "@type": "City",
332
+ "name_de": {
333
+ "$": ""
334
+ },
335
+ "name_en": {
336
+ "$": ""
337
+ },
338
+ "name_es": {
339
+ "$": ""
340
+ },
341
+ "state": {
342
+ "name_fr": {
343
+ "$": null,
344
+ "@nil": true
345
+ },
346
+ "@xlink:href": "http://www.tagcrumbs.com/places/japan/states/nagano-ken.json",
347
+ "geoname": {
348
+ "geonameid": {
349
+ "@type": "integer",
350
+ "$": 1856210
351
+ },
352
+ "@xlink:href": "http://www.geonames.org/1856210",
353
+ "longitude": {
354
+ "@type": "float",
355
+ "$": 138.0
356
+ },
357
+ "@type": "Geoname",
358
+ "latitude": {
359
+ "@type": "float",
360
+ "$": 36.0
361
+ }
362
+ },
363
+ "name_it": {
364
+ "$": null,
365
+ "@nil": true
366
+ },
367
+ "name": {
368
+ "$": "Nagano-ken"
369
+ },
370
+ "@type": "State",
371
+ "name_de": {
372
+ "$": null,
373
+ "@nil": true
374
+ },
375
+ "name_en": {
376
+ "$": null,
377
+ "@nil": true
378
+ },
379
+ "cities": {
380
+ "@xlink:href": "http://www.tagcrumbs.com/places/japan/states/nagano-ken/cities.json",
381
+ "@type": "Collection"
382
+ },
383
+ "country": {
384
+ "name_fr": {
385
+ "$": "Japon"
386
+ },
387
+ "@xlink:href": "http://www.tagcrumbs.com/places/japan.json",
388
+ "geoname": {
389
+ "geonameid": {
390
+ "@type": "integer",
391
+ "$": 1861060
392
+ },
393
+ "@xlink:href": "http://www.geonames.org/1861060",
394
+ "longitude": {
395
+ "@type": "float",
396
+ "$": 139.753088951111
397
+ },
398
+ "@type": "Geoname",
399
+ "latitude": {
400
+ "@type": "float",
401
+ "$": 35.6853569043379
402
+ }
403
+ },
404
+ "name_it": {
405
+ "$": "Giappone"
406
+ },
407
+ "name": {
408
+ "$": "Japan"
409
+ },
410
+ "@type": "Country",
411
+ "name_de": {
412
+ "$": "Japan"
413
+ },
414
+ "states": {
415
+ "@xlink:href": "http://www.tagcrumbs.com/places/japan/states.json",
416
+ "@type": "Collection"
417
+ },
418
+ "name_es": {
419
+ "$": "Jap\u00f3n"
420
+ }
421
+ },
422
+ "name_es": {
423
+ "$": null,
424
+ "@nil": true
425
+ }
426
+ }
427
+ },
428
+ "notes": {
429
+ "$": "asdf"
430
+ },
431
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks/japan-private.json",
432
+ "comments": {
433
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks/japan-private/comments.json",
434
+ "@type": "Collection"
435
+ },
436
+ "longitude": {
437
+ "@type": "float",
438
+ "$": 138.087158203125
439
+ },
440
+ "created_at": {
441
+ "@type": "timestamp",
442
+ "$": "2009-06-05T14:14:09+02:00"
443
+ },
444
+ "user": {
445
+ "tagcrumbs_fans": {
446
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/fans/tagcrumbs.json",
447
+ "@type": "Collection"
448
+ },
449
+ "tags": {
450
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/tags.json",
451
+ "@type": "Collection"
452
+ },
453
+ "activities": {
454
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/activities.json",
455
+ "@type": "Collection"
456
+ },
457
+ "tagcrumbs": {
458
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/tagcrumbs.json",
459
+ "@type": "Collection"
460
+ },
461
+ "profile": {
462
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/profile.json",
463
+ "@type": "Profile"
464
+ },
465
+ "username": {
466
+ "$": "sascha"
467
+ },
468
+ "@xlink:href": "http://www.tagcrumbs.com/sascha.json",
469
+ "places": {
470
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/places.json",
471
+ "@type": "Collection"
472
+ },
473
+ "picture": {
474
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/profile/picture.json",
475
+ "@type": "Picture"
476
+ },
477
+ "fanships": {
478
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/fans.json",
479
+ "@type": "Collection"
480
+ },
481
+ "subscriptions": {
482
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/subscriptions.json",
483
+ "@type": "Collection"
484
+ },
485
+ "settings": {
486
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/settings.json",
487
+ "@type": "Settings"
488
+ },
489
+ "created_at": {
490
+ "@type": "timestamp",
491
+ "$": "2008-06-12T09:34:00+02:00"
492
+ },
493
+ "placemarks": {
494
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks.json",
495
+ "@type": "Collection"
496
+ },
497
+ "recommendations": {
498
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/recommendations.json",
499
+ "@type": "Collection"
500
+ },
501
+ "@type": "User",
502
+ "location": {
503
+ "@xlink:href": "http://www.tagcrumbs.com/location.json",
504
+ "@type": "Location"
505
+ },
506
+ "filters": {
507
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/filters.json",
508
+ "@type": "Collection"
509
+ },
510
+ "tagcrumbs_friends": {
511
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/friends/tagcrumbs.json",
512
+ "@type": "Collection"
513
+ },
514
+ "received_recommendations": {
515
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/received_recommendations.json",
516
+ "@type": "Collection"
517
+ },
518
+ "friendships": {
519
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/friends.json",
520
+ "@type": "Collection"
521
+ },
522
+ "favorites": {
523
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/favorites.json",
524
+ "@type": "Collection"
525
+ },
526
+ "nearby": {
527
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/tagcrumbs/nearby.json"
528
+ }
529
+ },
530
+ "recommendations": {
531
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks/japan-private/recommendations.json",
532
+ "@type": "Collection"
533
+ },
534
+ "name": {
535
+ "$": "japan private"
536
+ },
537
+ "@type": "Placemark",
538
+ "links": {
539
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks/japan-private/links.json",
540
+ "@type": "Collection"
541
+ },
542
+ "private": {
543
+ "@type": "boolean",
544
+ "$": true
545
+ },
546
+ "flags": {
547
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks/japan-private/flags.json",
548
+ "@type": "Collection"
549
+ },
550
+ "address": {
551
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks/japan-private/address.json",
552
+ "@type": "Address"
553
+ },
554
+ "short_url": {
555
+ "$": "http://www.tagcrumbs.com/p/NDM2MDI"
556
+ },
557
+ "updated_at": {
558
+ "@type": "timestamp",
559
+ "$": "2009-06-05T14:14:09+02:00"
560
+ },
561
+ "tag_list": {
562
+ "$": ""
563
+ },
564
+ "favorites_count": {
565
+ "@type": "integer",
566
+ "$": 0
567
+ },
568
+ "latitude": {
569
+ "@type": "float",
570
+ "$": 36.1822249804225
571
+ }
572
+ },
573
+ {
574
+ "tags": {
575
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks/qweqwe-4/tags.json",
576
+ "@type": "Collection"
577
+ },
578
+ "city": {
579
+ "name_fr": {
580
+ "$": ""
581
+ },
582
+ "@xlink:href": "http://www.tagcrumbs.com/places/united-states/states/california/cities/san-francisco.json",
583
+ "geoname": {
584
+ "geonameid": {
585
+ "@type": "integer",
586
+ "$": 5391959
587
+ },
588
+ "@xlink:href": "http://www.geonames.org/5391959",
589
+ "longitude": {
590
+ "@type": "float",
591
+ "$": -122.4194155
592
+ },
593
+ "@type": "Geoname",
594
+ "latitude": {
595
+ "@type": "float",
596
+ "$": 37.7749295
597
+ }
598
+ },
599
+ "name_it": {
600
+ "$": ""
601
+ },
602
+ "name": {
603
+ "$": "San Francisco"
604
+ },
605
+ "@type": "City",
606
+ "name_de": {
607
+ "$": ""
608
+ },
609
+ "name_en": {
610
+ "$": "San Francisco"
611
+ },
612
+ "name_es": {
613
+ "$": ""
614
+ },
615
+ "state": {
616
+ "name_fr": {
617
+ "$": null,
618
+ "@nil": true
619
+ },
620
+ "@xlink:href": "http://www.tagcrumbs.com/places/united-states/states/california.json",
621
+ "geoname": {
622
+ "geonameid": {
623
+ "@type": "integer",
624
+ "$": 5332921
625
+ },
626
+ "@xlink:href": "http://www.geonames.org/5332921",
627
+ "longitude": {
628
+ "@type": "float",
629
+ "$": -119.7512643
630
+ },
631
+ "@type": "Geoname",
632
+ "latitude": {
633
+ "@type": "float",
634
+ "$": 37.2502247
635
+ }
636
+ },
637
+ "name_it": {
638
+ "$": null,
639
+ "@nil": true
640
+ },
641
+ "name": {
642
+ "$": "California"
643
+ },
644
+ "@type": "State",
645
+ "name_de": {
646
+ "$": "Kalifornien"
647
+ },
648
+ "name_en": {
649
+ "$": "California"
650
+ },
651
+ "cities": {
652
+ "@xlink:href": "http://www.tagcrumbs.com/places/united-states/states/california/cities.json",
653
+ "@type": "Collection"
654
+ },
655
+ "country": {
656
+ "name_fr": {
657
+ "$": "\u00c9tats-Unis"
658
+ },
659
+ "@xlink:href": "http://www.tagcrumbs.com/places/united-states.json",
660
+ "geoname": {
661
+ "geonameid": {
662
+ "@type": "integer",
663
+ "$": 6252001
664
+ },
665
+ "@xlink:href": "http://www.geonames.org/6252001",
666
+ "longitude": {
667
+ "@type": "float",
668
+ "$": -98.5
669
+ },
670
+ "@type": "Geoname",
671
+ "latitude": {
672
+ "@type": "float",
673
+ "$": 39.76
674
+ }
675
+ },
676
+ "name_it": {
677
+ "$": "Stati Uniti"
678
+ },
679
+ "name": {
680
+ "$": "United States"
681
+ },
682
+ "@type": "Country",
683
+ "name_de": {
684
+ "$": "USA"
685
+ },
686
+ "states": {
687
+ "@xlink:href": "http://www.tagcrumbs.com/places/united-states/states.json",
688
+ "@type": "Collection"
689
+ },
690
+ "name_es": {
691
+ "$": "Estados Unidos"
692
+ }
693
+ },
694
+ "name_es": {
695
+ "$": "California"
696
+ }
697
+ }
698
+ },
699
+ "notes": {
700
+ "$": ""
701
+ },
702
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks/qweqwe-4.json",
703
+ "comments": {
704
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks/qweqwe-4/comments.json",
705
+ "@type": "Collection"
706
+ },
707
+ "longitude": {
708
+ "@type": "float",
709
+ "$": -122.419204
710
+ },
711
+ "created_at": {
712
+ "@type": "timestamp",
713
+ "$": "2009-05-25T23:41:39+02:00"
714
+ },
715
+ "user": {
716
+ "tagcrumbs_fans": {
717
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/fans/tagcrumbs.json",
718
+ "@type": "Collection"
719
+ },
720
+ "tags": {
721
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/tags.json",
722
+ "@type": "Collection"
723
+ },
724
+ "activities": {
725
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/activities.json",
726
+ "@type": "Collection"
727
+ },
728
+ "tagcrumbs": {
729
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/tagcrumbs.json",
730
+ "@type": "Collection"
731
+ },
732
+ "profile": {
733
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/profile.json",
734
+ "@type": "Profile"
735
+ },
736
+ "username": {
737
+ "$": "sascha"
738
+ },
739
+ "@xlink:href": "http://www.tagcrumbs.com/sascha.json",
740
+ "places": {
741
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/places.json",
742
+ "@type": "Collection"
743
+ },
744
+ "picture": {
745
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/profile/picture.json",
746
+ "@type": "Picture"
747
+ },
748
+ "fanships": {
749
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/fans.json",
750
+ "@type": "Collection"
751
+ },
752
+ "subscriptions": {
753
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/subscriptions.json",
754
+ "@type": "Collection"
755
+ },
756
+ "settings": {
757
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/settings.json",
758
+ "@type": "Settings"
759
+ },
760
+ "created_at": {
761
+ "@type": "timestamp",
762
+ "$": "2008-06-12T09:34:00+02:00"
763
+ },
764
+ "placemarks": {
765
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks.json",
766
+ "@type": "Collection"
767
+ },
768
+ "recommendations": {
769
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/recommendations.json",
770
+ "@type": "Collection"
771
+ },
772
+ "@type": "User",
773
+ "location": {
774
+ "@xlink:href": "http://www.tagcrumbs.com/location.json",
775
+ "@type": "Location"
776
+ },
777
+ "filters": {
778
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/filters.json",
779
+ "@type": "Collection"
780
+ },
781
+ "tagcrumbs_friends": {
782
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/friends/tagcrumbs.json",
783
+ "@type": "Collection"
784
+ },
785
+ "received_recommendations": {
786
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/received_recommendations.json",
787
+ "@type": "Collection"
788
+ },
789
+ "friendships": {
790
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/friends.json",
791
+ "@type": "Collection"
792
+ },
793
+ "favorites": {
794
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/favorites.json",
795
+ "@type": "Collection"
796
+ },
797
+ "nearby": {
798
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/tagcrumbs/nearby.json"
799
+ }
800
+ },
801
+ "recommendations": {
802
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks/qweqwe-4/recommendations.json",
803
+ "@type": "Collection"
804
+ },
805
+ "name": {
806
+ "$": "qweqwe"
807
+ },
808
+ "@type": "Placemark",
809
+ "links": {
810
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks/qweqwe-4/links.json",
811
+ "@type": "Collection"
812
+ },
813
+ "private": {
814
+ "@type": "boolean",
815
+ "$": false
816
+ },
817
+ "flags": {
818
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks/qweqwe-4/flags.json",
819
+ "@type": "Collection"
820
+ },
821
+ "address": {
822
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks/qweqwe-4/address.json",
823
+ "@type": "Address"
824
+ },
825
+ "short_url": {
826
+ "$": "http://www.tagcrumbs.com/p/NThhYjU"
827
+ },
828
+ "updated_at": {
829
+ "@type": "timestamp",
830
+ "$": "2009-05-25T23:41:39+02:00"
831
+ },
832
+ "tag_list": {
833
+ "$": ""
834
+ },
835
+ "favorites_count": {
836
+ "@type": "integer",
837
+ "$": 0
838
+ },
839
+ "latitude": {
840
+ "@type": "float",
841
+ "$": 37.775196
842
+ }
843
+ }
844
+ ],
845
+ "order":
846
+ {
847
+ "$": "desc"
848
+ }
849
+
850
+ }
851
+ }