How search engines work (plese look inside)?

A few questions.

1. How do seach engines find things about what a website is about besides useing the <meta> tag?

2. How can you get the top result on a search engine if your basic thing is put in. (Ex. Landmark Missionary Baptist Church, right now the (just about) only way to find out site it to type in a nearby location)

3. Is the only way that search engines find things are by robots and by people submitting URLs?

4. How does your URL affect the search results?

5. How much does it cost to pay search engines to be the first results?

6. Is there a simple way to submit your sire to a whole bunch of search engines at once?

7. Is there any other ways besides the <meta> tag to add tags to your result?

If you want to add more, feel free!
When you answer, please add the number of which you are ansewring.

Thanks, the best answer will get 11 points! (not 10)!!!!!
Please don’t just say yes, I need information, not just yes, of course. . .

Technorati Tags: , , , , , , , , ,

How search engines work (plese look inside)?

A few questions.

1. How do seach engines find things about what a website is about besides useing the <meta> tag?

2. How can you get the top result on a search engine if your basic thing is put in. (Ex. Landmark Missionary Baptist Church, right now the (just about) only way to find out site it to type in a nearby location)

3. Is the only way that search engines find things are by robots and by people submitting URLs?

4. How does your URL affect the search results?

5. How much does it cost to pay search engines to be the first results?

6. Is there a simple way to submit your sire to a whole bunch of search engines at once?

7. Is there any other ways besides the <meta> tag to add tags to your result?

If you want to add more, feel free!
When you answer, please add the number of which you are ansewring.

Thanks, the best answer will get 11 points! (not 10)!!!!!

Technorati Tags: , , , , , , , , ,

about search engines?

ok!
in search engines like google
they keep <form><input type = text value = search for your results action="____-.html"><INPUT TYPE = submit value = search>
</form>but,how can they insert key word.i mean if they enter something in the text box we can get the results.how is this possible.

explain me in html language.no java or something

Technorati Tags: , , , ,

How do I align my submit button image in Internet Explorer?

I have a search engine for my site and I decided to make the search button an image. It works fine (it even has a rollover effect) but in Internet Explorer, the image does not align. I use Firefox because it is way better in my opinion, but I want to make it work for Internet Explorer too for other people when they visit my site.

The code I use for my search form is this:

<form name="form1" method="post" action="../search.php" align="right">

<table width="200" cellspacing="0" cellpadding="0" align="right" valign="middle">
<tr>
<td width="36%" valign="middle">
<div align="center">

<input type="text" name="keyword">

</div>
</td>
<td width="64%" valign="middle">

<input type="image" valign="middle" src="../pictures/search-box.jpg" onmouseover="this.src=search-box2.jpg" onmouseout="this.src=search-box.jpg" value="Search" alt="Search" title="Search">

</td>
</tr>
</table>
</form>

You probably don’t understand my problem yet. Let me explain:
In Mozilla Firefox, the search box and the submit button align in the center of the box vertically and horizontally (vertically = valign, horizontally = align) and it is very neat. In Internet Explorer, they align horizontally (align="center") but even though I have valign="middle" they don’t align together vertically. The search box is in the middle vertically, but the Submit button (the image) is up at the top of the table instead of in the middle right next to the search box like it should be. It’s very annoying.

Please tell me how I can make it so both the search box and the submit button image will line up in the middle of the table together. I have already tried everything I know, including valign and setting the height of the table.

Technorati Tags: , , , , , , , , , ,

What code do I add to this to make search results emboldened? PHP?

I am learning PHP and decided to watch a tutorial on how to make a search engine. However, much like Google, I would like to make it so that all keywords typed by the user are emboldened. How can this be achieved? Thank you

<?php
//get data
$button = $_GET['submit'];
$search = strtolower($_GET['search']);

if(!$button)
echo "You didn’t submit a keyword";
else
{
if (strlen($search)<=0)
header( ‘location:http://www.mysite.com’ );
else
{
//connect to our database
mysql_connect("localhost", "mysite_search","pass");
mysql_select_db("mysite_search");

//explode our search term
$search_exploded = explode(" ",$search);
foreach($search_exploded as $search_each)
{
//construct query
$x++;
if ($x==1)
$construct .= "keywords LIKE ‘%$search_each%’ OR description LIKE ‘%$search_each%’ OR title LIKE ‘%$search_each%’";
else
$construct .= " OR keywords LIKE ‘%$search_each%’ OR description LIKE ‘%$search_each%’ OR title LIKE ‘%$search_each%’";
}

//echo out construct

$construct = "SELECT * FROM search WHERE $construct";
$run = mysql_query($construct);
$foundnum = mysql_num_rows($run);
if ($foundnum==0)
echo "Your search – ‘<b>$search</b>’ – did not return any results.<p><p>
Suggestions:<p>
<li>Make sure all words are spelled correctly.</li>
<li>Try different keywords.</li>
<li>Try more general keywords.</li>";
else
{
echo "Showing 1-$foundnum of <b>$foundnum</b> results for ‘<b>$search</b>’<p>";
while($runrows = mysql_fetch_assoc($run))
{
//get data
$title = $runrows['title'];
$description = $runrows['description'];
$url = $runrows['url'];

?>
<font face="verdana" size="2" color="blue">
<?
echo "<a href=’$url’>$title</a><br>"
?>
</font>
<font face="verdana" size="2" color="black">
<?
echo "$description<br>"
?>
</font>
<font face="verdana" size="2" color="green">
<?
echo "$url<p>";
?>
</font>
<?

}
}
}
}
?>

Technorati Tags: , , , , , , , ,

Google no longer has my page in the index?

My webpage used to rank high on google when given a set of search words. It actually climbed up to the first position. then, suddenly, the main index.html page no longer appears. The rest of my website pages may appear for the same keywords, but are not ranked high. I tried using the Google webmaster tools, and i’m sure that my page is NOT at all in the index (i.e. i’m sure it will never show up even as the millionth hit). i tried submitting a sitemap but no change. The only changes I made to the front page, is that I call a php script (as part of <IMG SRC="temp.php"> from an IMG source that increments a counter and logs the ip address. It’s been over a month and i have done all kinds of tricks. Any ideas why this might happen?
Note: The pagerank button in my google toolbar shows the page rank as 4/10. But i guess this is a long term average?

Technorati Tags: , , , , , , , , , , ,

SEO Question about the <meta robots tag>…?

I’m building an HTML site. I’ve followed just about all of the basic SEO rules, but do have a couple of pages within the site (not main, primary pages) that utilize frames.
I understand that frames can affect SERP rankings negatively, which is why I’ve kept the use of frames to an absolute minimum and have only used them on pages of lesser importance.

I’d like to prevent the search engines from indexing the FRAMED pages (but NOT the actual FRAME pages) so that they don’t show up as incomplete-looking or "dead end" pages in the SERP’s.

I’m planning on using the following tag to accomplish this:
<meta name=”robots” content=”noindex”>

My question is: Will this have any negative or adverse SERP ranking effects on the other non-frame pages that are meant to obtain the best possible SERP rankings?

Will use of this tag only in the framed pages negatively affect the site as a whole?

Any feedback is greatly appreciated!! Thanks!!

Technorati Tags: , , , , , , ,

How do I customise this HTML code?

The code is for my search engine text box and submit button. The code works fine as it is, but I need to customise it.

I’d like to replace the search button with a image I have (where does the URL go & what do I need to take out of the code?), and also change the text box background colour to black. Can anyone please help?

<div id="site_search_3" style="position: absolute; top:541px; left:232px; width:250px; height:22px;"><form onSubmit="return false;" style="margin: 0; padding: 0;">
<input id="site_search_3_input" name="site_search_3_input" onkeypress="if (event.keyCode==13) window.location.href=’page2.html?site_search_results_2=’+document.getElementById(‘site_search_3_input’).value+’&depth=0′;" style="width: 178px; " type="text" >
<div style="display: inline"><button onclick="window.location.href=’page2.html?site_search_results_2=’+document.getElementById(‘site_search_3_input’).value+’&depth=0′;" style="width: 60px; " >Search</button></div>
</form></div>

Technorati Tags: , , , , , , , , , ,

What do you think of my code for a search engine design?

<html>

<head>
<script type="text/javascript">
function text()
{
document.getElementById("text").focus();
}
function select()
{
document.getElementById("text").select();
}
</script>

<style type="text/css">
#text {background-color:silver;
border:0px;
height:34px;
font-size:27px}
#button {padding:5px}
</style>
</head>

<body onload="text()">

<form>
<input type="text" id="text" value="search" onclick="select()">
<input type="submit" id="button" value="Search">
</form>

</body>

</html>

If you like it you can take it if you wish :)
*focus();
*select();

Technorati Tags: , , , , , , , , , , ,

How do you make a search engine for your website?

I’m curious to know how to add and have a usable search engine on my website. The code i have so far is:
<h3>Search Website </h3>
<form action="#" class="searchform">
<p>
<input name="search_query" class="textbox" type="text" />
<input name="search" class="button" value="Search" type="submit" />
</p>
</form>

But i don’t know what to fill in in each page. I’ll use a site such as http://www.freewebs.com/funforfreaks that is a site i created and say i wanted to have a search engine. BTW that site isn’t done yet, i just made it so it has awhile. But if you could fill in any spots or tell me where i need to insert something to make it work. Thank you!

Technorati Tags: , , , , ,

Next Page »