Hey,
I am creating websites via Zend Framework and I've been wondering about this for quite some time now...
Imagine that you have created the best articles module and you usually add meta_keywords/meta_description database entries per article, so that when the view renders it populates the meta fields in question with the data entere...
I've made a test program that is basically just a textarea that I can enter characters into and when I click submit the characters are written to a MySQL test table (using PHP).
The test table is collation is UTF-8.
The script works fine if I want to write a é or ú to the database it writes fine. But then if I add the following meta s...
i'm trying to dynamically set a metatag to the head of my document. This is a mobile device specific metatag that I need to add through code. I found this solution here:
http://stackoverflow.com/questions/2831529/having-trouble-using-jquery-to-set-meta-tag-values
but it doesnt seem to work, what am I doing wrong?
function setOrCreateM...
Suppose I have some sort of proprietary web framework. Should I include a <meta generator="My framework"> tag in the generated files?
I noticed that StackExchange 0.9 applications do that, and wondered what are the pros/cons of doing it. Does it have any effect, or is it just useful for people looking at the source to see?
...
Hello everyone.
I want to make IE 8 understand my site as IE8. And not in IE7, compatibility mode, etc.
I have had a lot of issues to do this, even the same site in my localhost was different that in the production server. (Never mind what language, happened with: php and asp.net).
I've been watching these links:
http://msdn.microsof...
What are the pros and cons of adding
<meta http-equiv="x-ua-compatible" content="IE=8">
to a website. I would like IE 8 to render in the IE 8 Doc mode so styles are more cohesive across browsers. I am just worried about negative consequences of adding this.
...
I want to try figure out how to get the
<title>A common title</title>
<meta name="keywords" content="Keywords blabla" />
<meta name="description" content="This is the description" />
Even though if it's arranged in any order, I've heard of the PHP Simple HTML DOM Parser but I don't really want to use it. Is it possible for a solution ...
I have a site that is replicated in many languages. The site itself display characters correctly but when viewing source the meta tags show the "unknown character" question mark instead of the foreign character.
What do I need to do differently for meta tags?
I have this tag already:
<meta http-equiv="content-type" content="applicat...
Hello,
I have a .Net 3.5 website which uses windows authentication and expires the session using a meta tag on the prerender of my base masterpage class.
protected override void OnPreRender(EventArgs e)
{
base.OnPreRender(e);
if (Response.ContentType == "text/html")
this.Page.Header.Controls.Add(new LiteralControl(
...
I m working on .net and i have a problem.
i want to know the curently online users who are using my website.
i know i can do it by using session varialbles but it is nt working ,,,,give me some solution guys,,,
...
The answers to a previous question pointed out that the keywords meta tag in HTML is used by some search engines, such as Yahoo! and Ask.
Now, I know not many of us have direct knowledge of the algorithms behind different search engines, but in your experience, does the number and order of keywords have any effect? Is it better to have...
I am trying to get a website that runs fullscreen for all pages, I have looked over here: http://stackoverflow.com/questions/3024434/ipad-webapp-full-screen-in-safari and followed that and my index page fills the screen just nicely, but whenever I click a link to another page even though that page is all setup with the meta tags it pulls...
Hello,
I try to write a script than scan recursive a given directory and if found mp3 get and just print meta tag for it. What ever I passed to getEyeD3Tag I got an exception. Here is my code that i have written so far
def getEyeD3Tags(path):
try:
trackInfo = eyeD3.Mp3AudioFile(path)
tag = trackInfo.getTag()
...
On an iPad using Safari, go to this page:
http://ifelse.org/projects/errors/viewport/test.html
This is the Source:
<html>
<head>
<title>Viewport Test</title>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="vi...
Hi,
some time ago I had an entry point for application in index.aspx with following content:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML lang="en">
<HEAD>
<TITLE>xxx</TITLE>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
</HEAD>
<frameset rows="68,*" border="0" frameborder=...
Is there a way to programmatically access and modify the <head> section of the page in ASP.NET MVC? I need to update the page's <meta> tags depending on which data the user is viewing on any given page.
...