In this article I will tell you how to show recent post for a particular label.   To have smart blog you must include some label's recent posts in the widget. This will make your blog professional. Here, I provide you HTML code for the said purpose. Its a very easy taks to implement in your blog.

Like the way you creat recent post or add widget in your blog, follow the same pattern, you will see the result.

Copy all the code in red colour. As shown in the last part of this article, replace Articles2Read (in blue colour) with your label. Label should be exactly typed, otherwise it will not work.

If you have any trouble regarding implementation, let us know and tell us in the comment box.


<style>
/* Recent posts by labels
--------------------------------- */ 
img.label_thumb{
float:left;
margin-right:10px !important;
height:72px; /* Thumbnail height */
width:72px; /* Thumbnail width */
border: 1px solid #fff;
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .4);
-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .4);
box-shadow: 0 1px 1px rgba(0, 0, 0, .4);
}

#label_with_thumbs { text-align: justify;
font: normal 18px Port Lligat Slab;
float: left;
width: 98%;
min-height: 70px;
margin: 0px 10px 2px 0px;
padding: 0;
}
ul#label_with_thumbs li {
padding:8px 0;
min-height:75px;
margin-bottom:0px;
border-bottom: 1px dotted #999999;
}

#label_with_thumbs li{
list-style: none ;
padding-left:0px !important;
}
#label_with_thumbs a:visited {
    text-decoration: none;
    color: black;}
#label_with_thumbs a:link {
    text-decoration: none;
    color: black;}
#label_with_thumbs a { text-transform: none;}
#label_with_thumbs a:hover { text-decoration: underline;}
#label_with_thumbs strong {padding-left:0px; }</style>
<script type='text/javascript'>
//<![CDATA[
function labelthumbs(json){document.write('<ul id="label_with_thumbs">');for(var i=0;i<numposts;i++){var entry=json.feed.entry[i];var posttitle=entry.title.$t;var posturl;if(i==json.feed.entry.length)break;for(var k=0;k<entry.link.length;k++){if(entry.link[k].rel=='replies'&&entry.link[k].type=='text/html'){var commenttext=entry.link[k].title;var commenturl=entry.link[k].href;}
if(entry.link[k].rel=='alternate'){posturl=entry.link[k].href;break;}}var thumburl;try{thumburl=entry.media$thumbnail.url;}catch(error)
{s=entry.content.$t;a=s.indexOf("<img");b=s.indexOf("src=\"",a);c=s.indexOf("\"",b+5);d=s.substr(b+5,c-b-5);if((a!=-1)&&(b!=-1)&&(c!=-1)&&(d!="")){thumburl=d;}else thumburl='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFeCet6mvZcWjPtJQZ-lsheNjDWhFlEQFg5Ud0qPnuW4zRU6QvgqJMBusMqa_J0AY1PWqef0efXLpqwP0Zy9Uw6szv0Va7_M3ugjRv8DlLHifgomeJDNwI51mFoXunOIAyBHDTzhTDCfs/s1600/picture_not_available.png';}
var postdate=entry.published.$t;var cdyear=postdate.substring(0,4);var cdmonth=postdate.substring(5,7);var cdday=postdate.substring(8,10);var monthnames=new Array();monthnames[1]="Jan";monthnames[2]="Feb";monthnames[3]="Mar";monthnames[4]="Apr";monthnames[5]="May";monthnames[6]="June";monthnames[7]="July";monthnames[8]="Aug";monthnames[9]="Sept";monthnames[10]="Oct";monthnames[11]="Nov";monthnames[12]="Dec";document.write('<li class="clearfix">');if(showpostthumbnails==true)
document.write('<a href="'+posturl+'" target ="_top"><img class="label_thumb" src="'+thumburl+'"/></a>');document.write('<strong><a href="'+posturl+'" target ="_top">'+posttitle+'</a></strong><br>');if("content"in entry){var postcontent=entry.content.$t;}
else
if("summary"in entry){var postcontent=entry.summary.$t;}
else var postcontent="";var re=/<\S[^>]*>/g;postcontent=postcontent.replace(re,"");if(showpostsummary==true){if(postcontent.length<numchars){document.write('');document.write(postcontent);document.write('');}
else{document.write('');postcontent=postcontent.substring(0,numchars);var quoteEnd=postcontent.lastIndexOf(" ");postcontent=postcontent.substring(0,quoteEnd);document.write(postcontent+'...');document.write('');}}
var towrite='';var flag=0;document.write('<br>');if(showpostdate==true){towrite=towrite+monthnames[parseInt(cdmonth,10)]+'-'+cdday+' - '+cdyear;flag=1;}
if(showcommentnum==true)
{if(flag==1){towrite=towrite+' | ';}
if(commenttext=='1 Comments')commenttext='1 Comment';if(commenttext=='0 Comments')commenttext='No Comments';commenttext='<a href="'+commenturl+'" target ="_top">'+commenttext+'</a>';towrite=towrite+commenttext;flag=1;;}
if(displaymore==true)
{if(flag==1)towrite=towrite+' | ';towrite=towrite+'<a href="'+posturl+'" class="url" target ="_top">More »</a>';flag=1;;}
document.write(towrite);document.write('</li>');if(displayseparator==true)
if(i!=(numposts-1))
document.write('');}document.write('</ul>');}
//]]>
</script>

<script type='text/javascript'>var numposts = 5;var showpostthumbnails = true;var displaymore = false;var displayseparator = true;var showcommentnum = false;var showpostdate = false;var showpostsummary = true;var numchars = 200;</script> 
<script type="text/javascript" src="/feeds/posts/default/-/Articles2Read?published&alt=json-in-script&callback=labelthumbs"></script>


-----------------------------------------------------------------------------------------
var numposts = 5 - Replace 5 with the number of post you want to show.
Articles2Read - Change it with the label of the posts of the blog.




NEC/EM/Consultant/16/2016 Government of India Ministry of Development of North Eastern Region North Eastern Council Secretariat, Shillong- 793003 

ADVERTISEMENT NOTICE 

The North Eastern Council Secretariat, Shillong invites applications for the contractual posts of 3(three) Consultants- one each in the fields of Agriculture and Allied (Agriculture/ Horticulture), Veterinary & Animal Husbandry and Civil Engineering disciplines. The details are available in the NEC website (http://necouncil.gov.in). The applications should be submitted to the undersigned in Room No. 534, NEC Secretariat, Nongrim Hills, Shillong- 793003, latest by 1st September, 2017. 


ABOUT THE NORTH EASTERN COUNCIL
          The North Eastern Council is the nodal agency for the economic and social development of the North Eastern Region which consists of the eight States of Arunachal Pradesh, Assam, Manipur, Meghalaya, Mizoram, Nagaland, Sikkim and Tripura.
              The North Eastern Council was constituted in 1971 by an Act of Parliament.The constitution of the Council  has marked the beginning of a new chapter of concerted and planned endeavour for the rapid development of the Region.
          Over the last thirty five years, NEC has been instrumental in setting in motion a new economic endeavour aimed at removing the basic handicaps that stood in the way of normal development of the region and has ushered in an era of new hope  in this backward area full of great potentialities.
Latest NEC Advertisements: 

»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»
»

North Eastern States

 
»
»
»
»
»
»
»
»

Stopping people from copying your work

Physically stopping people from being about to make copies of  work is another approach.

In this post, I would like my visitors to learn how to protect (Disable Copying Text) your hard work spend in creating and writing fresh articles on your website or blog by being stolen by some others.


Copying the writing from your website and placing it elsewhere is common on the net. There are sites which often doesn’t make it possible for us to copy the content on the web pages. The content function is disabled from the site through the site admin so that you can protect the website. We might find how to implement the identical methodology pertaining to Blogger. This key is valid for almost any sites. This trick will probably disable (Ctrl+A) function to your site.

Sometimes the trick may not be compatible with some old browsers. But, we will see how to make things more secure in my future posts.

    There are scripts that you can add to your blog that disable the right-click option for anyone who is viewing the page: this makes it harder to copy-and-paste text or to save pictures.  However I don't recommend this approach: it's easy for tech-savvy people to disable the scripts or to work around them (eg to look at your page source code and copy the picture location from it), and because it stops your viewers from doing other things (eg opening links in a new window) that they should be able to do. 


    Another option is to stop people from copying text from your blog. As with disabling right-click, I don't much like this approach, and don't use it: as with disabling right-clicks, it doesn't apply to RSS-feed or email subscribers, and a determined copycat can either disable Javascript, or take a screen shot and OCR it, or even just re-type the content.  But it might be suitable for some blogs. 

    Copy the following HTML code and place it anywhere in your blog. This will disable right key of the computer mouse. 


    Steps to implement to Blogger (Disable Copying Text):


    1. Go to Dashboard Select the blog where you would like to implement the code
    2. Go to Layout Add a Gadget > Select “HTML/JavaScript gadget”
    3. Paste the following code in the box:


    <script src='demo-to-prevent-copy-paste-on-blogger_files/googleapis.js'></script>
    <script type='text/javascript'>
    if (typeof document.onselectstart!="undefined" ) {
      document.onselectstart=new Function ("return false" );
    } else {
      document.onmousedown=new Function ("return false" ); document.onmouseup=new Function ("return true" );
    }
    </script>



    Save it!! Now your contents are protected from copy.

    Recent post widget is real important for every blogger and reader.  There can be several benefits of it such as showing your latest posts to the visitors and thus getting more views. Recent post widget is a great way to keep your visitors browsing more and more articles on your blog and thus lowering website bounce rate.  Such great features make it important to add an attractive recent post widget to attract a lot of visitors and make them click.
    Although blogger provides its own default recent post widget but its too simple and unattractive  that everyone would consider using third party widget . There are several attractive colorful recent post widgets available on the internet  , you should add which is most suitable to niche of your blog . Some of widget contains third party javascripts  and may reduce loading speed of your blog  so you need to choose the one wisely .

    How to add recent post widget to your blog

    • Log into your blogger dashboard >>  go to Layout >>  and click on Add a gadget
    add a widget to blogger

    <div id="hlrpsa">
    <script type="text/javascript">
    function showrecentposts(t){for(var e=0;e<numposts;e++){var n,r=t.feed.entry[e],i=r.title.$t;if(e==t.feed.entry.length)break;for(var s=0;s<r.link.length;s++)if("alternate"==r.link[s].rel){n=r.link[s].href;break}i=i.link(n);var a="...",d=r.published.$t,u=d.substring(0,4),o=d.substring(5,7),c=d.substring(8,10),l=new Array;if(l[1]="Jan",l[2]="Feb",l[3]="Mar",l[4]="Apr",l[5]="May",l[6]="Jun",l[7]="Jul",l[8]="Aug",l[9]="Sep",l[10]="Oct",l[11]="Nov",l[12]="Dec","content"in r)var m=r.content.$t;else if("summary"in r)var m=r.summary.$t;else var m="";var w=/<\S[^>]*>/g;if(m=m.replace(w,""),document.write('<div class="rctitle">'),standardstyling&&document.write("<br/>"),document.write(i),1==showpostdate&&document.write(" - "+l[parseInt(o,10)]+" "+c+" "+u),document.write('</div><div class="rcsumm">'),1==showpostsummary)if(standardstyling&&document.write(""),m.length<numchars)standardstyling&&document.write("<i>"),document.write(m),standardstyling&&document.write("</i>");else{standardstyling&&document.write(""),m=m.substring(0,numchars);var g=m.lastIndexOf(" ");m=m.substring(0,g),document.write(m+a),standardstyling&&document.write("")}document.write("</div>"),standardstyling&&document.write("")}standardstyling||document.write('<div class="bbwidgetfooter">'),standardstyling&&document.write(""),document.write(""),standardstyling||document.write("")}
    </script>
    <script type="text/javascript">
    var numposts = 5;var showpostdate = true;var showpostsummary = true;var numchars = 100;var standardstyling = true;
    </script>
    <script src="http://blog-address.blogspot.com/feeds/posts/default?orderby=published&amp;alt=json-in-script&amp;callback=showrecentposts">
    </script></div><a style="font-size: 9px; color: #CECECE; float: right; margin-top: 10px;" href="http://helplogger.blogspot.com/2012/04/recent-posts-widget-for-bloggerblogspot.html" rel="nofollow" >Recent Posts Widget</a>
    <noscript>Your browser does not support JavaScript!</noscript>
    <style type="text/css">
    .rctitle a{color:#000000;text-transform:capitalize;font-size:13px;}#hlrpsa {color: #999999; font-size: 12px;}.rcsumm {border-bottom:1px dotted #cccccc; padding-bottom:10px;margin-top:5px;}
    </style>


    Copy the above code and place it in your widget.




    Image may contain: 6 people, people standing, outdoor and text31st July, 2017 : August ni 12, 2017 hma ngeia Saitual District tihpuitlin ngiat nan Saitual bial mipuiten vawiin khan kawng an zawh.
    He hunah hian Saitual Town - Ruallung, Rulchawm, Keifang, Saitual, Sihfa bakah Dilkhan, Tualbung, N.Lungpher, Buhban, Thanglailung, Phullen, Mualpheng, Lenchim, Tawizo, Saichal leh Phuaibuang atangin mipui sang li vel an fuankhawm a ni.

    Saitual Town Youth Organisation huaihawtin vawiin zing khan Aizawlah pawh Saitual Town Welfare hrang hrangten a huhovin Zodin Square, Non-Violence ngaisangtu Mahatma Gandhi lim bulah Saitual District tihpuitlin an duhzia an lantir bawk.
    Image may contain: outdoorSaitual bial mipuite chuan Saitual District, a tak ngeia nih ve tawh kan duh takzet a, tharum tel lovin, hman atanga vawiin thlengin kan la bei zel a, vawiinah pawh hian flag var nen Sawrkar kan la ngaichang hram hram a ni. Saitual District function hi a pawng a puiin kan dil ve ngawt lo a, kan chan tur ni daih tawh District min nih khalh taten dilna chang an hriat hma daih atanga dil tawhtu kan ni a, chu mai ni loin Congress party tlakchhiat ber lai pawha ‘Chakma bial’ tih hial khawpa INC candidate thlangtling ngar ngartu kan ni a, tunah hian kan vanneihna herchhuak ve tain kan hria a, Home Minister Term hnih (kum 10) bial kan lo ni ve ta. Congress Ministry hian lawmthu sawi nan chauh pawh District min pek hi kan phuin ka inhria, inthlan dawna kan Home Minister-in tihhlawhtlin min tiamnate leh Chief Minister-in hmasawnna chu Saitualah tan a ni ang a tihte kha kan rilruah a thi thei lo a ni.
    Tin, Mizoram Sawrkarin District Re-oranisation Committee, June ni 16, 2016-a a dinin District thar siam thei tura a tehna hrang hrangah kan tling a, tunah hian rawtna pawh an peih fel tawh niin kan hria a, Sawrkarin District puitlinga min siam vat hi kan phut tlat a, Aizawl District lian fal lutuk avanga hmasawnna dawng ve phak lo nih hi kan ning tawh takzet a ni, Flag dum leh sen zar chunga tha ruma nawr ngai lo turin August ni 12, 2017 hmain Sawrkarin D.C rawn dah mai rawh se, an ti.


    MIZORAM DISTRICT INFORMATION (2011 Census)
    1.Aizawl District :- Constituency 14, Population 4,00,309
    2.Lunglei District :- Constituency 7, Population 1,61,428
    7. Serchhip District :- Constituency 3, Population 64,937
    8. Siaha District :- Constituency 2, Population 56574

    Image may contain: 7 people, people smiling, people standing, crowd and outdoor

    TAKAM TE AN MIKHUALNA RAM MIZORAM HI CHHUAH SANA ANMAHNI THLA VANG HAUHTU KARNATAKA STATE LAMA KAL NGHAL TURIN MZP CHUAN THURAWN A PE NGHAL A NI

    3rd August , 2017
    MZP PRESS RELEASE
    Related image
    .
    MZP chuan Karnataka State Rajya Sabha MP Basawaraj Patil -in Mizoram duat sual Takam(Chakma) te vuivaina thu tak a ngai a, Parliament House meuha a tlangaupui mai hi tha lo a tiin, thil nihphung zirchiang hmasa lova a chetna hi kan dem takzet a ni. Chan tawka lungawina chang hre duh hauh lo, mikhual duham tak, Chakmate fin kherek na hi chiang zawka zir tha leh tur leh, Mizote min puhna hi a dik reng em tih min zawt ve ngei turin MZP chuan a phut tlat a ni.
    .
    Ni 31st July 2017-a neih, Parliament session-a BJP MP(Rajya Shaba), Basawaraj Patil hian Takam(Chakma) hi Mizorama pem lut an nih dante, dan lova Bangladesh atanga rawn lut ru, pung chak em em an nih dan te, ADC an neih chakna hmanga Document dik lo an in siam sak nasat dante, chenna hmun ruahman saktu leh Ram neitute laka lawm a hnekin, bei let char chartu an nihna te, chanchintha hrilhtu Mizote nunna hial rapthlak taka laksak duhtu an nihna te, Court hrang hranga ram leilungfate hek rengtu an nihna te leh an ram nghet nia an hriat ram Chittagong Hill Tract, Bangladesh chu UNO ah luah let tura an beih let reng thute hi hria se, a thil tih kha a tihawm rengah a ngai angem? tih hi a MZP zawhna a ni.
    .
    Chutiang zawng zawng chu hre reng chunga a ti a nih chuan, Takam(Chakma) te tuamhlawm leh enkawl a huam ngei turah MZP chuan a ngai a, duat sual an nihna hre duh lotu Takam(Chakma) zawng zawngte pawh, anmahni hmangaihtu ni a an hriatte ram Karnataka State-ah a rang thei ang bera, an mikhualna ram Mizoram hi chhuahsana anmahni thla vang hauhtu Karnataka state lama kal nghal turin MZP chuan thurawn a pe nghal a ni.
    .
    Kan ramah hian a ram neitu Mizote hian kan chanvo kan chan ngei hi kan tihtur leh kan chanvo dik a nih thu MZP chuan a puang nawn leh a. Thudiklo leh belhchian dawllo hmanga min hek rengtu te hekna thu, thutak cheibawla chei bawl thin Political Party an awm a nih chuan chu Party chu inenlet turin MZP chuan a ngen a, kan ram tana him lova chet tum tan hmun zalen siam a duh ngai dawn lo a ni. He ram hi kan pi leh pu ten, lu chhum ban chhum huama an lo sah zau, kan ram chhungah hian lawm nachang hre hauh lo mikhualte chunga that chhuah reng hi, Mizote hian kan ba hauh lo tih hi khawvel hriatah a puang nawn leh a, kawng engkima Mizo hnam min puhchhiatna zawng zawng hi a hre vek tih leh, dawh theih loh hun kan nei a nih pawhin anmahni Takam(Chakma) te cho chhuah ngei a nih tur thu MZP chuan a puang nawn leh bawk a ni.
    .

    (L.RAMDINLIANA RENTHLEI)
    General Secretary
    Powered by Blogger.