PDA

View Full Version : Can this be read?


The Wizzard
12-21-2002, 06:51 PM
Hi, take a look at my Meta Tags...

<META NAME="keywords" CONTENT="orange county, oc, motorcars, oc motorcars, cars, auto, autos, automobile, autos, vehicles, dealers, classified, finance, insurance, Kelley Blue Book, trucks, vans, coupe, wagon, acura, dodge, mercedes, audi, porsche, ford, honda, hummer, used cars, car, prices, <%=objlist("Title")%>">
<META NAME="description" CONTENT="OCMotorcars.com - <%=objlist("Title")%>!">

Notice the bold. Im grabbing the name of the car using that asp code, now my question is will search engines read it as <%=objlist("Title")%> or will it read it like "2001 Dodge Ram 1500"

Thanks!

Phip
12-21-2002, 08:59 PM
Anytime any of your files are requested they are parsed by the server before sent out.

whammy
12-22-2002, 03:34 AM
Yup... so the search engine (or anything else for that matter) will only see your HTML...

knightcon
01-13-2011, 11:45 PM
Further going on what whammy said all server side code such as ASP ASP.NET JSP PHP etc is just that, server side code, processed on the server side. The ASP tags are stripped out before the page is served to the search engine or any HTML interpreter for that matter. Any time you use server side code in a HTML page it will only go as far as the compiler on the server before it is stripped out and replaced with HTML as it has done its job, it has told the server what to put there, so there is no need for it to be there when the page is served to the end user's browser or to the search engine spider.