meta-tags

Facebook Debugger lint tool gets HTTP 206 - doesn't detect Open Graph meta tags (others tools do)

耗尽温柔 提交于 2019-11-28 13:46:02
I believe my site has the correct markup for Facebook & Open Graph meta tags. But checking Facebook's linter shows that none of the tags are being detected. You can see for yourself here: http://developers.facebook.com/tools/debug/og/object?q=goodloesolitaire.com When I use a different site, the tags are found: http://www.opengraph.in/?url=goodloesolitaire.com&format=html I went through the similar questions and none of those check out. Any ideas on why Facebook's debugger might see nothing? Facebook is seeing HTTP code 206 "Partial Content" instead of normal 200 "OK". 206 "Partial Content":

Can't display SVG charts in Internet Explorer 8

不想你离开。 提交于 2019-11-28 12:29:09
I made a servlet that runs and renders a BIRT report, using ReportEngine API. The only problem is that SVG images (charts) are not shown in Internet Explorer 8 or 7. While running the official BirtViewer webapp they are shown under IE8 too. I peeked into BirtViewer resulting HTML and noticed this meta tag: <!-- Mimics Internet Explorer 7, it just works on IE8. --> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"> So I tried adding it by hand in my own resulting HTML, but with no changes. I also tried adding it through the servlet (which is the regular way) writing: response.setHeader

How can I disable meta format-detection on iOS for dates?

£可爱£侵袭症+ 提交于 2019-11-28 11:20:21
I realize that there is a meta tag for disabling the auto formatting of a telephone number in iOS but I wondered if its possible in iOS for things like a date or time. Anyone have any ideas? There is no meta way at the moment. However there are two tricks to break the detection. I advise to split the date/time with a harmless HTML element, like a span: Mon<span></span>day Another trick is adding a zero-width space: Mon​day However this is less stable, for example in the preview text of iOS 6-8, there the zero with space is displayed like a regular space. CLL This isn't possible for dates or

How to set priority order to Open Graph images for links that are inserted in comments. (Not sharing or wall posts.)

我是研究僧i 提交于 2019-11-28 09:52:25
When pasting a link to a page within a comment, not directly as a wall post, Facebook defaults to choosing a thumbnail image, without users being able to choose the relevant thumbnail. Is it possible to set or determine priority for og:image tags on pages with multiple og:image tags? There doesn't seem to be any logical way to determine why FB is choosing any specific image. The image they are choosing isn't the first, or last image, by code order or alphabetized by name, and doesn't really follow any reasonable reason that I can figure out. Does anyone know how to set which image is chosen on

Having trouble using jQuery to set meta tag values [duplicate]

耗尽温柔 提交于 2019-11-28 07:41:06
Possible Duplicate: Is it possible to use javascript to change the meta-tags of the page? I'm trying to set meta tags using jQuery (please don't reply that this doesn't make sense since search engines blah-blah-blah... I am loading invoking 3rd party Javascript functions that examine these vales, such as Tweetmeme and Facebook). If I use: $('meta[name=some-name]').attr('content', 'some value'); it does work to set the value of an existing meta tag, but does not create a meta tag if such a named one does not exist. If you have insight or experience with this, please reply... You can do this,

Is there a standardized (meta?) tag for the date of a website?

安稳与你 提交于 2019-11-28 07:21:33
One thing that search engines really suck with is the date when a website was created. You know the problem: You search for some CSS or JavaScript problem and Google returns a ton of results from 2002 explaining how to fix the problem in IE 5.5 and Netscape 4.6 while the helpful articles are buried on Page 3. There is only one use for Page 3, and meaningful search results are not it. Anyway, I just wonder if there is a standardized or at least generally accepted tag or meta tag that I can put on my own pages to indicate the date they were created? Not that it helps filtering out the old crap

html5 meta tag cache-control no longer valid?

ⅰ亾dé卋堺 提交于 2019-11-28 07:18:14
How do I define <meta http-equiv="cache-control" content="no-cache" /> in HTML5? It is no longer valid according to the W3C Validator and the documentation . Putting caching instructions into meta tags is not a good idea, because although browsers may read them, proxies won't. For that reason, they are invalid and you should send caching instructions as real HTTP headers. In the beginning of code you need to use this: <!DOCTYPE html> <html manifest="cache.manifest"> ... Then create cache.manifest file with content of what you want to cache i.e CACHE MANIFEST # 2010-06-18:v2 # Explicitly cached

What is the proper way to tell the browser not to cache?

只谈情不闲聊 提交于 2019-11-28 07:12:25
问题 I have a web page that always needs to stay current. I do not want the browser to cache it. To that end, this meta tag is embedded with the page: <meta name="Expires" content="Tue, 01 Jun 1999 19:58:02 GMT"> However, some browsers seem to ignore it. Chrome is particularly bad at it, though other browsers tend to do the same thing. When I pick the page from the bookmarks bar, most of the time, it doesn't even hit the server, just loads it from cache. If I then press F5, it does go to the

Javascript To Change Metadata / Metatags Dynamically

一笑奈何 提交于 2019-11-28 05:03:33
问题 I'll describe what I'm trying to accomplish and if it seems that my method is dumb please feel free to let me know: I have a page with a video gallery and a flash video player iframe. When the user clicks on a video thumbnail, it starts to play in the frame. Users can also go to the page with a specific video loaded into the iframe by appending the filepath to the end of the url - blabla.com/videogallery?videofilepath. I set this up so that videos could be shared easily. I want to be able to

How to add meta tag to ASP.Net content page

给你一囗甜甜゛ 提交于 2019-11-28 05:00:26
I have several content pages hanging off of one master page. I need to add a refresh meta tag to one of the content pages but I can't see where I can do this. Any help would be much appreciated. Have not tried this with refresh, but in general you can add a meta tag like this: var keywords = new HtmlMeta { Name = "keywords", Content = "one,two,three" }; Header.Controls.Add(keywords); update : it is possible this way. Check Rick Strahl http://www.west-wind.com/weblog/posts/2006/Aug/04/No-more-Meta-Refresh-Tags DOK This page explains the new feature: ASP.Net 4 adds 2 new Meta tag related