Simplify your work by using our tools like, invoice generator, tool tips generator, css generator, html editor and more

Blogger Random Post Generator

♠ Posted by Merbin Joe in at 11:28
This tool is used to create Random post widget for blogger, you can customize through tools. Your code will getting finally your code will not repeated so your blog will not affect.
     This tool is used to create Random post widget for blogger, you can customize through tools. Your code will getting finally your code will not repeated so your blog will not affect.


Blogger Random Post Generator Beta Version 2.0 (Next Version will soon)


Tool
Enter Your Blogger URL : (Wrong URL, possible to hang down this page, If hang down press F5 and try again)

Note:Don't Forget to put "https://"

Font Size
12px
Font Color


Text caption

Line


  (OR)  

Font Size
10px
Font Color


Text caption

Line


  (OR)  

Font Size
10px
Font Color


Text caption

Line


  (OR)  
Title Top Bottom
0px
Description Top Bottom
0px
Comments Top Bottom
0px
Set List Background Color
(Best Choice 25%,50%,75%,100%)

Color1 :
Color2 :
Color3 :
Color4 :
Preview    Add Widget with Blogger[If it is not working Copy the code and paste manually]
Copy the Below code and Paste it to Gadget.(Layout=>Add Gadget=>select HTML/JavaScriptAdd paste under "Content" and press save) )
<div id='style_div'><style> #random-posts img { border-radius: 10px; float: left; margin-right: 5px; width: 75px; height: 75px; background-color: #F5F5F5; padding: 3px; transition: all 0.2s linear 0s; } #random-posts img:hover { opacity: 0.6; } ul#random-posts { list-style-type: none; padding: 0px; } #random-posts a { font-size: 12px; color: #; text-decoration: underline; font-family: none; text-transform: capitalize; padding: 0px auto 5px; } #random-posts a:hover { text-decoration: none; } ul#random-posts li div:first-child { margin-top: 0px; } .random-summary { font-size: 10px; color: #; text-decoration: none; font-family: none; text-transform: capitalize; background: none; padding: 5px; margin-right: 8px; margin-top: 0px; } .random-comment { font-size: 10px; color: #; text-decoration: none; font-family: none; text-transform: capitalize; background: none; padding: 5px; margin-right: 8px; margin-top: 0px; } #random-posts li { margin-bottom: 10px; border-bottom: 1px solid #EEEEEE; padding: 4px; background: -moz-linear-gradient(top, # 0%, # 0%, # 0%, # 0%); background: -webkit-linear-gradient(top, # 0%, # 0%, # 0%, # 0%); background: -o-linear-gradient(top, # 0%, # 0%, # 0%, # 0%); background: -ms-linear-gradient(top, # 0%, # 0%, # 0%, # 0%); background: linear-gradient(to bottom, # 0%, # 0%, # 0%, # 0%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#', endColorstr='#',GradientType=0 ); } </style> </div><ul id='random-posts'><script>var randomposts_number = 5; var randomposts_chars = 110; var randomposts_details = 'yes'; var randomposts_comments = 'Comments'; var randomposts_commentsd = 'Comments Disabled'; var randomposts_current = []; var total_randomposts = 0; var randomposts_current = new Array(randomposts_number); function randomposts(json) { total_randomposts = json.feed.openSearch$totalResults.$t } document.write('<script type=\'text/javascript\' src=\'https://allinworld99.blogspot.in/feeds/posts/default?alt=json-in-script&max-results=0&callback=randomposts\'><\/script>'); function getvalue() { for (var i = 0; i < randomposts_number; i++) { var found = false; var rndValue = get_random(); for (var j = 0; j < randomposts_current.length; j++) { if (randomposts_current[j] == rndValue) { found = true; break } }; if (found) { i-- } else { randomposts_current[i] = rndValue } } }; function get_random() { var ranNum = 1 + Math.round(Math.random() * (total_randomposts - 1)); return ranNum }; </script> <script type='text/javaScript'> function random_posts(json) { for (var i = 0; i < randomposts_number; i++) { var entry = json.feed.entry[i]; if (typeof entry === 'undefined'){return false;} var randompoststitle = entry.title.$t; if ('content' in entry) { var randompostsnippet = entry.content.$t } else { if ('summary' in entry) { var randompostsnippet = entry.summary.$t } else { var randompostsnippet = ""; } }; randompostsnippet = randompostsnippet.replace(/<[^>]*>/g, ""); if (randompostsnippet.length < randomposts_chars) { var randomposts_snippet = randompostsnippet } else { randompostsnippet = randompostsnippet.substring(0, randomposts_chars); var whitespace = randompostsnippet.lastIndexOf(" "); randomposts_snippet = randompostsnippet.substring(0, whitespace) + "&#133;"; }; for (var j = 0; j < entry.link.length; j++) { if ('thr$total' in entry) { var randomposts_commentsnum = entry.thr$total.$t + ' ' + randomposts_comments } else { randomposts_commentsnum = randomposts_commentsd }; if (entry.link[j].rel == 'alternate') { var randompostsurl = entry.link[j].href; var randomposts_date = entry.published.$t; if ('media$thumbnail' in entry) { var randompoststhumb = entry.media$thumbnail.url } else { randompoststhumb = "http://3.bp.blogspot.com/-5SoVe1K6JSk/Utl0OOmucAI/AAAAAAAAF6E/hQghgD_EJdQ/s1600/no_thumb.png" } } }; document.write('<li>'); document.write('<a href="' + randompostsurl + '" rel="nofollow"><img alt="' + randompoststitle + '" src="' + randompoststhumb + '"/></a>'); document.write('<div><a class="""" href="' + randompostsurl + '" rel="nofollow">' + randompoststitle + '</a></div>'); if (randomposts_details == 'yes') { document.write('<span><div class="random-info"><div class="random-comment">' + randomposts_date.substring(8, 10) + '.' + randomposts_date.substring(5, 7) + '.' + randomposts_date.substring(0, 4) + ' - ' + randomposts_commentsnum + '</div>')+'<\/div><\/span>' }; document.write('<div class="random-summary">' + randomposts_snippet + '</div><div style="clear:both"></div></li>') } }; getvalue(); for (var i = 0; i < randomposts_number; i++) { document.write("<script type='text\/javascript' src='https://allinworld99.blogspot.in\/feeds\/posts\/default?alt=json-in-script&start-index=" + randomposts_current[i] + "&max-results=1&callback=random_posts'><\/script>")}; </script> </ul>

12 comments :

Nice job done by you and its really great website on the google. I like it ,very nice post.
Garmin Express

Today, many malware are being created that harm their windows and Mac computers, and there are various types of viruses such as threats, worms , Trojans, malware and phishing.
norton.com/setup

When your website or blog goes live for the first time, it is exciting. That is until you realize no one but you and your. Pay stub creator

MS office.com/setup home student 2019
now has become the most used and more than a compulsory toolbox of applications to your device. If you are using the Windows platform then it's a must for you to install it.

I like your post. It is good to see you verbalize from the heart and clarity on this important subject can be easily observed... Paystub creator

I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article. Pay check stubs

Great blog! The JustEat Clone seems like the perfect solution for entrepreneurs looking to break into the food delivery market with ease and efficiency. 🚀🍔

Post a Comment