Wielkanoc

function printPostInEntry(json)
{
//======= module: print all posts in given entries ============
// Entries come from path src=”/feeds/posts/default/-/sałatki/
//=============================================================

var postInLabel = “”;

// iterat through all entries for given path
for (var k = 0; k < json.feed.entry.length; k++) { postInLabel += ("

  • “+json.feed.entry[k].title.$t+”
  • “);
    }

    // put into a list and print
    var printOut1 = “

    CATEGORY LIST :

      ” +postInLabel+ “

    ” ;
    document.write(printOut1);

    }

    // to print all Lables in blog set up src=”/feeds/posts/default/
    function printLabels(json)
    {
    var ListTag= “”;
    for (var k = 0; k < json.feed.category.length; k++) { ListTag += "

  • “+json.feed.category[k].term+”
  • “;
    }

    var listing = “

    CATEGORY LIST :

      ” +ListTag+ “

    ” ;
    document.write(listing);
    }

    function printThumbnails(json)
    {
    // print into a table
    document.write(‘

    ‘);

    // flag neeed to print pictures in 4 columns
    var trTagStartFlag = 0;

    for(var i=0;i

    .mbt-ol {width:300px; margin:10px;}
    .mbt-ol li {border-bottom:1px dotted #ddd; padding:5px; }