meta-tags

2 IE8 Webpage views - Look completely different? Why?

a 夏天 提交于 2019-12-08 05:28:38
问题 Here's the original page that I coded using "Adaptive Design", and has no support for mobile devices: http://opportunityfinance.net/Test/savedateIE8/index.html Looks great in IE 8 as it should via the pic below: Here's a page that I optimized for mobile devices, basically it is EXACTLY the same as the first page, except it adds in <meta> tags and such for mobile devices. Looks good in all browsers that I test, except IE 7 (which I could care less about), and IE 8 (WHICH I REALLY CARE ABOUT) A

W3C validator: “Bad value robots for attribute name on element meta”

南楼画角 提交于 2019-12-08 03:08:28
问题 What has changed with <meta name="robots" content="index,follow"> meta tag? I use HTML5 and W3C validator marks my page as invalid. There is robots meta name allowed in http://wiki.whatwg.org/wiki/MetaExtensions. Exact validator error: Bad value robots for attribute name on element meta : Keyword robots is not registered. 回答1: The validator is wrong. The robots name is registered according to HTML5’s rules, so you can use it. You’ll probably see the same problem with all other registered

How to get Twitter to recognize Angular7 meta tags in a sub page served by a route

放肆的年华 提交于 2019-12-08 02:26:40
问题 I want my Angular7 code to take a URL that contains a route and present desired updated meta tags to Twitter so that Twitter will render the correct social card. Following standard practices for meta tags, which includes declaring in index.html header and updating in constructors of pages loaded by routes, I can see the correct updated values in the browser console, but twitter ignores those updates and uses the first meta tags from index.html. From index.html... <head> <title>My Title</title

article:publisher meta tag cannot be parsed as profile

馋奶兔 提交于 2019-12-08 00:51:36
问题 According to this update... https://developers.facebook.com/blog/post/2013/06/19/platform-updates--new-open-graph-tags-for-media-publishers-and-more/ ...I thought article:publisher (with page ID or URL) would put a like button for the representative page when shared links are posted to walls? The debugger seems to think differently... what am I missing? Debugger info: Object at URL 'http:// domain.com/post/' of type 'article' is invalid because the given value 'http:// www.facebook.com/mypage

Bad value google for attribute name on element meta

五迷三道 提交于 2019-12-07 17:29:35
问题 Is there an alternative for HTML5 for google notranslate meta tag. I getting the error below when validating HTML5. Bad value google for attribute name on element meta: Keyword google is not registered. <meta name="google" content="notranslate" /> 回答1: The keyword google is registered at http://wiki.whatwg.org/wiki/MetaExtensions#Registered_Extensions: A content of notranslate will tell google not to pop up the translate bar / link if the page is in a foreign language form the user's browser.

node js puppeteer metadata

柔情痞子 提交于 2019-12-07 16:37:59
问题 I am new to Puppeteer, and I am trying to extract meta data from a Web site using Node.JS and Puppeteer. I just can't seem to get the syntax right. The code below works perfectly extracting the Title tag, using two different methods, as well as text from a paragraph tag. How would I extract the content text for the meta data with the name of "description" for example? meta name="description" content="Stack Overflow is the largest, etc" I would be seriously grateful for any suggestions! I can

Showing full (desktop view) website on devices with particular viewport (e.g. lower than 320px)?

流过昼夜 提交于 2019-12-07 15:06:34
I've been finishing my work on a fully responsive website (using Bootstrap 3 framework) and recently the client has asked if it would be possible to have a full (desktop) version of the site on smaller devices (for instance, lower than 320px). Since I've never come across such requirements before, I wonder if there's any legal workaround, e.g. putting an additional viewport meta tag in the head, something like this: <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=1024, user-scalable = yes" media="screen and (max-width: 319px)"> If

How to send the og:Title og:Image og:Description og:url info from C# to Facebook

那年仲夏 提交于 2019-12-07 14:21:03
问题 I have a like button in my page. On clicking the Button, I am trying to send the following tags information in the facebook... <meta property="og:title" content="Title" /> <meta property="og:description" content="Description" /> <meta property="og:url" content="url info" /> <meta property="og:image" content="image url" /> Following is my Like Button Frame <iframe frameborder="0" scrolling="no" allowtransparency="true" style="border: none; overflow: hidden; width: 260px; height: 35px;" src=

Why won't my viewport tag properly use device width (no zoom) on most mobile devices?

烈酒焚心 提交于 2019-12-07 10:03:50
问题 UPDATE 03/2019: This Q&A still gets some activity, nearly 5 years my question came up. Please note this problem was due in part to more common irregularities in older mobile devices at THAT time. With today's browsers and devices, fiddling with viewport scalability would be a shoe-horn fix to a bigger problem which is likely a problem in either your CSS or possibly your markup. I've built a dozen responsive sites and have never experienced this problem. Basically, I'm using the meta tag for

Difference between IE8 & EmulateIE8

☆樱花仙子☆ 提交于 2019-12-06 23:15:48
问题 I added a compatibility mode meta tag at the top of the header to force the browser to render in IE8 mode. It is working with IE10 & IE11 but not with IE9. <meta http-equiv="X-UA-Compatible" content="IE=IE8" /> Can any one explain what I am doing wrong here? Should I use content="IE=EmulateIE8" instead of content="IE=IE8"? 回答1: Well, following the links provided by Carpetsmoker and www.sblog.in I end up with a broad answer and improved with more sources. This is what I found: Starting with