Skip to main content

How to add a customized search box on blogger website and show the result get sorted by date or relevance.

Place customized search box on blogger website and show the search result based on date or relevance.

A typical Search page link on a blogger website looks like this:

By default the the search page will load result based on relevance. Sometimes you want the result to be displayed based published date. ie, most recent record will be shown first.

The order of record listing is determined by the GET parameter "by-date", the default value of this is "by-date=false".

To display the records based on date you have to pass this parameter as "by-date=true" and the query will look similar to:

Below given is the sample code, Copy the script and put it on your blogger website on where you would like to show the search box.

<div style='text-align:center'>

<form action="" method="get" target="_blank">

<input type=text name="q" style="width:180px"/>
<input type=hidden name="by-date" value="true" />
<input type=submit name="search" value="Search" />


Popular posts from this blog

Payback Points - How to redeem - How to merge multiple payback accounts - Block Payback card - Payback customer care

How to apply for a new ration card and what are the documents required?

List of documents required for new ration card application in Kerala and how to apply

Application for a new ration card should be addressed to Taluk Supply Officer (TSO) / City Rationing Officer (CRO) of applicant's residing area.

Primary document required are Residence certificate, Income certificate and incase the applicant's name is in another ration card then he/she should submit the reduction certificate ontained from previous TSO / CRO as proof for removing his/her name from old Ration card.

You can get the new application from your currently residing Taluk Supply Office.

Your SBI Debit card ending with XX0000 is deactivated only for Internet txn.

SBI account holders may have received an SMS with following message, supposed to be from State Bank of India (SBI).

Your SBI Debit card ending with XX0000  is deactivated only for Internet txn. To activate send SMS "SWON ECOM 0000" to 09223966666. No change for ATM/POS usage
** Replace the four Zeros with last 4 digits of your debit card number

Recently many of the SBI account holder has losed their money due to a hi-tech ATM robbery which happened in Thiruvananthapuram, capital city of Kerala.

Urgent Openings for PHP trainees, Andriod / IOS developers and PHP developers in Kochi Trivandrum Calicut and Bangalore. Please Send Your updated resumes to   Read more »
Search This Blog