Requirements
Well, this process is a bit tough for the newbies. But if you know the wapka’s default functions then it will be easy for you. So the basic requirements are:
Steps
First of all, login to your wapka site as Admin. Then create a new site which will be visible in admin mode and Free access. Remember it’s ID.
Now enter the site you just created and navigate to “::EDIT SITE(#):: > Ex-loader“. You will see few input box and select menus there. Fill them as described below:
URL:
http://api.mirazmac.info/wapka-search/v1?uri=:getid-url:
Select part*:
@<!--Miraz-->(.+)<!--Mac-->@si
Display HTML tags (br,b,i,u):
a,b,br,div,img,table,span,i,tbody,tr,td,p
Browser (user-agent)**:
Mozilla/5.0 (compatible; MirazBot/1.0; +http://api.mirazmac.info/bot.html)
Loading interval:
Direct access ***
Now press Submit and you should see a error message like this:
Don’t worry if you see this error message that means you are going very well. Now Put this code where you want to show the search box via ::EDIT SITE(#):: > Wml/xhtml code .
In this code replace the string THE_SITE_ID with the site ID you created earlier. And also replace YOURSITE.EXT with your site URL(without http:// or www at start).
<form method="GET" action="site_THE_SITE_ID.xhtml"> Search Terms:<br/> <input type="text" value=":get-q:" name="get-q"/> <input type="hidden" value="YOURSITE.EXT" name="site"/>:admin-hash-input:<input type="submit" value="Search"/> <br/> </form>
Tada! All set! Try searching and see the result yourself!
Hey wait! But its looking odd without any styles, isn’t it? No worries! You can customize it as you wish using CSS. Put this code in your site’s Head Tags(meta,styles..).
<style type="text/css"> /* Default Theme by Miraz Mac */ .serp{background: #FFF none repeat scroll 0% 0%; padding: 5px; border-bottom: 1px solid #F2F2F2;} .mac_link{color:blue;text-decoration:none;} .mac_host{color: rgb(28, 149, 28);} .mac_content{margin: 0px; font-size: 13px; color: rgb(102, 102, 102);} .mac_pages{text-align: center; padding: 4px; background: rgb(249, 249, 249) none repeat scroll 0% 0%;} .mac_pages a{border: 1px solid rgb(187, 187, 187); padding: 1px 4px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; text-decoration: none; color: #4E4E4E;margin: 1px;} .mac_pages b{border: 1px solid #CECECE; padding: 1px 4px; background: #FFF none repeat scroll 0% 0%; color: #B4B4B4; margin: 1px;} </style>
So how its looking now, huh?
Conclusion
Now look, don’t tell me that its not working for you or you was unable to do it successfully. Cause even a guy with a basic knowledge in wapka can do that easily. Check the live demo here.
Hey dude! You are consuming my site’s bandwidth by using this search system. So you should credit me with a backlink on the search page. And if you try to claim it as your own creation, I will simply put your site into blacklist. Remember that! Bye,
No comments:
Post a Comment