<script src="http://cikato.tumblr.com/api/read/json" type="text/javascript"></script> <script type="text/javascript"> n = tumblr_api_read["posts-total"]; limit = 5; i2 = 0; for (i = 0; i < n; i++) { if (tumblr_api_read["posts"][i]["type"] == "photo") { photourl = tumblr_api_read["posts"][i]["photo-url-75"]; url = tumblr_api_read["posts"][i]["url"]; label = '<p><img src="' + photourl + '" align="left"></p>'; document.write('<a href="' + url + '">' + label + '</a>'); if (++i2 >= limit) break; } } </script>
Tags:
作った