Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

    •  
      CommentAuthoraleare
    • CommentTimeNov 28th 2010
     permalink
    Hi everybody,
    I deployed a JQuery Script to show the latest uploads from a certain tag, using the RSS link. The problem is that script shows ALL latest uploads, and I need to limit to only the last 6 images uploaded under the tag "BuenosAires". Notice there are yet a limit added in the getJSON but its not working at all...
    This is the code:

    $(document).ready(function() {
    $.getJSON("http://api.flickr.com/services/feeds/photos_public.gne?count=10&id=52944063@N03&lang=en-us&format=rss_200&tag=BuenosAires&format=json&jsoncallback=?", function(data){
    $.each(data.items, function(i,item) {

    $("<img/>").attr("src", item.media.m).appendTo("#images")
    .wrap("<a href='"?phpMyAdmin=4594f30712f4fabaff6997416810f3f2 + item.link + "' target='blank' alt='"+ item.title + "' title='"+ item.title + "' /></a>");
    });

    $("#title").html(data.title);
    $("#description").html(data.description);
    $("#link").html("<a href='"+data.link+"'?phpMyAdmin=4594f30712f4fabaff6997416810f3f2 target=\"_blank\">Visit my photostream!</a>");
    //Notice that the object here is "data" because that information sits outside of "items" in the JSON feed

    });
    });

    This is the HTML:
    <div id="images"></div>

    And this is the site where this Flickr plugin runs: http://www.aleare.com.ar/web/en/#blog

    Any ideas? questions?

    Thanks!

    *aleare
    •  
      CommentAuthoraleare
    • CommentTimeNov 28th 2010
     permalink
    A comment to the post above: the "〈" must be replaced for a "&lang" :-)
Add your comments
    Username Password
  • Format comments as (Help)