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
@@ -8,23 +8,23 @@
8
8
  "user": {
9
9
  "tagcrumbs_fans": {
10
10
  "@xlink:href": "http://www.tagcrumbs.com/sascha/fans/tagcrumbs.json",
11
- "@type": "array"
11
+ "@type": "Collection"
12
12
  },
13
13
  "tags": {
14
14
  "@xlink:href": "http://www.tagcrumbs.com/sascha/tags.json",
15
- "@type": "array"
15
+ "@type": "Collection"
16
16
  },
17
17
  "activities": {
18
18
  "@xlink:href": "http://www.tagcrumbs.com/sascha/activities.json",
19
- "@type": "array"
19
+ "@type": "Collection"
20
20
  },
21
21
  "tagcrumbs": {
22
22
  "@xlink:href": "http://www.tagcrumbs.com/sascha/tagcrumbs.json",
23
- "@type": "array"
23
+ "@type": "Collection"
24
24
  },
25
25
  "subscriptions": {
26
26
  "@xlink:href": "http://www.tagcrumbs.com/sascha/subscriptions.json",
27
- "@type": "array"
27
+ "@type": "Collection"
28
28
  },
29
29
  "profile": {
30
30
  "@xlink:href": "http://www.tagcrumbs.com/sascha/profile.json",
@@ -36,7 +36,7 @@
36
36
  "@xlink:href": "http://www.tagcrumbs.com/sascha.json",
37
37
  "places": {
38
38
  "@xlink:href": "http://www.tagcrumbs.com/sascha/places.json",
39
- "@type": "array"
39
+ "@type": "Collection"
40
40
  },
41
41
  "picture": {
42
42
  "@xlink:href": "http://www.tagcrumbs.com/sascha/profile/picture.json",
@@ -44,15 +44,15 @@
44
44
  },
45
45
  "comments": {
46
46
  "@xlink:href": "http://www.tagcrumbs.com/sascha/comments.json",
47
- "@type": "array"
47
+ "@type": "Collection"
48
48
  },
49
49
  "fanships": {
50
50
  "@xlink:href": "http://www.tagcrumbs.com/sascha/fans.json",
51
- "@type": "array"
51
+ "@type": "Collection"
52
52
  },
53
53
  "favorites": {
54
54
  "@xlink:href": "http://www.tagcrumbs.com/sascha/favorites.json",
55
- "@type": "array"
55
+ "@type": "Collection"
56
56
  },
57
57
  "settings": {
58
58
  "@xlink:href": "http://www.tagcrumbs.com/sascha/settings.json",
@@ -64,16 +64,16 @@
64
64
  },
65
65
  "placemarks": {
66
66
  "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks.json",
67
- "@type": "array"
67
+ "@type": "Collection"
68
68
  },
69
69
  "@type": "User",
70
70
  "profile_links": {
71
71
  "@xlink:href": "http://www.tagcrumbs.com/sascha/profile/links.json",
72
- "@type": "array"
72
+ "@type": "Collection"
73
73
  },
74
74
  "links": {
75
75
  "@xlink:href": "http://www.tagcrumbs.com/sascha/links.json",
76
- "@type": "array"
76
+ "@type": "Collection"
77
77
  },
78
78
  "suggestions": {
79
79
  "@xlink:href": "http://www.tagcrumbs.com/sascha/tagcrumbs/suggestions.json",
@@ -85,46 +85,46 @@
85
85
  },
86
86
  "flags": {
87
87
  "@xlink:href": "http://www.tagcrumbs.com/sascha/flags.json",
88
- "@type": "array"
88
+ "@type": "Collection"
89
89
  },
90
90
  "filters": {
91
91
  "@xlink:href": "http://www.tagcrumbs.com/sascha/filters.json",
92
- "@type": "array"
92
+ "@type": "Collection"
93
93
  },
94
94
  "tagcrumbs_friends": {
95
95
  "@xlink:href": "http://www.tagcrumbs.com/sascha/friends/tagcrumbs.json",
96
- "@type": "array"
96
+ "@type": "Collection"
97
97
  },
98
98
  "received_recommendations": {
99
- "@xlink:href": "http://www.tagcrumbs.com/sascha/recommendations/received.json",
100
- "@type": "array"
99
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/received_recommendations.json",
100
+ "@type": "Collection"
101
101
  },
102
102
  "recommendations": {
103
103
  "@xlink:href": "http://www.tagcrumbs.com/sascha/recommendations.json",
104
- "@type": "array"
104
+ "@type": "Collection"
105
105
  },
106
106
  "friendships": {
107
107
  "@xlink:href": "http://www.tagcrumbs.com/sascha/friends.json",
108
- "@type": "array"
108
+ "@type": "Collection"
109
109
  }
110
110
  },
111
111
  "@type": "Fanship",
112
112
  "fan": {
113
113
  "tagcrumbs_fans": {
114
114
  "@xlink:href": "http://www.tagcrumbs.com/peter/fans/tagcrumbs.json",
115
- "@type": "array"
115
+ "@type": "Collection"
116
116
  },
117
117
  "tags": {
118
118
  "@xlink:href": "http://www.tagcrumbs.com/peter/tags.json",
119
- "@type": "array"
119
+ "@type": "Collection"
120
120
  },
121
121
  "activities": {
122
122
  "@xlink:href": "http://www.tagcrumbs.com/peter/activities.json",
123
- "@type": "array"
123
+ "@type": "Collection"
124
124
  },
125
125
  "tagcrumbs": {
126
126
  "@xlink:href": "http://www.tagcrumbs.com/peter/tagcrumbs.json",
127
- "@type": "array"
127
+ "@type": "Collection"
128
128
  },
129
129
  "profile": {
130
130
  "@xlink:href": "http://www.tagcrumbs.com/peter/profile.json",
@@ -136,7 +136,7 @@
136
136
  "@xlink:href": "http://www.tagcrumbs.com/peter.json",
137
137
  "places": {
138
138
  "@xlink:href": "http://www.tagcrumbs.com/peter/places.json",
139
- "@type": "array"
139
+ "@type": "Collection"
140
140
  },
141
141
  "picture": {
142
142
  "@xlink:href": "http://www.tagcrumbs.com/peter/profile/picture.json",
@@ -144,11 +144,11 @@
144
144
  },
145
145
  "fanships": {
146
146
  "@xlink:href": "http://www.tagcrumbs.com/peter/fans.json",
147
- "@type": "array"
147
+ "@type": "Collection"
148
148
  },
149
149
  "favorites": {
150
150
  "@xlink:href": "http://www.tagcrumbs.com/peter/favorites.json",
151
- "@type": "array"
151
+ "@type": "Collection"
152
152
  },
153
153
  "created_at": {
154
154
  "@type": "timestamp",
@@ -156,20 +156,20 @@
156
156
  },
157
157
  "placemarks": {
158
158
  "@xlink:href": "http://www.tagcrumbs.com/peter/placemarks.json",
159
- "@type": "array"
159
+ "@type": "Collection"
160
160
  },
161
161
  "@type": "User",
162
162
  "profile_links": {
163
163
  "@xlink:href": "http://www.tagcrumbs.com/peter/profile/links.json",
164
- "@type": "array"
164
+ "@type": "Collection"
165
165
  },
166
166
  "tagcrumbs_friends": {
167
167
  "@xlink:href": "http://www.tagcrumbs.com/peter/friends/tagcrumbs.json",
168
- "@type": "array"
168
+ "@type": "Collection"
169
169
  },
170
170
  "friendships": {
171
171
  "@xlink:href": "http://www.tagcrumbs.com/peter/friends.json",
172
- "@type": "array"
172
+ "@type": "Collection"
173
173
  }
174
174
  },
175
175
  "updated_at": {
@@ -24,9 +24,6 @@
24
24
  "$": 48.7
25
25
  }
26
26
  },
27
- "permalink": {
28
- "$": "stammheim"
29
- },
30
27
  "name": {
31
28
  "$": "Stammheim"
32
29
  },
@@ -49,16 +46,13 @@
49
46
  "$": 48.5
50
47
  }
51
48
  },
52
- "permalink": {
53
- "$": "land-baden-w\u00fcrttemberg"
54
- },
55
49
  "name": {
56
50
  "$": "Land Baden-W\u00fcrttemberg"
57
51
  },
58
52
  "@type": "State",
59
53
  "cities": {
60
54
  "@xlink:href": "http://www.tagcrumbs.com/places/germany/states/land-baden-w%C3%BCrttemberg/cities.json",
61
- "@type": "array"
55
+ "@type": "Collection"
62
56
  },
63
57
  "country": {
64
58
  "@xlink:href": "http://www.tagcrumbs.com/places/germany.json",
@@ -78,16 +72,13 @@
78
72
  "$": 51.5
79
73
  }
80
74
  },
81
- "permalink": {
82
- "$": "germany"
83
- },
84
75
  "name": {
85
76
  "$": "Deutschland"
86
77
  },
87
78
  "@type": "Country",
88
79
  "states": {
89
80
  "@xlink:href": "http://www.tagcrumbs.com/places/germany/states.json",
90
- "@type": "array"
81
+ "@type": "Collection"
91
82
  }
92
83
  }
93
84
  }
@@ -95,7 +86,7 @@
95
86
  "@xlink:href": "http://www.tagcrumbs.com/peter/placemarks/placemark-name-2.json",
96
87
  "comments": {
97
88
  "@xlink:href": "http://www.tagcrumbs.com/peter/placemarks/placemark-name-2/comments.json",
98
- "@type": "array"
89
+ "@type": "Collection"
99
90
  },
100
91
  "longitude": {
101
92
  "@type": "float",
@@ -105,28 +96,25 @@
105
96
  "@type": "timestamp",
106
97
  "$": "2009-03-04T11:29:20+01:00"
107
98
  },
108
- "permalink": {
109
- "$": "placemark-name-2"
110
- },
111
99
  "notes": {
112
100
  "$": "PLACEMARK NOTES 2"
113
101
  },
114
102
  "user": {
115
103
  "tagcrumbs_fans": {
116
104
  "@xlink:href": "http://www.tagcrumbs.com/peter/fans/tagcrumbs.json",
117
- "@type": "array"
105
+ "@type": "Collection"
118
106
  },
119
107
  "tags": {
120
108
  "@xlink:href": "http://www.tagcrumbs.com/peter/tags.json",
121
- "@type": "array"
109
+ "@type": "Collection"
122
110
  },
123
111
  "activities": {
124
112
  "@xlink:href": "http://www.tagcrumbs.com/peter/activities.json",
125
- "@type": "array"
113
+ "@type": "Collection"
126
114
  },
127
115
  "tagcrumbs": {
128
116
  "@xlink:href": "http://www.tagcrumbs.com/peter/tagcrumbs.json",
129
- "@type": "array"
117
+ "@type": "Collection"
130
118
  },
131
119
  "profile": {
132
120
  "@xlink:href": "http://www.tagcrumbs.com/peter/profile.json",
@@ -138,7 +126,7 @@
138
126
  "@xlink:href": "http://www.tagcrumbs.com/peter.json",
139
127
  "places": {
140
128
  "@xlink:href": "http://www.tagcrumbs.com/peter/places.json",
141
- "@type": "array"
129
+ "@type": "Collection"
142
130
  },
143
131
  "picture": {
144
132
  "@xlink:href": "http://www.tagcrumbs.com/peter/profile/picture.json",
@@ -146,11 +134,11 @@
146
134
  },
147
135
  "fanships": {
148
136
  "@xlink:href": "http://www.tagcrumbs.com/peter/fans.json",
149
- "@type": "array"
137
+ "@type": "Collection"
150
138
  },
151
139
  "favorites": {
152
140
  "@xlink:href": "http://www.tagcrumbs.com/peter/favorites.json",
153
- "@type": "array"
141
+ "@type": "Collection"
154
142
  },
155
143
  "created_at": {
156
144
  "@type": "timestamp",
@@ -158,20 +146,20 @@
158
146
  },
159
147
  "placemarks": {
160
148
  "@xlink:href": "http://www.tagcrumbs.com/peter/placemarks.json",
161
- "@type": "array"
149
+ "@type": "Collection"
162
150
  },
163
151
  "@type": "User",
164
152
  "profile_links": {
165
153
  "@xlink:href": "http://www.tagcrumbs.com/peter/profile/links.json",
166
- "@type": "array"
154
+ "@type": "Collection"
167
155
  },
168
156
  "tagcrumbs_friends": {
169
157
  "@xlink:href": "http://www.tagcrumbs.com/peter/friends/tagcrumbs.json",
170
- "@type": "array"
158
+ "@type": "Collection"
171
159
  },
172
160
  "friendships": {
173
161
  "@xlink:href": "http://www.tagcrumbs.com/peter/friends.json",
174
- "@type": "array"
162
+ "@type": "Collection"
175
163
  }
176
164
  },
177
165
  "name": {
@@ -180,7 +168,7 @@
180
168
  "@type": "Placemark",
181
169
  "links": {
182
170
  "@xlink:href": "http://www.tagcrumbs.com/peter/placemarks/placemark-name-2/links.json",
183
- "@type": "array"
171
+ "@type": "Collection"
184
172
  },
185
173
  "private": {
186
174
  "@type": "boolean",
@@ -195,7 +183,7 @@
195
183
  },
196
184
  "recommendations": {
197
185
  "@xlink:href": "http://www.tagcrumbs.com/peter/placemarks/placemark-name-2/recommendations.json",
198
- "@type": "array"
186
+ "@type": "Collection"
199
187
  },
200
188
  "updated_at": {
201
189
  "@type": "timestamp",
@@ -213,26 +201,36 @@
213
201
  "@type": "timestamp",
214
202
  "$": "2009-06-07T16:57:07+02:00"
215
203
  },
204
+ "application": {
205
+ "@xlink:href": "http://www.tagcrumbs.com/applications/3.json",
206
+ "name": {
207
+ "$": "Tagcrumbs Gem"
208
+ },
209
+ "@type": "Application",
210
+ "url": {
211
+ "$": "http://www.tagcrumbs.com"
212
+ }
213
+ },
216
214
  "user": {
217
215
  "tagcrumbs_fans": {
218
216
  "@xlink:href": "http://www.tagcrumbs.com/sascha/fans/tagcrumbs.json",
219
- "@type": "array"
217
+ "@type": "Collection"
220
218
  },
221
219
  "tags": {
222
220
  "@xlink:href": "http://www.tagcrumbs.com/sascha/tags.json",
223
- "@type": "array"
221
+ "@type": "Collection"
224
222
  },
225
223
  "activities": {
226
224
  "@xlink:href": "http://www.tagcrumbs.com/sascha/activities.json",
227
- "@type": "array"
225
+ "@type": "Collection"
228
226
  },
229
227
  "tagcrumbs": {
230
228
  "@xlink:href": "http://www.tagcrumbs.com/sascha/tagcrumbs.json",
231
- "@type": "array"
229
+ "@type": "Collection"
232
230
  },
233
231
  "subscriptions": {
234
232
  "@xlink:href": "http://www.tagcrumbs.com/sascha/subscriptions.json",
235
- "@type": "array"
233
+ "@type": "Collection"
236
234
  },
237
235
  "profile": {
238
236
  "@xlink:href": "http://www.tagcrumbs.com/sascha/profile.json",
@@ -244,7 +242,7 @@
244
242
  "@xlink:href": "http://www.tagcrumbs.com/sascha.json",
245
243
  "places": {
246
244
  "@xlink:href": "http://www.tagcrumbs.com/sascha/places.json",
247
- "@type": "array"
245
+ "@type": "Collection"
248
246
  },
249
247
  "picture": {
250
248
  "@xlink:href": "http://www.tagcrumbs.com/sascha/profile/picture.json",
@@ -252,15 +250,15 @@
252
250
  },
253
251
  "comments": {
254
252
  "@xlink:href": "http://www.tagcrumbs.com/sascha/comments.json",
255
- "@type": "array"
253
+ "@type": "Collection"
256
254
  },
257
255
  "fanships": {
258
256
  "@xlink:href": "http://www.tagcrumbs.com/sascha/fans.json",
259
- "@type": "array"
257
+ "@type": "Collection"
260
258
  },
261
259
  "favorites": {
262
260
  "@xlink:href": "http://www.tagcrumbs.com/sascha/favorites.json",
263
- "@type": "array"
261
+ "@type": "Collection"
264
262
  },
265
263
  "settings": {
266
264
  "@xlink:href": "http://www.tagcrumbs.com/sascha/settings.json",
@@ -272,16 +270,16 @@
272
270
  },
273
271
  "placemarks": {
274
272
  "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks.json",
275
- "@type": "array"
273
+ "@type": "Collection"
276
274
  },
277
275
  "@type": "User",
278
276
  "profile_links": {
279
277
  "@xlink:href": "http://www.tagcrumbs.com/sascha/profile/links.json",
280
- "@type": "array"
278
+ "@type": "Collection"
281
279
  },
282
280
  "links": {
283
281
  "@xlink:href": "http://www.tagcrumbs.com/sascha/links.json",
284
- "@type": "array"
282
+ "@type": "Collection"
285
283
  },
286
284
  "suggestions": {
287
285
  "@xlink:href": "http://www.tagcrumbs.com/sascha/tagcrumbs/suggestions.json",
@@ -293,27 +291,27 @@
293
291
  },
294
292
  "flags": {
295
293
  "@xlink:href": "http://www.tagcrumbs.com/sascha/flags.json",
296
- "@type": "array"
294
+ "@type": "Collection"
297
295
  },
298
296
  "filters": {
299
297
  "@xlink:href": "http://www.tagcrumbs.com/sascha/filters.json",
300
- "@type": "array"
298
+ "@type": "Collection"
301
299
  },
302
300
  "tagcrumbs_friends": {
303
301
  "@xlink:href": "http://www.tagcrumbs.com/sascha/friends/tagcrumbs.json",
304
- "@type": "array"
302
+ "@type": "Collection"
305
303
  },
306
304
  "received_recommendations": {
307
- "@xlink:href": "http://www.tagcrumbs.com/sascha/recommendations/received.json",
308
- "@type": "array"
305
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/received_recommendations.json",
306
+ "@type": "Collection"
309
307
  },
310
308
  "recommendations": {
311
309
  "@xlink:href": "http://www.tagcrumbs.com/sascha/recommendations.json",
312
- "@type": "array"
310
+ "@type": "Collection"
313
311
  },
314
312
  "friendships": {
315
313
  "@xlink:href": "http://www.tagcrumbs.com/sascha/friends.json",
316
- "@type": "array"
314
+ "@type": "Collection"
317
315
  }
318
316
  },
319
317
  "@type": "Favorite",