Advertisement
zfrznt

Blogger Belirli Etiketlere Ait Yazıları Listeleme

May 14th, 2013
123
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <h2 style="color:orange">Blogger Temaları</h2>
  2. <script type="text/javascript">
  3. var numposts = 100;
  4. var standardstyling = true;
  5.  
  6. function showrecentposts(json) {
  7. for (var i = 0; i < numposts; i++) {
  8. var entry = json.feed.entry[i];
  9. var posttitle = entry.title.$t;
  10. var posturl;
  11. if (i == json.feed.entry.length) break;
  12. for (var k = 0; k < entry.link.length; k++) {
  13. if (entry.link[k].rel == 'alternate') {
  14. posturl = entry.link[k].href;
  15. break;
  16. }}
  17. posttitle = posttitle.link(posturl);
  18. if (standardstyling) document.write('<li>');
  19. document.write(posttitle);}
  20. if (standardstyling) document.write('</li>');
  21. }
  22. </script>
  23. <ul>
  24. <script src="http://www.zaferzent.com/feeds/posts/default/-/Blogger%20Temaları?orderby=published&amp;alt=json-in-script&amp;callback=showrecentposts&amp;max-results=999"></script>
  25. </ul>
Advertisement
RAW Paste Data Copied
Advertisement