meta-tags

Meta Refresh not working in Firefox

风流意气都作罢 提交于 2019-12-23 04:54:27
问题 I'm using meta refresh with <meta HTTP-EQUIV="REFRESH" CONTENT="0; URL=javascript:window.open('home.asp?uuid=123','_top');"> and it works in every other browser except Firefox. Any ideas? 回答1: In Firefox autorefresh has been disabled by default. To enable autorefresh in your browser: type about:config in the location bar of your webbrowser a message appears: click to accept search for blockautorefresh change accessibility.blockautorefresh from false to true Good luck! 回答2: accessibility

How to have different titles and meta tags for tag pages and index pages of Tumblr themes

落花浮王杯 提交于 2019-12-23 04:29:52
问题 In tumblr themes I found the following blocks for index page and tag pages respectively. {block:IndexPage}{/block:IndexPage} {block:TagPage}{/block:TagPage} But tag pages are taken as subset of index pages, so what i define in index page blocks also appear on tag pages along with whats in tag page blocks. In such case how to define different title and meta tags independently for tag pages and index pages? 回答1: Different titles on tag page: <title>{block:TagPage}Posts tagged {Tag} - {/block

facebook caches og:title?

给你一囗甜甜゛ 提交于 2019-12-23 04:14:19
问题 http://developers.facebook.com/tools/lint?url=http%3A%2F%2Fnetworks.co.id%2Fblog.php%3Fid%3D2 the problem is that facebook does read my url rightly like this ok everything goes fine untill i scroll and check my like button on my page. do facebook cache them ? or there is a better explanation. thanks for the time looking in :D. 回答1: It's absolutely a matter of caching, just try to add a dummy parameter to your URL to fool facebook and you'll see. :-) For you and @Michael Irigoyen, it's always

Best practice to place meta tags, links and styles in zend framework?

廉价感情. 提交于 2019-12-23 04:02:23
问题 I have project-range meta tags that are need to be set. I've put them in protected method _initMeta in Bootstrap class. Are there any better options? What if I would like different set of this data for another languages? protected function _initMeta(){ $this->bootstrap('view'); $view = $this->getResource('view'); $view->doctype('XHTML1_STRICT'); $view->headTitle()->headTitle('Foo title'); $view->headMeta()->appendName('keywords','foo'); $view->headMeta()->appendHttpEquiv('Content-Type', 'text

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

爷,独闯天下 提交于 2019-12-23 01:49:06
问题 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

Overwrite Meta Tags from Master Page with Content Page meta tags

本小妞迷上赌 提交于 2019-12-23 01:41:52
问题 In the code behind of the master Page I create the meta tags: HtmlMeta _metaDescription = new HtmlMeta(); _metaDescription.Name = "description"; _metaDescription.Content = "this is the description"; _metaDescription.ID = "metaD"; this.Page.Header.Controls.Add(_metaDescription); HtmlMeta _metaKeywordsMaster = new HtmlMeta(); _metaKeywordsMaster.Name = "keywords"; _metaKeywordsMaster.Content = "here are the keywords" ; _metaDescription.ID = "metaK"; this.Page.Header.Controls.Add(

How to add meta keyword with django

冷暖自知 提交于 2019-12-22 18:33:14
问题 I am using below code to add meta keywords - in view.py @template_render("mysite/category.html") def category(request, slug): slug = slug.lower() product_type = local_settings.CATEGORY_NAME_TO_ID.get(slug, False) if not product_type: raise Http404 products = models.Product.objects.active().filter(product_type = product_type).all() return { 'products' : products, 'slug' : slug, 'key':'wholesale ipad, ipad with retina display, ipad mini, ipad 3, ipad 2',} And in template file - {% extends "base

Jquery to change meta tag

南楼画角 提交于 2019-12-22 14:05:08
问题 I am trying to make this meta tag always have the current URL of the page it is on. <meta property="og:url" content="http://shop.famsf.org/do/product/BK5160" /> How would I go about changing a meta tag with JS or JQ? 回答1: Changing Facebook meta tag Content Attribute using JQuery It is definitely possible to change meta tags using jQuery, but I don't think that's going to accomplish what you want since the meta tags are pulled by the FB scraper. The FB scraper goes out and scrapes your page to

How to do the share extension to show the http shares and not the https?

↘锁芯ラ 提交于 2019-12-22 13:57:29
问题 I have this situations on Facebook Object Debugger: This one is if I input the http link and this one for https link The code of my joomla extension is: <?php /*------------------------------------------------------------------------ # mod_ofblikebutton - Optimized Facebook Like Button # ------------------------------------------------------------------------ # author: Optimized Sense # copyright: Copyright (C) 2013 http://www.o-sense.com. All Rights Reserved. # @license: http://www.gnu.org

How would I replace the meta title, keywords and description on the ajax loaded html document?

回眸只為那壹抹淺笑 提交于 2019-12-22 06:51:15
问题 How would I replace the meta title and description on the document with the meta title and description from an incoming html document on an ajax call?? I am calling new content from the #content div on an adjacent html document. What I want to happen is when the new content loads I want to replace the main documents title (and description and keywords... might as well since im tooling around up there anyway) with the meta title in the html file that is being loaded. I have thought about using