How to Create Archive Page for My Blogger(blogspot) Blog

I use Google Blogger as my website, and I always want to create one Archive Page for my blogger site, so I Google it-"blogspot archive page", I find the simple method, and I'll share it with you.

what you will read:
how to create archive page for blogger blog?
how to set a landing page for blogspot?
how to disable right click for my blogger blog?

*******
How to Create Archive Page for My Blogger(blogspot) Blog:
This is a screen shot of what I'll be showing in this tutorials. The Archive Page Updates automatically too...

Method 1:
Step 1.
Head over to your Blogger Dashboard. Create a new page and name it "archive" or something you want it to be.

Step 2.
Ensure you are in the HTML mode. Copy the code below into your new page.

<script src="http://ibotyle.com/blogger_archive_page.js" type="text/javascript">
</script>
<script src="http://xyz.blogspot.com/feeds/posts/default?max-results=500&alt=json-in-script&callback=LoadTheArchive">
</script>

Step 3.
Edit the "xyz.blogspot.com" to your blog address and hit the publish button...

All your blog post should be archived on the new page.

Note: Ensure to drop a link to the archive page on your blog home page for faster indexing. 

via: https://centralbase.blogspot.com/2015/07/archive-page-blogger-blogspot-blogs.html

Method 2(方法二):http://www.sarwrites.com/2015/09/create-archive-listpage-for-blogger.html

*******

Now you have your custom archive page of your blogspot website, maybe you also want to set a landing page for your blogspot website, here is the way:

1) Make a page in your blogger and name it like “Welcome” or anything that can fit for a landing page
2) Now insert all that things in this page which are required for a custom landing page
3) After you have finished working on your landing page, Just go to Settings > Search preferences :
And in the “Errors and redirections” section edit the “Custom Redirects” like this :
a) In “From” section add “/” (Forward Slash)
b) In “To” section add “/p/YOUR_LANDING_PAGE.html
Replace “YOUR_LANDING_PAGE.html” with the URL of the landing page which you have created recently, Set it like this :
If you have a landing page with URL : hacking-guide.com/p/landingpage.html
Then in the “To” section insert like this : /p/landingpage.html
c) Tick on “Permanent
d) Click on “Save
e) Now click on “Save changes” button

via http://www.hacking-guide.com/how-to-make-custom-landing-page-in/



*******
how to disable right click for blogspot?

  • Log in to Blogger Dashboard and navigate to Layout.
  • Click on ‘Add a Gadget‘ on the sidebar.
  • Select ‘HTML/Javascript‘ paste the given code and finally click on save 🙂 ..

<script language=javascript>
<!--
//Disable right click script - By LegendTricks.com
//
var message="Function Disabled";
////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</script>

via: http://www.legendtricks.com/2016/04/how-to-disable-right-click-on-blogger.html


*******
the backup code of http://ibotyle.com/blogger_archive_page.js******

// Awajis Blogger Archive Page
function LoadTheArchive(TotalFeed) 
{
    var PostTitles = new Array();
    var PostURLs = new Array();
    var PostYears = new Array();
    var PostMonths = new Array();
    var PostDays = new Array();
    if("entry" in TotalFeed.feed) 
    {
var PostEntries=TotalFeed.feed.entry.length;
for(var PostNum=0; PostNum<PostEntries ; PostNum++) 
{
   var ThisPost = TotalFeed.feed.entry[PostNum];
   PostTitles.push(ThisPost.title.$t);
   PostYears.push(ThisPost.published.$t.substring(0,4));
   PostMonths.push(ThisPost.published.$t.substring(5,7));
   PostDays.push(ThisPost.published.$t.substring(8,10));
   var ThisPostURL;
   for(var LinkNum=0; LinkNum < ThisPost.link.length; LinkNum++) 
   {
if(ThisPost.link[LinkNum].rel == "alternate") 
{
   ThisPostURL = ThisPost.link[LinkNum].href;
   break
}
   }
    PostURLs.push(ThisPostURL);
}
    }
    DisplaytheTOC(PostTitles,PostURLs,PostYears,PostMonths,PostDays);
}

function DisplaytheTOC(PostTitles,PostURLs,PostYears,PostMonths,PostDays)
{
    var MonthNames=["January","February","March","April","May","June","July","August","September","October","November","December"];
    var NumberOfEntries=PostTitles.length;
    for(var EntryNum = 0; EntryNum < NumberOfEntries; EntryNum++)
    {
NameOfMonth = MonthNames[parseInt(PostMonths[EntryNum],10)-1]
document.write('<a href ="'+PostURLs[EntryNum]+'">'+PostTitles[EntryNum]+"</a> ("+NameOfMonth+" "+parseInt(PostDays[EntryNum],10)+", "+PostYears[EntryNum]+")<br />");
    }

}

Popular posts from this blog

YouTube镜像网站(已失效)

免费的机场推荐

Free Shadowsocks Accounts

申請台北免費教育信箱

Shadowsocks使用在线PAC,提高翻fq墙速度

proton drive,免費5G端到端加密雲端儲存空間

mega,提供免費20GB的用户端加密的雲存儲空間

免費的線上PDF工具網站

Transfer.it,mega提供的免費的大文件分享工具

主頁

Terms of Use

Privacy Policy

Bianca Censori的新衣服

內衣模特heather-crook

namesilo域名註冊優惠碼:1d0llar,註冊域名的時候填寫這個優惠碼可以便宜1美元。

超級方便的小工具

Windows電腦一鍵關機與睡眠 - 桌面捷徑教學

Windows電腦的休眠與睡眠的差別

很有料的跨設備文件传送工具

webwormhole,端對端加密,實時傳送,不限制文件的大小,文件甚至不經過上傳到伺服器的環節,超贊的

wormhole,文件最大可達 10 GB

或許這世間一切的好往往都是求之不得的吧。有心栽花花不發,無心插柳柳成蔭;有心栽柳柳不成蔭,無意種花花卻繁華