Dynamic Meta Data?
I 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.
View Replies
ADVERTISEMENT
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 Replies
View Related
Other than Meta data and keywords how is it best to get near the top of search engines?
View Replies
View Related
Is 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 Related
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.
View Replies
View Related
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?
View Replies
View Related
Where 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">
View Replies
View Related
I've created a page that has a dropdown listbox with values derived from a recordset. That is working fine. What I want to do is take a value selected from the dropdown listbox and pass it to another page that is pulling a report based on the parameter I'm selecting in the dropdown listbox.
I'm able to do this with a textbox being used to accept the parameter, but I want the client to select from a list of actual values, which will then "filter" their report.
View Replies
View Related
I am trying to generate an email from the webpage using code below, which
works fine. However I want to be able to include some dyanmic data how do I
go about it ?can anybody point me in the direction of some sample code ?
<%@ Language=VBScript %>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<%
Dim myMail
Dim HTML
Set myMail = CreateObject("CDONTS.NewMail")
HTML = "<!DOCTYPE HTML PUBLIC""-//IETF//DTD HTML//EN"">"
HTML = HTML & "<html>"
HTML = HTML & "<head>"
HTML = HTML & "<meta http-equiv=""Content-Type"""
HTML = HTML & "content=""text/html; charset=iso-8859-1"">"
HTML = HTML & "<meta name=""GENERATOR"""
HTML = HTML & " content=""Microsoft Visual Studio 6.0"">"
HTML = HTML & "<title>HTMLMail</title>"
HTML = HTML & "</head>"
HTML = HTML & "<body bgcolor=""FFFFFF"">"
HTML = HTML & "<IMG SRC=""http://www.microsoft.com/library/"
HTML = HTML & "images/gifs/homepage/microsoft.gif"" BORDER=0 "
HTML = HTML & "WIDTH=167 HEIGHT=36 ALT=""Microsoft Corporation"">"
HTML = HTML & "<p><font size =""3"" face=""Arial""><strong>"
HTML = HTML & "Microsoft Exchange CDONTS Example</strong></p>"
HTML = HTML & "<p><font size =""2"" face=""Tahoma"">"
HTML = HTML & "CDO for NTS allows an easy way to send mail.<br>"
HTML = HTML & "This example shows how the content can be "
HTML = HTML & "an HTML page<br>"
HTML = HTML & "which allows you to send rich text and"
HTML = HTML & "inline graphics.</p>"
HTML = HTML & "</body>"
HTML = HTML & "</html>"
myMail.From="someone@microsoft.com"
myMail.To="someone@microsoft.com"
myMail.Subject="Sample CDONTS HTML Message"
myMail.BodyFormat=0
myMail.MailFormat=0
myMail.Body=HTML
myMail.Send
set mymail=nothing
Response.Write "Message Sent"
%>
</HEAD>
<BODY>
</BODY>
</HTML>
View Replies
View Related
Ok, given a string such as this -
203_2_0_0_1_5_0_234_0_8_22_2_0_3_345_2_3_0_0_0_9
Each three digit number in the string represents a unique ID of a file in a database. Following each ID are six digits, all seperated by a "_" . Each file will ALWAYS have six subsequent integers, such as above ID "234" has "_0_8_22_2_0_3_" following it.
What I am trying to figure out is given a string of any length of this specific pattern, how to decarle a multi dimensional array that would hold each ID and its corresponding digits.
To clarify a little further, this is from a shopping cart for a photographer. Each "ID" represents an image, each of the six corresponding numbers for each ID represents a qty for an image print size, ie., 4 4x6's, 5 5x7s, 0 8x10s, 1 16x20, 23 20x30's, 48 wallets. Oh, and the image ID's are not necessarily always going to be 3 digits, they could be of any lenght integer...
View Replies
View Related
I have a Dynamic product page that displays the items using "DO UNTIL rs.EOF" and I have assigned form input type to be hidden(for some) for information that I would like to retrieve. On the product page I have a "Add to Cart" button which points to my "addCart.asp".
addCart.asp is where I would insert the items into a Table called "cartItems" in the Database when the user clicks on the "Add to Cart" button.
My "addCart.asp" now generates a "Syntax error in INSERT INTO statement." which I think is caused by my inability to filter for the values from the product page and insert it into the "cartItems" table. Code:
View Replies
View Related
I am having some problems with setting this up. Included in my main index.asp page is an iframe like below:
<iframe src="iframes/iframe.asp" width="425" height="225" frameborder="0" scrolling="auto"></iframe>
Basically I want the text in the iframe to change depending on the pid value. (pageID), I have all this set-up previously in my functions page. Except the only way I can see any action is by running the iframe directly and passing the querystring like iframe/iframe.asp?pid=4 and this works fine, but in my main window index.asp it does not change.
I have an idea that when i type index.asp?pid=3 its trying to get the querystringbased on the index.asp not the iframe.asp, so does anyone know how I connect these two up so that my content will change in the iframe held within the index.asp page.
View Replies
View Related
I am am trying to write some code to perform a INSERT in SQL table using
a loop. What would be great is a way of dynamically entering in data in a
requaest.form ie the final code should look something like:
if Request.Form("type1") = "1" then
where the 1 in "type1" is dynamic so the code would look something like
Request.Form("type" & Rs.("fld_type_id") & ") = "1" then
But not sure how to form this or whether it would work, anyone have any
idea?
View Replies
View Related
i want to have a bubble pop up on hover but in that bubble have data from a database populate it. has anyone else done this , if so how? Also i would like to try to stick to vb/asp/html if possible.
View Replies
View Related
I am looking for a software that can generate a tree of data. For example, I am trying to track real estate relationships like a lessor, tenant, general contractor, and subcontractors. I would like a visual representation of this relationship based on the values in my database showing the hierarchy much like a site map or family tree. Can anyone recommend how I could do this or suggest a software?
View Replies
View Related
I have sent form data through email using .asp before but I have never done it when you are using a form that has createelements involved. I have a form w/ 3 inputs, two text inputs and one select combo box. if i click an add user button it will appear with another row of 2 text boxes and a combo box, and you can repeat up to as many as you need. I am trying to figure out how to mail all of those values to someone. Is there an easy way. Below I will attach the code that I use to name the fields when they are generated maybe it will help....
<SCRIPT language="javascript">
counter = 1
function addRow(id){
var tbody = document.getElementById(id).getElementsByTagName("TBODY")[0];
var row = document.createElement("TR");
row.setAttribute("id","tr"+counter);
var td2 = document.createElement("TD");
var input2 = document.createElement("INPUT");
input2.setAttribute("type","text");
input2.setAttribute("name","pName"+counter);
input2.setAttribute("id","name"+counter);
td2.appendChild(input2);
var td3 = document.createElement("TD");
var input3 = document.createElement("INPUT");
input3.setAttribute("type","text");
input3.setAttribute("name","userName"+counter);
input3.setAttribute("id","prc"+counter);
td3.appendChild(input3);
var td4 = document.createElement("TD");
var input4 = document.createElement("select");
input4.name = "Role"+counter;
input4.id = "Role"+counter;
option = document.createElement("OPTION");
option.value ="Admin";
option.text = "Admin";
input4.add(option);
option = document.createElement("OPTION");
option.value ="Read";
option.text = "Read";
input4.add(option);
option = document.createElement("OPTION");
option.value ="Read/Write";
option.text = "Read/Write";
input4.add(option);
td4.appendChild(input4);
row.appendChild(td2);
row.appendChild(td3);
row.appendChild(td4);
tbody.appendChild(row);
counter++;
}
</SCRIPT>
View Replies
View Related
Does anyone know how I can insert daynamic text box data into a SQL Server database? I have text boxes that are being generated dynamically and I want each of those values inserted into the database that hold the results. I'm not sure how to write my loop statement.
View Replies
View Related
I have an asp page that shows dynamic data from the db, I only want to show
the first 3 letters / digits from the db on the ASP page.
View Replies
View Related
I am trying to test a sql statement in Access which gives me
the error as stated in the heading.
The sql statement is built as a part of asp login verification,
where the userid and password are input in login screen.
The password in the database is a number field.
I am writing the dynamic sql statement as follows below. I believe
I am going wrong in the password section of the code:
View Replies
View Related
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?
View Replies
View Related
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 & "'>"
View Replies
View Related
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?
View Replies
View Related
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 Related
Can 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 Related
I 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:
View Replies
View Related
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 Related
I 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 Related
how 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 Related
I 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?
View Replies
View Related
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 Related
this 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..
View Replies
View Related
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 Related
I 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:
View Replies
View Related