<div id="all_post_root">Loading ...</div> <script type="text/javascript"> var displayFeed = function(response) { var entries = response.feed.entry; var listUl = document.createElement("ul"); for (var i in entries) { var elt = entries[i].link[4]; var a = document.createElement("a"); a.href = elt.href; a.appendChild(document.createTextNode(elt.title)); var li = document.createElement("li"); li.appendChild(a); listUl.appendChild(li); } var allPostRoot = document.getElementById('all_post_root'); allPostRoot.innerHTML = ""; allPostRoot.appendChild(listUl); }; </script> <script src="/feeds/posts/default?alt=json&max-results=999&callback=displayFeed"> </script>
参考
http://stackoverflow.com/questions/2569305/how-to-list-the-post-titles-of-all-the-post-from-my-blogspot-blog
http://www.blogdoctor.me/2008/05/list-all-posts-in-alphabetical-order-in.html
0 件のコメント:
コメントを投稿