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