ASP Dynamic Meta Title
Is there a special way that I can write in keywords from the dynamic query parameters into the Meta Title, Description and content of the page?
View RepliesIs there a special way that I can write in keywords from the dynamic query parameters into the Meta Title, Description and content of the page?
View RepliesI have a page where a user can edit the meta tags for the page which are
then written dynamically at the time of the page being redendered.
I was wondering today whether this actually works or not? ie, if a search
engine (google or whatever) is trawling a site, does it only read html
pages? What happens when it encounters an .asp? Surely it wouldn't execute
it and therefore be able to read the meta data correctly?
Any info on this would be appreciated, if my current way of doing it is not
appropriate I will need to invest some time into changing it.
I'm trying to give each page the title of whatever is in my first <h2> header tag. Does anyone know how to do this?
View Replies View RelatedWhere in an asp file do the meta name="description" content="description"
and meta name="keywords" content="key words " go?
Is it similar to where they're located in html? the top of my file looks like this (below), is it correct?
<% Response.Buffer = True %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0.11 Transitional//EN">
<html><head>
<title>testPage</title>
<script src="java.js" type="text/javascript"></script>
<meta name="description" content="description" >
<meta name="keywords" content="key words " >
<link rel="STYLESHEET" type="text/css" href="styles.css">
<style type="text/css">
i wanted to store chinese character in my DB. I have set the datatype to nchar.
When i try copy a chinese character and paste it directly into the table. The table will stored the value.
But when i display the value in IE, even with meta set to UTF-8. I can only see "????" but not the chinese character. Can anyone tell me where went wrong?
I also discover that when i try perform INSERT in EM, trying to insert the chinese character into DB instead of pasting it directly to the table... But it failed. Table will only show "????". Any advice?
I'm trying to redirect the page while trying to pass some values to the next
asp page. I'm not getting any values when I do this. Is this possible?
I'm using the code below to redirect
<META HTTP-EQUIV="Refresh" CONTENT="5; URL=supportservicelist.asp">
but when I look at the value of my variable PEN, there is nothing there.
Yet I see on the current page the value is set
response.write "<input type='hidden' name='pen' value ='" & lpen & "'>"
Is there anything to be gained by putting META tags on multiple pages within my site? I've got my META stuff (title, description, keywords) on two pages, index.asp and home.asp. Ideally, I'd like my visitors to start at either of those two pages.
Would my site be more apt to appear in search engine if I repeated the same collection of META information (or a subset thereof, more specific to the page it's on) on
other pages within my site?
When creating ASP Page in VS, I see few lines of meta tags, like Code_Language, vs_defaultClientScript. What do they mean? Where can I get a list of all tags that are relevant for ASP.
View Replies View RelatedCan someone explain to me why the META Refresh doesn't work in an ASP.NET page? It works just fine in my old asp one! Content value has to be in quotes if not otherwise I get a warning. Code:
View Replies View RelatedOther than Meta data and keywords how is it best to get near the top of search engines?
View Replies View RelatedI want to my site be searchable by Internet search engines such as: Google, Altavista, Yahoo, Lycos...
Because that, I've putted four META tags: author, robots, keywords and description into my .asp page...
However, my searching by keywords I've putted in doesn't work... In other words, I've got nothing which in connection with my site... Would you be so kind to advise me how to do that and what's wrong with my approach... My META tags section is Code:
Does anyone know how (using ASP & VBScript) how to extract the description from a webpage. I mean the meta description contained in the HTML (eg <meta name="description" content="description of website">).
View Replies View RelatedI would like one of my clients to dynamically insert meta/title tags into their ASP driven site. Caveat, I am no webmaster, but rather a more ecommerce oriented consultant. I know this can be easily accomplished. But, their webmaster claims it isn't possible.
View Replies View RelatedIs it possible to extract meta data (resolution, copyright, aspect ratio etc)from an mp4 file onto a web page? If so, how?
View Replies View Relatedhow to add code Meta Tittle Tags into different pages of the website? I have already inserted code Meta Tittle Tag into my website but it appears in all of my web pages. I want to add more specific information into each of website page tag tittle but i dont know how to do? My website is written on ASP.
View Replies View RelatedI use ASP.net 2.0 C# for my shop-system. I want to programm dynamic meta-tags.
In some books I find as memer of HtmlHead statements like
Page.Header.Metadata.Add("description", "my product");
If I try this, i got the error message: Metadaten not member of HtmlHead
Want do I wrong?
how to get some meta info on a number of files, such as author and owner. it is for a .asp web page wich indexes a list of files and shows info about those files (name, type, date last modified, etc)
so that who accesses the page can sort those files by the detail they wish, and i can't discover how to get the author and owner info about those files.
how I can dynamically change metakeywords based on page content? That is, a page on restaurants should have restaurant related keywords, etc.
View Replies View Relatedthis is an interesting problem i've been trying to solve past week. I have a framed site and one of the frames is refreshing through meta tag refresh every second. The page that is refreshing looks pretty much like this:
Database: Access, IIS6 - Windows 2003 Server
1. Declare connection object
2. Declare recordset object
3. open connection
4. open recordset with sql query
5. Check database for changes (on change, refresh another frame)
6. Close recordset
7. Close connection
8. Destroy Recordset
9. Destroy Connection
That's all. After about 6 hours in operation (constant refreshing) the WWW Service just dies. Restart of the service makes it stuck ever more, the only solution is to completely reboot the server.
Any insight would be greatly appreciated. I'm at a point of sticking the connection and recordset into session so it does not declare and kill it every second..
1. how to determine the 'progid' parameter in the /oject tag for both session and application tags, eg,
<object runat="server" scope="application" id="web1" progid="web1"></object>
2. i want to invoke the meta data for ado in my global.asa, so it will there
for all the sessions:
<!--METADATA TYPE="TypeLib" NAME="Microsoft ActiveX Data Objects 2.1
Library" UUID="{00000201-0000-0010-8000-00AA006D2EA4}" VERSION="2.5"-->
is this then coded within the application 'object' tags, see 1, or is it coded in the application_onstart subroutine?
I have a situation that I am not sure how to solve. I am working on an ASP site that needs to have unique Meta tags for the appropriate page. This would be populated depending on the department selected I need the Meta tags to populate the page. I first thought about creating an application that loads a meta tag file that is called by the department ID or Title.
View Replies View RelatedI am trying to debug a problem with some ASP pages when accessed via IIS on
Windows 2003 Server SP1.
In summary, the pages are structured as follows:
Root page
Page loaded via IMG SRC
Root Page extract Code:
I am adding meta tags to my .aspx in my C# Codebehind.
Questions:
(1) How can I add a carriage-return, line-feed after each control?
(2) How do I verify my .aspx?
The </meta> is added. I am new to .aspx.
So, I added </meta> to one of my .html files and
ran it through validator.w3.org and got this error:
end tag for element "META" which is not open
In my .html, I use the line:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
(2a) Is there a validator for .aspx? Code:
if it's possible to use sql or asp when calling a page the header title changes for the same page? Have anyone ever done this or know if it's possible.
View Replies View RelatedI am writing a little ASP script that reads the URL and generates a navigable breadcrumb trail from it. It is highly dependant on the filename and folders being named appropriately and consistently.
However, what would be prefereable is for the file that you are currently reading to be generated in the breadcrumb base on the document <title> instead of the actual file name.
Is it possible in ASP to read a <title> attribute?
Naturally, the ASP script would be in the <body> of the document and as such the <title> would already have been written to the client.
can i send my page title to another page.... like this response.redirect
"xx.asp?title"&mytitle
mytitle= what can bee... i dont want to write manually my title
any method to learn title in asp
I am working on an asp page, where I need to set the title to a variable. I have tried
Code:
<% document.title = variableName %>
I even tried
Code:
<% response.write "<title> " & variableName & " </title>" %>
That doesn't work either. I need to set the title to a variable on a dymanic ASP page
My concern is that I want to add the logo of the company in the title
bar. For more clearification one can have the example of an explorer.
that we see the explorer icon in the most left side then the title is
displayed and after that "-Microsoft Internet Explorer" is written.
so does any body knows the code in ASP that how can i replace the
explorer icon with my company logo.
I have been experimenting with viewing excel spreadsheets through the browser using
Response.ContentType = "application/vnd.ms-excel
But I observed that in place of the title is the url to the page. Is there a way to get around that when using
Response.ContentType = "application/vnd.ms-excel"
I have already tried setting a var to my desired title before calling Response.ContentType = "application/vnd.ms- excel" and then in the title tags <title><%=var%></title> Still, I just get the url in place of the title.
i dont know that is this right to put the question in this forum or in html forum.
anyways, the question is how can we read/find the value of title tag of html page using asp or any scripting langauge.if any one has idea, please do share
it can be done in Visual Basic thats why i want the same title in ma web page.
View Replies View RelatedI run a site using a blog script (dblog) where if you want to open an article from the homepage, it links to a page called article.asp. For example if I want to open article 101 the link goes to article.asp?article=101 but the title (the metatag) is always the same.
What I want to do is having the title change from article to article, retrieving it from the database. So if I open article.asp?article=101 the <title> displays the title of the article 101.
I want to dynamically change the Title of the webPage according to date, month and day thru a Database.
View Replies View Related