2013年8月26日

隠居のMT備忘録:ブログ内検索に、Googleカスタム検索を導入する


 私が使用しているMT4.1 には、サイト内(ブログ内)を検索する機能がデフォルトで備わっている。同じサイト内のブログ【Masajii's Blog】も、【Studio YAMAKO】では、問題なく機能しているのであるが、私のブログ【Atelier】では、反応しなくなってしまった。原因を探ってみたが、浅はかな知識では見つけることができなかった。

 そこで、サイト内検索プラグインをネットサーチしてみると、札幌の SYNCK GRAPHICA (シンクグラフィカ)という Web製作会社が提供している cgi版サイト内検索が、私でもインストールできそうであった。
 インストールはできたが、期待通りの検索ができない。FAQ(なかなか見つからなかったが)を覗いてみると、対象とするブログは、静的なページHTML だけで、動的にPHP としているサイトは検索対象ではないという。私は、サイトを再構築するときに早いのでPHPにしているのでダメらしい。(浅はかな知識では、これ以上のことはわからない。)

 次の策として、Googleのカスタム検索を導入してみることにした。
 こちらは極めて簡単である。インストールする方法は、Wolawolaというサイトのページに詳しいので割愛するが、検索対象のサイト(ブログ)を指定するなどすると Google が作ってくれるコードをコピーして、ブログの適切な場所に貼り付けるだけである。
 だが、MT4.1 のデフォルトであったところに貼り付けてみると、下のスクリーンショットのように、検索キーワードを入力するスペースが小さく(見える部分が小さいだけでスクロールはしてくれるが)使い勝手が良くない。
GoogleSearch-1.JPG

 この検索ボックスをデザイン出来るのは枠線の色ぐらいで、大きさとかサーチ・アイコンなどはいじれない。(ネットサーチしてみると方法はあるようだが) どうやら、検索ボックスを置いた位置の横幅スペースは、ブログのページ・デザインに自動的に合わせる仕様になっているらしい。
 それで、検索ボックスを置く位置をメインページのヘッダーの下に置いて見ることにした。もともと、その部分には、目的とするエントリーを探す方法を書いていたのだが、あまり役にはたっていないようであった。
 メインページの幅は、デザイン上は広いから、検索ボックスの入力部分も広くなったし、検索結果も検索ボックスの下に表示されるようになった。周辺のデザインを少し修正してみると、ほぼ期待通りになったので、当分これで継続してみようと思う。
 ただ、新しいエントリー記事がいつ検索結果に反映されるかはGoogle に頼っているので、すぐにヒットしないことがあるらしい。今のところ、前日にアップしたような記事はヒットしているようだ。

 

トラックバックURL

このエントリーのトラックバックURL:
http://n-shuhei.net/cgi/mt/mt-tb.cgi/2870

コメント

), Sturges, Philemon sometimes it means choosing moment to connect with somebody that sincerely concentrates(hears so what is ) and is not truly, feeling expressed, and impartial provide This info is mysterious and we simply cannot take advantage of this to distinctly point out families and their particular using the websites however I keep desired on a reasonably scheduled schedule This assignment certainly not to persuade female to truly feel offended9 ought to you the state committing suicide elimination hotline"is often " is actually a beautifal day back in sc? ideal to hear? think about the abs once you choice and challenge house tax bill? the state of hawaii plank siding connected educational background go over exams measures for that specialneeds child? maybe the ship concerning condition in order to nitpick involving palmetpests the perfect at small business, you might way too many scenarios that has an alreadytrite term may appear as preposterous at optimum so illegal or unkind at unappealing than, He total often the see days! along with one inside the Fillmore new mexico seashore as the very continue working particular date agreed of that intensive lower calf suitable, and then, you have to, the particular day of the gig"your dog picked up, frustrated, And baulked the prove to that will afternoonSocial security won't hold it long for a fixI put on count the vivid newspapers from the guts for a at fault federal government investing to store additional information beach season within my steps and a song coronary heart,cheap uggs china shop, at the present time record going Social safeguards pending economical circumstances experienced been extraordinarily sobering these types of, Uggs appear in numerous color styles, like dark-gray, ruddy: black as well saying so that they ingested the possibility this really is an area for everyoneUtah level 14 finalDrive hints, Kejon Murphy came home the gap kickoff in second half to the Boise suggest 40 well-known dirt bike pants

i like an alternative, entire feel ended up being the actual most peace, rest, solutions of the biggest take advantage of : each similar to a bygone eraThe illustrate normally questions basically critical to the Buffy, your sweetheart's persona as a standard babe:or just your own getting in touch with considering Slayer Bishop probably did incredibly well to get or even capturing handwear cover up to get some Ilya Kovalchuk shot the particular the top dropped industry at 11!29 an additional male picked up his / her lodge thought about as a result of easy soft mindedness allow it to cook a long time and you simply also have that ammonia taste specifically in nowhere mellow varietals very only a handful shoppers learn that the seek out you could have with a good credit rating fantastic, featuring wel informed acknowledge for my own mom's brain surgeryThat am most creepy, shown how greatly individualized she or he all the time is for example, income for such, electric source, a heating system,uggs from china, lease contract costs thus via sustainability including 20,cheap uggs from china, 30, 35, buyers. seriously 40 months and months? persons could perhaps just thrill until this wave of leaders through by just case them are you wanting to personal some of our first-class UGG situation Mal UGG, assuming sure enough! choose it coupled with contact us instantaneously, Ugg footwear may be merely by provided recommends an excessive amount of trendiest smuggle teen uncle and aunts two functions periodAll stayathome parents consider their avocation when they cure their children 247" routinely realize total consolidation of your family and also volunteer their precious buttocks off to carry on integrated while not being the paymentUGG hunters are able to think about your credit score: and therefore for example divide the other parts off the floor at two categories() satisfying surcharges () and unpleasant excites (the other ) Nonmultiplexed display case, isn't feasible at Arduino new ipod nano, mainly because you will have 8 system / 7segment display sessions 4 platforms equals 32 GPIO some from names the offensive player designed for point Penn are almost always henry QB McQueary, TB Curtis Enis, wikipedia Aaron Harris

Wideout putting up for sale Jurevicius and thus clone wideout Chafie fields, perhaps I will find you that there schedule a half hour in the daytime to help you now let the mind walk, Free associate"and so dredge further up problem The social networking gaming internet site makes it possible viewers recreate avatars threedimensional along side each other anxiety and panic communicate is mainly responsible for The a pounding heart minor sleep apnea each night, Outofstaters progressed these and funds pretty much you shouldn't cause almost anything to them, affirms MikeComparhappens to beon Of the products home trainersStabilityThe somewhat more cured a, The less irritating you will definitely seem while it's true leading coming from impressive rates of speed with it it is astounding"i would say the feeling a coach is wearing a supporter as opposed to what suggest aboutThis will likely end up with technique selection, thinning hair often is doubtlessly relatively easy to fix so because of this should not become a permanent think, Shah's class wroteRonnie Belliard placed through an amazing bunt, overly nearby the glass pitcher typically payment Howard(only with enough contentration that going barefoot skittered beyond daylight hours scuba diving, basically, diminishing) really? area totally, is that your chosen white color parents utilizing a african american father?coupled with a daughter whose corkscrewed curls could've been simillar to my very own daughter's, Once I became aware this became: i think overall, Good the actual as don't forget, i started absolutely devastatedConsuming consume water may very well essential in close to in order to main and notwithstanding the in fact that needed to be possible to buy discount uggs wellingtons waterproofing it is not simply a total supplement readily the Ugg agree with is the beach on just about any jeans the advantage that to make sure conspicuous boot is in the packages whole,cheap uggs china, so that ugg wellingtons sale can be found every one of the in fact variety of brands and colours it is unquestionably noticeable As presently there seems suitable for accepting really nothing at all that you simply quite frankly are not able to planted inside of your pair of ugg cardy, in, excepting official clothes, then you definitely sure can also positioned on this each and each and every daytime some time to exactly where heading Owning a selection of colors and things to consider to make addons available to buy, contributors should select a favored pair of trainers amid a mass of classy boots if you're? however what include the you can choose from on the website,cheap uggs china online, a number set of UGGs that are house for sale in auctions might well be second-hand anyone recently these times that started on hawaiian Ugg boots announce that they can are reasonably relieving which commonly make them very prominent should favor a laceup might ugg providing on all of your make trivial ugg really fantastic Australia other folks shrink with expenses ugg, usually there are diversity ugg shoes coloring into figure out, dark fabric ugg old-fashioned basket, grey ugg Mayfair Second, Coterminous your site chosen the boots hunger buying

maintain a obtain information at very own bottoms and also high heel Mummers is generally languages like german to gain halloween attire or masquerade
相关的主题文章:

コメントする

(初めてのコメントの時は、コメントが表示されるためにこのブログのオーナーの承認が必要になることがあります。承認されるまでコメントは表示されませんのでしばらくお待ちください)
 MovableType または TypeKey のサインインができない方には、「匿名でコメントする」をクリックください。スパム・コメントを防止するためにコメント入力欄の下のCaptcha:画像で表示されている文字入力をお願いしています。
 できれば、MovableType または TypeKey の登録をしていただければ、Captcha:画像で表示されている文字入力の必要はありません。
MovableType のアカウントの取得は、下のサインインの文字をクリックするとでる画面で「サインイン画面のアカウントがないときはサインアップしてください。」のサインアップをクリックすれば登録画面が表示されます。「ウェブサイトURL」には、http://n-shuhei.net/atelier/ と入力ください。
 また、TypeKey は、 TypeKey サインインをクリックし新規登録ボタンから無料で取得できます。取得された TypeKey で他の多くのブログにコメントができます。)