tagcrumbs-tagcrumbs 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (178) hide show
  1. data/History.txt +9 -0
  2. data/License.txt +22 -0
  3. data/Manifest.txt +177 -0
  4. data/PostInstall.txt +2 -0
  5. data/README.rdoc +45 -0
  6. data/Rakefile +35 -0
  7. data/TODO.txt +17 -0
  8. data/bin/tagcrumbs +5 -0
  9. data/examples/address_update.rb +15 -0
  10. data/examples/comment_new.rb +19 -0
  11. data/examples/favorite_new.rb +17 -0
  12. data/examples/filter_new.rb +15 -0
  13. data/examples/friendship_create.rb +19 -0
  14. data/examples/link_new.rb +16 -0
  15. data/examples/location_update.rb +16 -0
  16. data/examples/picture_update.rb +16 -0
  17. data/examples/placemark_new_simple.rb +24 -0
  18. data/examples/placemark_new_suggestions.rb +24 -0
  19. data/examples/profile_link_new.rb +14 -0
  20. data/examples/profile_update.rb +12 -0
  21. data/examples/request_authorization.rb +25 -0
  22. data/examples/settings_update.rb +12 -0
  23. data/examples/subscription_new.rb +15 -0
  24. data/examples/tagcrumbs_find.rb +25 -0
  25. data/examples/tagcrumbs_search.rb +7 -0
  26. data/examples/user.rb +28 -0
  27. data/examples/user_recommendation_new.rb +15 -0
  28. data/lib/tagcrumbs.rb +232 -0
  29. data/lib/tagcrumbs/builders/builder.rb +45 -0
  30. data/lib/tagcrumbs/builders/json_builder.rb +38 -0
  31. data/lib/tagcrumbs/builders/xml_builder.rb +30 -0
  32. data/lib/tagcrumbs/cli.rb +268 -0
  33. data/lib/tagcrumbs/config_store.rb +35 -0
  34. data/lib/tagcrumbs/exceptions.rb +13 -0
  35. data/lib/tagcrumbs/node.rb +43 -0
  36. data/lib/tagcrumbs/parsers/json_parser.rb +79 -0
  37. data/lib/tagcrumbs/parsers/parser.rb +24 -0
  38. data/lib/tagcrumbs/parsers/xml_parser.rb +54 -0
  39. data/lib/tagcrumbs/proxy.rb +32 -0
  40. data/lib/tagcrumbs/requestor.rb +140 -0
  41. data/lib/tagcrumbs/resources/array.rb +108 -0
  42. data/lib/tagcrumbs/resources/models/accessors.rb +252 -0
  43. data/lib/tagcrumbs/resources/models/activity.rb +19 -0
  44. data/lib/tagcrumbs/resources/models/address.rb +16 -0
  45. data/lib/tagcrumbs/resources/models/city.rb +13 -0
  46. data/lib/tagcrumbs/resources/models/comment.rb +12 -0
  47. data/lib/tagcrumbs/resources/models/country.rb +15 -0
  48. data/lib/tagcrumbs/resources/models/fanship.rb +12 -0
  49. data/lib/tagcrumbs/resources/models/favorite.rb +22 -0
  50. data/lib/tagcrumbs/resources/models/filter.rb +32 -0
  51. data/lib/tagcrumbs/resources/models/flag.rb +10 -0
  52. data/lib/tagcrumbs/resources/models/friendship.rb +12 -0
  53. data/lib/tagcrumbs/resources/models/geoname.rb +8 -0
  54. data/lib/tagcrumbs/resources/models/link.rb +13 -0
  55. data/lib/tagcrumbs/resources/models/location.rb +13 -0
  56. data/lib/tagcrumbs/resources/models/model.rb +148 -0
  57. data/lib/tagcrumbs/resources/models/picture.rb +28 -0
  58. data/lib/tagcrumbs/resources/models/place.rb +17 -0
  59. data/lib/tagcrumbs/resources/models/placemark.rb +30 -0
  60. data/lib/tagcrumbs/resources/models/profile.rb +16 -0
  61. data/lib/tagcrumbs/resources/models/profile_link.rb +12 -0
  62. data/lib/tagcrumbs/resources/models/root.rb +19 -0
  63. data/lib/tagcrumbs/resources/models/settings.rb +14 -0
  64. data/lib/tagcrumbs/resources/models/state.rb +14 -0
  65. data/lib/tagcrumbs/resources/models/subscription.rb +13 -0
  66. data/lib/tagcrumbs/resources/models/suggestions.rb +11 -0
  67. data/lib/tagcrumbs/resources/models/tag.rb +6 -0
  68. data/lib/tagcrumbs/resources/models/tagcrumb.rb +58 -0
  69. data/lib/tagcrumbs/resources/models/user.rb +101 -0
  70. data/lib/tagcrumbs/resources/models/user_recommendation.rb +18 -0
  71. data/lib/tagcrumbs/resources/resource.rb +76 -0
  72. data/lib/tagcrumbs/validations.rb +301 -0
  73. data/script/console +10 -0
  74. data/script/destroy +14 -0
  75. data/script/generate +14 -0
  76. data/spec/fixtures/activity.json +210 -0
  77. data/spec/fixtures/activity.xml +66 -0
  78. data/spec/fixtures/address.json +183 -0
  79. data/spec/fixtures/address.xml +58 -0
  80. data/spec/fixtures/city.json +88 -0
  81. data/spec/fixtures/city.xml +34 -0
  82. data/spec/fixtures/comment.json +286 -0
  83. data/spec/fixtures/comment.xml +87 -0
  84. data/spec/fixtures/country.json +32 -0
  85. data/spec/fixtures/country.xml +13 -0
  86. data/spec/fixtures/fanship.json +180 -0
  87. data/spec/fixtures/fanship.xml +54 -0
  88. data/spec/fixtures/favorite.json +332 -0
  89. data/spec/fixtures/favorite.xml +109 -0
  90. data/spec/fixtures/filter.json +243 -0
  91. data/spec/fixtures/filter.xml +80 -0
  92. data/spec/fixtures/friendship.json +180 -0
  93. data/spec/fixtures/friendship.xml +54 -0
  94. data/spec/fixtures/geoname.json +18 -0
  95. data/spec/fixtures/geoname.xml +6 -0
  96. data/spec/fixtures/json_parser.json +25 -0
  97. data/spec/fixtures/link.json +288 -0
  98. data/spec/fixtures/link.xml +88 -0
  99. data/spec/fixtures/location.json +204 -0
  100. data/spec/fixtures/location.xml +71 -0
  101. data/spec/fixtures/picture.json +154 -0
  102. data/spec/fixtures/picture.png +0 -0
  103. data/spec/fixtures/picture.xml +49 -0
  104. data/spec/fixtures/placemark.json +357 -0
  105. data/spec/fixtures/placemark.xml +58 -0
  106. data/spec/fixtures/placemarks.json +887 -0
  107. data/spec/fixtures/placemarks.xml +348 -0
  108. data/spec/fixtures/profile.json +282 -0
  109. data/spec/fixtures/profile.xml +100 -0
  110. data/spec/fixtures/profile_link.json +156 -0
  111. data/spec/fixtures/profile_link.xml +49 -0
  112. data/spec/fixtures/root.json +46 -0
  113. data/spec/fixtures/root.xml +14 -0
  114. data/spec/fixtures/settings.json +147 -0
  115. data/spec/fixtures/settings.xml +45 -0
  116. data/spec/fixtures/state.json +62 -0
  117. data/spec/fixtures/state.xml +23 -0
  118. data/spec/fixtures/subscription.json +283 -0
  119. data/spec/fixtures/subscription.xml +86 -0
  120. data/spec/fixtures/suggestions.json +1877 -0
  121. data/spec/fixtures/suggestions.xml +724 -0
  122. data/spec/fixtures/tag.json +9 -0
  123. data/spec/fixtures/tag.xml +4 -0
  124. data/spec/fixtures/user.json +105 -0
  125. data/spec/fixtures/user.xml +31 -0
  126. data/spec/fixtures/user_recommendation.json +349 -0
  127. data/spec/fixtures/user_recommendation.xml +106 -0
  128. data/spec/fixtures/validation_errors.json +5 -0
  129. data/spec/fixtures/validation_errors.xml +5 -0
  130. data/spec/fixtures/xml_parser.xml +13 -0
  131. data/spec/spec.opts +1 -0
  132. data/spec/spec_helper.rb +75 -0
  133. data/spec/tagcrumbs/builders/builder_spec.rb +57 -0
  134. data/spec/tagcrumbs/builders/json_builder_spec.rb +47 -0
  135. data/spec/tagcrumbs/builders/xml_builder_spec.rb +34 -0
  136. data/spec/tagcrumbs/exceptions_spec.rb +16 -0
  137. data/spec/tagcrumbs/node_spec.rb +42 -0
  138. data/spec/tagcrumbs/parsers/json_parser_spec.rb +117 -0
  139. data/spec/tagcrumbs/parsers/parser_spec.rb +25 -0
  140. data/spec/tagcrumbs/parsers/xml_parser_spec.rb +117 -0
  141. data/spec/tagcrumbs/proxy_spec.rb +48 -0
  142. data/spec/tagcrumbs/requestor_spec.rb +62 -0
  143. data/spec/tagcrumbs/resources/array_spec.rb +62 -0
  144. data/spec/tagcrumbs/resources/models/accessors_spec.rb +123 -0
  145. data/spec/tagcrumbs/resources/models/activity_spec.rb +33 -0
  146. data/spec/tagcrumbs/resources/models/address_spec.rb +24 -0
  147. data/spec/tagcrumbs/resources/models/city_spec.rb +33 -0
  148. data/spec/tagcrumbs/resources/models/comment_spec.rb +23 -0
  149. data/spec/tagcrumbs/resources/models/country_spec.rb +26 -0
  150. data/spec/tagcrumbs/resources/models/fanship_spec.rb +28 -0
  151. data/spec/tagcrumbs/resources/models/favorite_spec.rb +28 -0
  152. data/spec/tagcrumbs/resources/models/filter_spec.rb +43 -0
  153. data/spec/tagcrumbs/resources/models/flag_spec.rb +5 -0
  154. data/spec/tagcrumbs/resources/models/friendship_spec.rb +28 -0
  155. data/spec/tagcrumbs/resources/models/geoname_spec.rb +18 -0
  156. data/spec/tagcrumbs/resources/models/link_spec.rb +24 -0
  157. data/spec/tagcrumbs/resources/models/location_spec.rb +28 -0
  158. data/spec/tagcrumbs/resources/models/model_spec.rb +27 -0
  159. data/spec/tagcrumbs/resources/models/picture_spec.rb +42 -0
  160. data/spec/tagcrumbs/resources/models/place_spec.rb +12 -0
  161. data/spec/tagcrumbs/resources/models/placemark_spec.rb +61 -0
  162. data/spec/tagcrumbs/resources/models/profile_link_spec.rb +29 -0
  163. data/spec/tagcrumbs/resources/models/profile_spec.rb +43 -0
  164. data/spec/tagcrumbs/resources/models/root_spec.rb +57 -0
  165. data/spec/tagcrumbs/resources/models/settings_spec.rb +32 -0
  166. data/spec/tagcrumbs/resources/models/state_spec.rb +30 -0
  167. data/spec/tagcrumbs/resources/models/subscription_spec.rb +28 -0
  168. data/spec/tagcrumbs/resources/models/suggestions_spec.rb +33 -0
  169. data/spec/tagcrumbs/resources/models/tag_spec.rb +16 -0
  170. data/spec/tagcrumbs/resources/models/tagcrumb_spec.rb +21 -0
  171. data/spec/tagcrumbs/resources/models/user_recommendation_spec.rb +35 -0
  172. data/spec/tagcrumbs/resources/models/user_spec.rb +128 -0
  173. data/spec/tagcrumbs/resources/resource_spec.rb +62 -0
  174. data/spec/tagcrumbs/validations_spec.rb +27 -0
  175. data/spec/tagcrumbs_spec.rb +103 -0
  176. data/tagcrumbs.gemspec +59 -0
  177. data/tasks/rspec.rake +21 -0
  178. metadata +325 -0
@@ -0,0 +1,348 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <tagcrumbs type="array" xmlns:xlink="http://www.w3.org/1999/xlink" total_entries="206" xlink:href="http://www.tagcrumbs.com/sascha/tagcrumbs.xml" pages="21" next_page="http://www.tagcrumbs.com/sascha/tagcrumbs.xml?page=2" per_page="10" sort="date" order="desc" page="1">
3
+ <tagcrumb type="Placemark" xlink:href="http://localhost:3000/sascha/placemarks/neu-editiert.xml">
4
+ <name>neu - editiert</name>
5
+ <notes/>
6
+ <tag_list/>
7
+ <latitude type="float">48.7666667</latitude>
8
+ <longitude type="float">9.1833333</longitude>
9
+ <permalink>neu-editiert</permalink>
10
+ <favorites_count type="integer">0</favorites_count>
11
+ <short_url>http://localhost:3000/p/YzQ1NWR</short_url>
12
+ <created_at type="timestamp">2009-06-05T14:14:56+02:00</created_at>
13
+ <updated_at type="timestamp">2009-06-06T13:23:31+02:00</updated_at>
14
+ <private type="boolean">false</private>
15
+ <city type="City" xlink:href="http://localhost:3000/places/germany/states/land-baden-w%C3%BCrttemberg/cities/stuttgart.xml">
16
+ <name>Stuttgart</name>
17
+ <name_en/>
18
+ <name_de/>
19
+ <name_es/>
20
+ <name_fr/>
21
+ <name_it/>
22
+ <permalink>stuttgart</permalink>
23
+ <geoname type="Geoname" xlink:href="http://www.geonames.org/2825297">
24
+ <geonameid type="integer">2825297</geonameid>
25
+ <latitude type="float">48.7666667</latitude>
26
+ <longitude type="float">9.1833333</longitude>
27
+ </geoname>
28
+ <state type="State" xlink:href="http://localhost:3000/places/germany/states/land-baden-w%C3%BCrttemberg.xml">
29
+ <name>Baden-Württemberg</name>
30
+ <name_en>Baden-Württemberg</name_en>
31
+ <name_de>Land Baden-Württemberg</name_de>
32
+ <name_es>Baden-Württemberg</name_es>
33
+ <name_fr>Pays de Bade</name_fr>
34
+ <name_it nil="true"/>
35
+ <permalink>land-baden-württemberg</permalink>
36
+ <geoname type="Geoname" xlink:href="http://www.geonames.org/2953481">
37
+ <geonameid type="integer">2953481</geonameid>
38
+ <latitude type="float">48.5</latitude>
39
+ <longitude type="float">9.0</longitude>
40
+ </geoname>
41
+ <country type="Country" xlink:href="http://localhost:3000/places/germany.xml">
42
+ <name>Germany</name>
43
+ <name_de>Deutschland</name_de>
44
+ <name_es>Alemania</name_es>
45
+ <name_fr>Allemagne</name_fr>
46
+ <name_it>Germania</name_it>
47
+ <permalink>germany</permalink>
48
+ <geoname type="Geoname" xlink:href="http://www.geonames.org/2921044">
49
+ <geonameid type="integer">2921044</geonameid>
50
+ <latitude type="float">51.5</latitude>
51
+ <longitude type="float">10.5</longitude>
52
+ </geoname>
53
+ <states type="array" xlink:href="http://localhost:3000/places/germany/states.xml">
54
+
55
+ </states>
56
+ </country>
57
+ <cities type="array" xlink:href="http://localhost:3000/places/germany/states/land-baden-w%C3%BCrttemberg/cities.xml">
58
+ </cities>
59
+ </state>
60
+ </city>
61
+ <address type="Address" xlink:href="http://localhost:3000/sascha/placemarks/neu-editiert/address.xml">
62
+ </address>
63
+ <links type="array" xlink:href="http://localhost:3000/sascha/placemarks/neu-editiert/links.xml">
64
+
65
+ </links>
66
+ <tags type="array" xlink:href="http://localhost:3000/sascha/placemarks/neu-editiert/tags.xml">
67
+ </tags>
68
+ <recommendations type="array" xlink:href="http://localhost:3000/sascha/placemarks/neu-editiert/recommendations.xml">
69
+ </recommendations>
70
+ <comments type="array" xlink:href="http://localhost:3000/sascha/placemarks/neu-editiert/comments.xml">
71
+ </comments>
72
+ <flags type="array" xlink:href="http://localhost:3000/sascha/placemarks/neu-editiert/flags.xml">
73
+ </flags>
74
+ <user type="User" xlink:href="http://localhost:3000/sascha.xml">
75
+ <username>sascha</username>
76
+ <created_at type="timestamp">2008-06-12T09:34:00+02:00</created_at>
77
+ <profile type="Profile" xlink:href="http://localhost:3000/sascha/profile.xml">
78
+ </profile>
79
+ <settings type="Settings" xlink:href="http://localhost:3000/sascha/settings.xml">
80
+ </settings>
81
+ <location type="Location" xlink:href="http://localhost:3000/location.xml">
82
+
83
+ </location>
84
+ <filters type="array" xlink:href="http://localhost:3000/sascha/filters.xml">
85
+ </filters>
86
+ <recommendations type="array" xlink:href="http://localhost:3000/sascha/recommendations.xml">
87
+ </recommendations>
88
+ <received_recommendations type="array" xlink:href="http://localhost:3000/sascha/recommendations/received.xml">
89
+ </received_recommendations>
90
+ <nearby xlink:href="http://localhost:3000/sascha/tagcrumbs/nearby.xml">
91
+ </nearby>
92
+ <subscriptions type="array" xlink:href="http://localhost:3000/sascha/subscriptions.xml">
93
+ </subscriptions>
94
+ <picture type="Picture" xlink:href="http://localhost:3000/sascha/profile/picture.xml">
95
+ </picture>
96
+ <tagcrumbs type="array" xlink:href="http://localhost:3000/sascha/tagcrumbs.xml">
97
+ </tagcrumbs>
98
+ <placemarks type="array" xlink:href="http://localhost:3000/sascha/placemarks.xml">
99
+ </placemarks>
100
+ <favorites type="array" xlink:href="http://localhost:3000/sascha/favorites.xml">
101
+
102
+ </favorites>
103
+ <activities type="array" xlink:href="http://localhost:3000/sascha/activities.xml">
104
+ </activities>
105
+ <tags type="array" xlink:href="http://localhost:3000/sascha/tags.xml">
106
+ </tags>
107
+ <places type="array" xlink:href="http://localhost:3000/sascha/places.xml">
108
+ </places>
109
+ <friendships type="array" xlink:href="http://localhost:3000/sascha/friends.xml">
110
+ </friendships>
111
+ <fanships type="array" xlink:href="http://localhost:3000/sascha/fans.xml">
112
+ </fanships>
113
+ <tagcrumbs_friends type="array" xlink:href="http://localhost:3000/sascha/friends/tagcrumbs.xml">
114
+ </tagcrumbs_friends>
115
+ <tagcrumbs_fans type="array" xlink:href="http://localhost:3000/sascha/fans/tagcrumbs.xml">
116
+ </tagcrumbs_fans>
117
+ </user>
118
+ </tagcrumb>
119
+ <tagcrumb type="Placemark" xlink:href="http://localhost:3000/sascha/placemarks/japan-private.xml">
120
+ <name>japan private</name>
121
+ <notes>asdf</notes>
122
+ <tag_list/>
123
+ <latitude type="float">36.1822249804225</latitude>
124
+ <longitude type="float">138.087158203125</longitude>
125
+ <permalink>japan-private</permalink>
126
+ <favorites_count type="integer">0</favorites_count>
127
+ <short_url>http://localhost:3000/p/NDM2MDI</short_url>
128
+ <created_at type="timestamp">2009-06-05T14:14:09+02:00</created_at>
129
+ <updated_at type="timestamp">2009-06-05T14:14:09+02:00</updated_at>
130
+ <private type="boolean">true</private>
131
+ <city type="City" xlink:href="http://localhost:3000/places/japan/states/nagano-ken/cities/matsumoto.xml">
132
+ <name>Matsumoto</name>
133
+ <name_en/>
134
+ <name_de/>
135
+ <name_es/>
136
+ <name_fr/>
137
+ <name_it/>
138
+ <permalink>matsumoto</permalink>
139
+ <geoname type="Geoname" xlink:href="http://www.geonames.org/1857519">
140
+ <geonameid type="integer">1857519</geonameid>
141
+ <latitude type="float">36.2333333</latitude>
142
+ <longitude type="float">137.9666667</longitude>
143
+ </geoname>
144
+ <state type="State" xlink:href="http://localhost:3000/places/japan/states/nagano-ken.xml">
145
+ <name>Nagano-ken</name>
146
+ <name_en nil="true"/>
147
+ <name_de nil="true"/>
148
+ <name_es nil="true"/>
149
+ <name_fr nil="true"/>
150
+ <name_it nil="true"/>
151
+ <permalink>nagano-ken</permalink>
152
+ <geoname type="Geoname" xlink:href="http://www.geonames.org/1856210">
153
+ <geonameid type="integer">1856210</geonameid>
154
+ <latitude type="float">36.0</latitude>
155
+ <longitude type="float">138.0</longitude>
156
+ </geoname>
157
+ <country type="Country" xlink:href="http://localhost:3000/places/japan.xml">
158
+ <name>Japan</name>
159
+ <name_de>Japan</name_de>
160
+ <name_es>Japón</name_es>
161
+ <name_fr>Japon</name_fr>
162
+ <name_it>Giappone</name_it>
163
+ <permalink>japan</permalink>
164
+ <geoname type="Geoname" xlink:href="http://www.geonames.org/1861060">
165
+ <geonameid type="integer">1861060</geonameid>
166
+ <latitude type="float">35.6853569043379</latitude>
167
+ <longitude type="float">139.753088951111</longitude>
168
+ </geoname>
169
+ <states type="array" xlink:href="http://localhost:3000/places/japan/states.xml">
170
+ </states>
171
+ </country>
172
+ <cities type="array" xlink:href="http://localhost:3000/places/japan/states/nagano-ken/cities.xml">
173
+ </cities>
174
+ </state>
175
+ </city>
176
+ <address type="Address" xlink:href="http://localhost:3000/sascha/placemarks/japan-private/address.xml">
177
+ </address>
178
+ <links type="array" xlink:href="http://localhost:3000/sascha/placemarks/japan-private/links.xml">
179
+ </links>
180
+ <tags type="array" xlink:href="http://localhost:3000/sascha/placemarks/japan-private/tags.xml">
181
+ </tags>
182
+ <recommendations type="array" xlink:href="http://localhost:3000/sascha/placemarks/japan-private/recommendations.xml">
183
+ </recommendations>
184
+ <comments type="array" xlink:href="http://localhost:3000/sascha/placemarks/japan-private/comments.xml">
185
+ </comments>
186
+ <flags type="array" xlink:href="http://localhost:3000/sascha/placemarks/japan-private/flags.xml">
187
+ </flags>
188
+ <user type="User" xlink:href="http://localhost:3000/sascha.xml">
189
+ <username>sascha</username>
190
+ <created_at type="timestamp">2008-06-12T09:34:00+02:00</created_at>
191
+ <profile type="Profile" xlink:href="http://localhost:3000/sascha/profile.xml">
192
+
193
+ </profile>
194
+ <settings type="Settings" xlink:href="http://localhost:3000/sascha/settings.xml">
195
+ </settings>
196
+ <location type="Location" xlink:href="http://localhost:3000/location.xml">
197
+ </location>
198
+ <filters type="array" xlink:href="http://localhost:3000/sascha/filters.xml">
199
+ </filters>
200
+ <recommendations type="array" xlink:href="http://localhost:3000/sascha/recommendations.xml">
201
+ </recommendations>
202
+ <received_recommendations type="array" xlink:href="http://localhost:3000/sascha/recommendations/received.xml">
203
+ </received_recommendations>
204
+ <nearby xlink:href="http://localhost:3000/sascha/tagcrumbs/nearby.xml">
205
+ </nearby>
206
+ <subscriptions type="array" xlink:href="http://localhost:3000/sascha/subscriptions.xml">
207
+ </subscriptions>
208
+ <picture type="Picture" xlink:href="http://localhost:3000/sascha/profile/picture.xml">
209
+ </picture>
210
+ <tagcrumbs type="array" xlink:href="http://localhost:3000/sascha/tagcrumbs.xml">
211
+
212
+ </tagcrumbs>
213
+ <placemarks type="array" xlink:href="http://localhost:3000/sascha/placemarks.xml">
214
+ </placemarks>
215
+ <favorites type="array" xlink:href="http://localhost:3000/sascha/favorites.xml">
216
+ </favorites>
217
+ <activities type="array" xlink:href="http://localhost:3000/sascha/activities.xml">
218
+ </activities>
219
+ <tags type="array" xlink:href="http://localhost:3000/sascha/tags.xml">
220
+ </tags>
221
+ <places type="array" xlink:href="http://localhost:3000/sascha/places.xml">
222
+ </places>
223
+ <friendships type="array" xlink:href="http://localhost:3000/sascha/friends.xml">
224
+ </friendships>
225
+ <fanships type="array" xlink:href="http://localhost:3000/sascha/fans.xml">
226
+ </fanships>
227
+ <tagcrumbs_friends type="array" xlink:href="http://localhost:3000/sascha/friends/tagcrumbs.xml">
228
+ </tagcrumbs_friends>
229
+ <tagcrumbs_fans type="array" xlink:href="http://localhost:3000/sascha/fans/tagcrumbs.xml">
230
+
231
+ </tagcrumbs_fans>
232
+ </user>
233
+ </tagcrumb>
234
+ <tagcrumb type="Placemark" xlink:href="http://localhost:3000/sascha/placemarks/qweqwe-4.xml">
235
+ <name>qweqwe</name>
236
+ <notes/>
237
+ <tag_list/>
238
+ <latitude type="float">37.775196</latitude>
239
+ <longitude type="float">-122.419204</longitude>
240
+ <permalink>qweqwe-4</permalink>
241
+ <favorites_count type="integer">0</favorites_count>
242
+ <short_url>http://localhost:3000/p/NThhYjU</short_url>
243
+ <created_at type="timestamp">2009-05-25T23:41:39+02:00</created_at>
244
+ <updated_at type="timestamp">2009-05-25T23:41:39+02:00</updated_at>
245
+ <private type="boolean">false</private>
246
+ <city type="City" xlink:href="http://localhost:3000/places/united-states/states/california/cities/san-francisco.xml">
247
+ <name>San Francisco</name>
248
+ <name_en>San Francisco</name_en>
249
+ <name_de/>
250
+ <name_es/>
251
+ <name_fr/>
252
+ <name_it/>
253
+ <permalink>san-francisco</permalink>
254
+ <geoname type="Geoname" xlink:href="http://www.geonames.org/5391959">
255
+ <geonameid type="integer">5391959</geonameid>
256
+ <latitude type="float">37.7749295</latitude>
257
+ <longitude type="float">-122.4194155</longitude>
258
+ </geoname>
259
+ <state type="State" xlink:href="http://localhost:3000/places/united-states/states/california.xml">
260
+ <name>California</name>
261
+ <name_en>California</name_en>
262
+ <name_de>Kalifornien</name_de>
263
+ <name_es>California</name_es>
264
+ <name_fr nil="true"/>
265
+ <name_it nil="true"/>
266
+ <permalink>california</permalink>
267
+ <geoname type="Geoname" xlink:href="http://www.geonames.org/5332921">
268
+ <geonameid type="integer">5332921</geonameid>
269
+ <latitude type="float">37.2502247</latitude>
270
+ <longitude type="float">-119.7512643</longitude>
271
+ </geoname>
272
+ <country type="Country" xlink:href="http://localhost:3000/places/united-states.xml">
273
+ <name>United States</name>
274
+ <name_de>USA</name_de>
275
+ <name_es>Estados Unidos</name_es>
276
+ <name_fr>États-Unis</name_fr>
277
+ <name_it>Stati Uniti</name_it>
278
+ <permalink>united-states</permalink>
279
+ <geoname type="Geoname" xlink:href="http://www.geonames.org/6252001">
280
+ <geonameid type="integer">6252001</geonameid>
281
+ <latitude type="float">39.76</latitude>
282
+ <longitude type="float">-98.5</longitude>
283
+ </geoname>
284
+ <states type="array" xlink:href="http://localhost:3000/places/united-states/states.xml">
285
+ </states>
286
+ </country>
287
+ <cities type="array" xlink:href="http://localhost:3000/places/united-states/states/california/cities.xml">
288
+ </cities>
289
+ </state>
290
+ </city>
291
+ <address type="Address" xlink:href="http://localhost:3000/sascha/placemarks/qweqwe-4/address.xml">
292
+ </address>
293
+ <links type="array" xlink:href="http://localhost:3000/sascha/placemarks/qweqwe-4/links.xml">
294
+ </links>
295
+ <tags type="array" xlink:href="http://localhost:3000/sascha/placemarks/qweqwe-4/tags.xml">
296
+ </tags>
297
+ <recommendations type="array" xlink:href="http://localhost:3000/sascha/placemarks/qweqwe-4/recommendations.xml">
298
+ </recommendations>
299
+ <comments type="array" xlink:href="http://localhost:3000/sascha/placemarks/qweqwe-4/comments.xml">
300
+ </comments>
301
+ <flags type="array" xlink:href="http://localhost:3000/sascha/placemarks/qweqwe-4/flags.xml">
302
+ </flags>
303
+ <user type="User" xlink:href="http://localhost:3000/sascha.xml">
304
+ <username>sascha</username>
305
+ <created_at type="timestamp">2008-06-12T09:34:00+02:00</created_at>
306
+ <profile type="Profile" xlink:href="http://localhost:3000/sascha/profile.xml">
307
+ </profile>
308
+ <settings type="Settings" xlink:href="http://localhost:3000/sascha/settings.xml">
309
+ </settings>
310
+ <location type="Location" xlink:href="http://localhost:3000/location.xml">
311
+ </location>
312
+ <filters type="array" xlink:href="http://localhost:3000/sascha/filters.xml">
313
+ </filters>
314
+ <recommendations type="array" xlink:href="http://localhost:3000/sascha/recommendations.xml">
315
+ </recommendations>
316
+ <received_recommendations type="array" xlink:href="http://localhost:3000/sascha/recommendations/received.xml">
317
+ </received_recommendations>
318
+ <nearby xlink:href="http://localhost:3000/sascha/tagcrumbs/nearby.xml">
319
+ </nearby>
320
+ <subscriptions type="array" xlink:href="http://localhost:3000/sascha/subscriptions.xml">
321
+
322
+ </subscriptions>
323
+ <picture type="Picture" xlink:href="http://localhost:3000/sascha/profile/picture.xml">
324
+ </picture>
325
+ <tagcrumbs type="array" xlink:href="http://localhost:3000/sascha/tagcrumbs.xml">
326
+ </tagcrumbs>
327
+ <placemarks type="array" xlink:href="http://localhost:3000/sascha/placemarks.xml">
328
+ </placemarks>
329
+ <favorites type="array" xlink:href="http://localhost:3000/sascha/favorites.xml">
330
+ </favorites>
331
+ <activities type="array" xlink:href="http://localhost:3000/sascha/activities.xml">
332
+ </activities>
333
+ <tags type="array" xlink:href="http://localhost:3000/sascha/tags.xml">
334
+ </tags>
335
+ <places type="array" xlink:href="http://localhost:3000/sascha/places.xml">
336
+ </places>
337
+ <friendships type="array" xlink:href="http://localhost:3000/sascha/friends.xml">
338
+ </friendships>
339
+ <fanships type="array" xlink:href="http://localhost:3000/sascha/fans.xml">
340
+
341
+ </fanships>
342
+ <tagcrumbs_friends type="array" xlink:href="http://localhost:3000/sascha/friends/tagcrumbs.xml">
343
+ </tagcrumbs_friends>
344
+ <tagcrumbs_fans type="array" xlink:href="http://localhost:3000/sascha/fans/tagcrumbs.xml">
345
+ </tagcrumbs_fans>
346
+ </user>
347
+ </tagcrumb>
348
+ </tagcrumbs>
@@ -0,0 +1,282 @@
1
+ {
2
+ "profile": {
3
+ "about": {
4
+ "$": "ABOUT"
5
+ },
6
+ "city": {
7
+ "@xlink:href": "http://www.tagcrumbs.com/places/germany/states/land-baden-w%C3%BCrttemberg/cities/stuttgart.json",
8
+ "geoname": {
9
+ "geonameid": {
10
+ "@type": "integer",
11
+ "$": 2825297
12
+ },
13
+ "@xlink:href": "http://www.geonames.org/2825297",
14
+ "longitude": {
15
+ "@type": "float",
16
+ "$": 9.1833333
17
+ },
18
+ "@type": "Geoname",
19
+ "latitude": {
20
+ "@type": "float",
21
+ "$": 48.7666667
22
+ }
23
+ },
24
+ "permalink": {
25
+ "$": "stuttgart"
26
+ },
27
+ "name": {
28
+ "$": "Stuttgart"
29
+ },
30
+ "@type": "City",
31
+ "state": {
32
+ "@xlink:href": "http://www.tagcrumbs.com/places/germany/states/land-baden-w%C3%BCrttemberg.json",
33
+ "geoname": {
34
+ "geonameid": {
35
+ "@type": "integer",
36
+ "$": 2953481
37
+ },
38
+ "@xlink:href": "http://www.geonames.org/2953481",
39
+ "longitude": {
40
+ "@type": "float",
41
+ "$": 9.0
42
+ },
43
+ "@type": "Geoname",
44
+ "latitude": {
45
+ "@type": "float",
46
+ "$": 48.5
47
+ }
48
+ },
49
+ "permalink": {
50
+ "$": "land-baden-w\u00fcrttemberg"
51
+ },
52
+ "name": {
53
+ "$": "Land Baden-W\u00fcrttemberg"
54
+ },
55
+ "@type": "State",
56
+ "cities": {
57
+ "@xlink:href": "http://www.tagcrumbs.com/places/germany/states/land-baden-w%C3%BCrttemberg/cities.json",
58
+ "@type": "array"
59
+ },
60
+ "country": {
61
+ "@xlink:href": "http://www.tagcrumbs.com/places/germany.json",
62
+ "geoname": {
63
+ "geonameid": {
64
+ "@type": "integer",
65
+ "$": 2921044
66
+ },
67
+ "@xlink:href": "http://www.geonames.org/2921044",
68
+ "longitude": {
69
+ "@type": "float",
70
+ "$": 10.5
71
+ },
72
+ "@type": "Geoname",
73
+ "latitude": {
74
+ "@type": "float",
75
+ "$": 51.5
76
+ }
77
+ },
78
+ "permalink": {
79
+ "$": "germany"
80
+ },
81
+ "name": {
82
+ "$": "Deutschland"
83
+ },
84
+ "@type": "Country",
85
+ "states": {
86
+ "@xlink:href": "http://www.tagcrumbs.com/places/germany/states.json",
87
+ "@type": "array"
88
+ }
89
+ }
90
+ }
91
+ },
92
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/profile.json",
93
+ "picture": {
94
+ "profile": {
95
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/profile.json",
96
+ "@type": "Profile"
97
+ },
98
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/profile/picture.json",
99
+ "small_thumbnail_url": {
100
+ "$": "SMALL THUMBNAIL URL"
101
+ },
102
+ "url": {
103
+ "$": "URL"
104
+ },
105
+ "@type": "Picture",
106
+ "medium_thumbnail_url": {
107
+ "$": "MEDIUM THUMBNAIL URL"
108
+ },
109
+ "content_type": {
110
+ "$": "image/jpeg"
111
+ }
112
+ },
113
+ "created_at": {
114
+ "@type": "timestamp",
115
+ "$": "2008-06-12T09:34:55+02:00"
116
+ },
117
+ "user": {
118
+ "tagcrumbs_fans": {
119
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/fans/tagcrumbs.json",
120
+ "@type": "array"
121
+ },
122
+ "tags": {
123
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/tags.json",
124
+ "@type": "array"
125
+ },
126
+ "activities": {
127
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/activities.json",
128
+ "@type": "array"
129
+ },
130
+ "tagcrumbs": {
131
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/tagcrumbs.json",
132
+ "@type": "array"
133
+ },
134
+ "subscriptions": {
135
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/subscriptions.json",
136
+ "@type": "array"
137
+ },
138
+ "profile": {
139
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/profile.json",
140
+ "@type": "Profile"
141
+ },
142
+ "username": {
143
+ "$": "sascha"
144
+ },
145
+ "@xlink:href": "http://www.tagcrumbs.com/sascha.json",
146
+ "places": {
147
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/places.json",
148
+ "@type": "array"
149
+ },
150
+ "picture": {
151
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/profile/picture.json",
152
+ "@type": "Picture"
153
+ },
154
+ "comments": {
155
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/comments.json",
156
+ "@type": "array"
157
+ },
158
+ "fanships": {
159
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/fans.json",
160
+ "@type": "array"
161
+ },
162
+ "favorites": {
163
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/favorites.json",
164
+ "@type": "array"
165
+ },
166
+ "settings": {
167
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/settings.json",
168
+ "@type": "Settings"
169
+ },
170
+ "created_at": {
171
+ "@type": "timestamp",
172
+ "$": "2008-06-12T09:34:00+02:00"
173
+ },
174
+ "placemarks": {
175
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks.json",
176
+ "@type": "array"
177
+ },
178
+ "@type": "User",
179
+ "profile_links": {
180
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/profile/links.json",
181
+ "@type": "array"
182
+ },
183
+ "links": {
184
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/links.json",
185
+ "@type": "array"
186
+ },
187
+ "suggestions": {
188
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/tagcrumbs/suggestions.json",
189
+ "@type": "Suggestions"
190
+ },
191
+ "location": {
192
+ "@xlink:href": "http://www.tagcrumbs.com/location.json",
193
+ "@type": "Location"
194
+ },
195
+ "flags": {
196
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/flags.json",
197
+ "@type": "array"
198
+ },
199
+ "filters": {
200
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/filters.json",
201
+ "@type": "array"
202
+ },
203
+ "tagcrumbs_friends": {
204
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/friends/tagcrumbs.json",
205
+ "@type": "array"
206
+ },
207
+ "received_recommendations": {
208
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/recommendations/received.json",
209
+ "@type": "array"
210
+ },
211
+ "recommendations": {
212
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/recommendations.json",
213
+ "@type": "array"
214
+ },
215
+ "friendships": {
216
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/friends.json",
217
+ "@type": "array"
218
+ }
219
+ },
220
+ "description": {
221
+ "$": "DESCRIPTION"
222
+ },
223
+ "@type": "Profile",
224
+ "profile_links": {
225
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/profile/links.json",
226
+ "@type": "array",
227
+ "profile_link": [
228
+ {
229
+ "profile": {
230
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/profile.json",
231
+ "@type": "Profile"
232
+ },
233
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/profile/links/1000042.json",
234
+ "created_at": {
235
+ "@type": "timestamp",
236
+ "$": "2009-04-14T16:09:04+02:00"
237
+ },
238
+ "url": {
239
+ "$": "http://www.test1.de"
240
+ },
241
+ "@type": "ProfileLink",
242
+ "updated_at": {
243
+ "@type": "timestamp",
244
+ "$": "2009-05-29T12:40:16+02:00"
245
+ },
246
+ "link_type": {
247
+ "$": "Homepage"
248
+ }
249
+ },
250
+ {
251
+ "profile": {
252
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/profile.json",
253
+ "@type": "Profile"
254
+ },
255
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/profile/links/1000043.json",
256
+ "created_at": {
257
+ "@type": "timestamp",
258
+ "$": "2009-04-14T16:13:55+02:00"
259
+ },
260
+ "url": {
261
+ "$": "http://www.test2.de"
262
+ },
263
+ "@type": "ProfileLink",
264
+ "updated_at": {
265
+ "@type": "timestamp",
266
+ "$": "2009-05-29T12:40:16+02:00"
267
+ },
268
+ "link_type": {
269
+ "$": "Homepage"
270
+ }
271
+ }
272
+ ]
273
+ },
274
+ "updated_at": {
275
+ "@type": "timestamp",
276
+ "$": "2009-06-05T14:16:55+02:00"
277
+ },
278
+ "fullname": {
279
+ "$": "FULLNAME"
280
+ }
281
+ }
282
+ }