i have to use the data coming from that service:
http://api.flickr.com/services/feeds/photos_public.gne?format=json&jsoncallback=cb&tags=london
All the data is mixed with html, after cleaning it with that online tools
Here's the data:
cb({
"title": "Recent Uploads tagged london",
"link": "http://www.flickr.com/photos/tags/london/",
"description": "",
"modified": "2015-06-27T17:21:27Z",
"generator": "http://www.flickr.com/",
"items": [
{
"title": "Citywards",
"link": "http://www.flickr.com/photos/peterphotographic/19182673346/",
"media": {"m":"http://farm1.staticflickr.com/269/19182673346_eae48f0d5d_m.jpg"},
"date_taken": "2015-06-22T20:25:21-08:00",
"description": " <p><a href=\"http://www.flickr.com/people/peterphotographic/\">peterphotographic<\/a> posted a photo:<\/p> <p><a href=\"http://www.flickr.com/photos/peterphotographic/19182673346/\" title=\"Citywards\"><img src=\"http://farm1.staticflickr.com/269/19182673346_eae48f0d5d_m.jpg\" width=\"173\" height=\"240\" alt=\"Citywards\" /><\/a><\/p> <p>W&DPS City Walk 2015<br /> <br /> Thameside, London, UK<\/p>",
...ETC
What should I do to clean and display for example each item in a ng-repeat?
here's the Plunker
For somes who can't see anything it is probably because you are getting an Access-Control-Allow-Origin issue, you can install this chrome plugin, activate it and refresh the page you will see the data and the log:
I met the same problem.