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
@@ -1,58 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <tagcrumb type="Placemark" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.tagcrumbs.com/sascha/placemarks/placemark-name.xml">
3
- <name>PLACEMARK NAME</name>
4
- <notes>PLACEMARK NOTES</notes>
5
- <tag_list>tag1, tag2</tag_list>
6
- <latitude type="float">9.0</latitude>
7
- <longitude type="float">10.0</longitude>
8
-
9
- <permalink>placemark-name</permalink>
10
- <favorites_count type="integer">0</favorites_count>
11
- <short_url>http://www.tagcrumbs.com/p/ZmE5ZmR</short_url>
12
- <created_at type="timestamp">2009-06-07T13:52:10+02:00</created_at>
13
- <updated_at type="timestamp">2009-06-07T16:43:23+02:00</updated_at>
14
- <private type="boolean">false</private>
15
-
16
- <address type="Address" xlink:href="http://www.tagcrumbs.com/sascha/placemarks/placemark-name/address.xml">
17
- <street_address>STREET ADDRESS</street_address>
18
- <postal_code>POSTAL CODE</postal_code>
19
- <city>CITY</city>
20
- <state>STATE</state>
21
- <country>COUNTRY</country>
22
- <tagcrumb type="Placemark" xlink:href="http://www.tagcrumbs.com/sascha/placemarks/placemark-name.xml"/>
23
- </address>
24
- <links type="array" xlink:href="http://www.tagcrumbs.com/sascha/placemarks/placemark-name/links.xml"/>
25
-
26
- <recommendations type="array" xlink:href="http://www.tagcrumbs.com/sascha/placemarks/placemark-name/recommendations.xml"/>
27
- <comments type="array" xlink:href="http://www.tagcrumbs.com/sascha/placemarks/placemark-name/comments.xml"/>
28
- <user type="User" xlink:href="http://www.tagcrumbs.com/sascha.xml">
29
- <username>sascha</username>
30
- <created_at type="timestamp">2008-06-12T09:34:00+02:00</created_at>
31
- <profile type="Profile" xlink:href="http://www.tagcrumbs.com/sascha/profile.xml"/>
32
- <settings type="Settings" xlink:href="http://www.tagcrumbs.com/sascha/settings.xml"/>
33
- <location type="Location" xlink:href="http://www.tagcrumbs.com/location.xml"/>
34
-
35
- <suggestions type="Suggestions" xlink:href="http://www.tagcrumbs.com/sascha/tagcrumbs/suggestions.xml"/>
36
- <filters type="array" xlink:href="http://www.tagcrumbs.com/sascha/filters.xml"/>
37
- <links type="array" xlink:href="http://www.tagcrumbs.com/sascha/links.xml"/>
38
- <comments type="array" xlink:href="http://www.tagcrumbs.com/sascha/comments.xml"/>
39
- <flags type="array" xlink:href="http://www.tagcrumbs.com/sascha/flags.xml"/>
40
- <recommendations type="array" xlink:href="http://www.tagcrumbs.com/sascha/recommendations.xml"/>
41
- <received_recommendations type="array" xlink:href="http://www.tagcrumbs.com/sascha/recommendations/received.xml"/>
42
- <subscriptions type="array" xlink:href="http://www.tagcrumbs.com/sascha/subscriptions.xml"/>
43
- <picture type="Picture" xlink:href="http://www.tagcrumbs.com/sascha/profile/picture.xml"/>
44
-
45
- <profile_links type="array" xlink:href="http://www.tagcrumbs.com/sascha/profile/links.xml"/>
46
- <tagcrumbs type="array" xlink:href="http://www.tagcrumbs.com/sascha/tagcrumbs.xml"/>
47
- <placemarks type="array" xlink:href="http://www.tagcrumbs.com/sascha/placemarks.xml"/>
48
- <favorites type="array" xlink:href="http://www.tagcrumbs.com/sascha/favorites.xml"/>
49
- <activities type="array" xlink:href="http://www.tagcrumbs.com/sascha/activities.xml"/>
50
- <tags type="array" xlink:href="http://www.tagcrumbs.com/sascha/tags.xml"/>
51
- <places type="array" xlink:href="http://www.tagcrumbs.com/sascha/places.xml"/>
52
- <friendships type="array" xlink:href="http://www.tagcrumbs.com/sascha/friends.xml"/>
53
- <fanships type="array" xlink:href="http://www.tagcrumbs.com/sascha/fans.xml"/>
54
-
55
- <tagcrumbs_friends type="array" xlink:href="http://www.tagcrumbs.com/sascha/friends/tagcrumbs.xml"/>
56
- <tagcrumbs_fans type="array" xlink:href="http://www.tagcrumbs.com/sascha/fans/tagcrumbs.xml"/>
57
- </user>
58
- </tagcrumb>
@@ -1,887 +0,0 @@
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
- }