meta

OpenCart高级搜索引擎优化(SEO PACK PRO)

我怕爱的太早我们不能终老 提交于 2019-12-10 13:32:06
OPENCART高级搜索引擎优化(SEO PACK PRO) 是时候将您的网站进行高级搜索引擎优化了! Ope ncart高级搜索引擎优化( SEO PACK PRO)扩充功能包含所所有有关 Opencart SEO 搜索引擎的相关扩充功能: 1. Keywords Generator for all products 2. Meta Description Generator 3. Related Products Generator 4. Tag Generator 5. Product SEO Plus 2 more SEO features 6. Canonical Categories 7. Canonical Brands 8. Friendly SEO URLS Generator 9. SEO Friendly URLs 10. Custom Titles 11. Clear SEO 12. SEO Report 13. SEO Friendly Image Names generator 14. Auto Internal Links 15. Advanced SEO Editor 16. Multi-Language SEO URLs + Multi Language Sitemaps 17. Home Page - Meta Keywords 18. SEO

How to extract meta tags from website?

妖精的绣舞 提交于 2019-12-10 12:15:08
问题 I'm currently using get_meta_tags to get the tags from a variety of websites like this: <?php $tags = get_meta_tags('http://www.stackoverflow.com/'); ?> This is the code I'm using to display that information: <?php echo $tags['description']; ?><br /><br /> <?php echo $tags['keywords']; ?> Now there are two things I can't figure out how to do: How do I make it so that <br /><br /> is removed if the meta description doesn't exist? Basically do that there isn't extra lines at the top causing an

常见的移动端Web页面问题解决方案

∥☆過路亽.° 提交于 2019-12-10 11:44:41
安卓浏览器看背景图片,有些设备会模糊 用同等比例的图片在PC机上很清楚,但是手机上很模糊,原因是什么呢? 经过研究,是devicePixelRatio作怪,因为手机分辨率太小,如果按照分辨率来显示网页,这样字会非常小,所以苹果当初就把iPhone 4的960640分辨率,在网页里只显示了480320,这样 devicePixelRatio=2 ,现在android比较乱,有1.5的,有2的也有3的。 想让图片在手机里显示更为清晰,必须使用2x的背景图来代替img标签(一般情况都是用2倍)。例如一个div的宽高是100100,背景图必须得200200,然后 background-size:contain; ,这样显示出来的图片就比较清晰了。 代码如下: background:url(../images/icon/all.png) no-repeat center center; -webkit-background-size:50px 50px; background-size: 50px 50px;display:inline-block; width:100%; height:50px; 或者指定 background-size:contain; 都可以,大家试试! 图片加载 若您遇到图片加载很慢的问题,对这种情况,手机开发一般用c anvas 方法加载: 具体的canvas

Disable touch panning for body of site on mobile devices

纵然是瞬间 提交于 2019-12-10 11:10:19
问题 The site I am working on www.salonbkb.com when in a mobile browser will act responsive but will allow the user to use touch to move the site from left to right creating a whitespace on the remaining space after the drag. Foundation.zurb.com does not do this nor do most sites I have found. I believe msn.com still does this. How can I prevent this from happening. I tried <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/> but that didn't do

yocto 临时笔记

僤鯓⒐⒋嵵緔 提交于 2019-12-10 10:46:05
modified: sources/poky/meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb diff --git a/sources/poky/meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb b/sources/poky/meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb index 733ae41..e0905ff 100644 --- a/sources/poky/meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb +++ b/sources/poky/meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb @@ -24,9 +24,9 @@ do_install () { ${D}${sysconfdir}/network/if-up.d \ ${D}${sysconfdir}/network/if-down.d \ ${D}${sysconfdir}/network/if-post-down.d - install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}

Disable Internet Explorer 11 Auto Scaling Zoom to Viewport Width - IE11

£可爱£侵袭症+ 提交于 2019-12-10 08:19:46
问题 Is there any way to prevent the "auto zoom to viewport width" (a.k.a. automatic scaling) feature in Internet Explorer 11? I want to force the browser to follow my max-width rule and prevent it from auto-scaling the page contents to the full width of the viewport. I'm seeing the issue in IE11 on Surface Pro 2 in both "desktop" and "metro" modes. The issue is discussed here and may be related to external displays, although I'm experiencing it with or without an external display attached, and

Django REST framework的各种技巧——5.搜索

核能气质少年 提交于 2019-12-10 07:49:34
restframework内置了一些搜索功能,可以快速的实现搜索 Django REST framework的各种技巧【目录索引】 写在上面 所有的代码都是在下面的两个版本来做的 django==1.8.8 djangorestframework==3.2.5 查询 我们经常要做一些查询的东东,大体有两种,如下图: 多字段模糊搜索 单字段相等搜索 restframework通过 filter_backends = (filters.DjangoFilterBackend, filters.SearchFilter) 来很轻松的完成了这个工作。 文档 讲解 DjangoFilterBackend对应filter_fields属性,做相等查询 SearchFilter对应search_fields,对应模糊查询 两者都可以采用filter中使用的 外键__属性的方式来做查询 class CoursesView(ListCreateAPIView): filter_backends = (SchoolPermissionFilterBackend, filters.DjangoFilterBackend, filters.SearchFilter) permission_classes = (IsAuthenticated, ModulePermission) queryset =

ES7方法提前简单介绍

萝らか妹 提交于 2019-12-10 05:20:52
ES7方法介绍 1.数组 2.求幂 3. 字符串 4. async await 让我们一起来看看ES7有什么新的东西吧。 1.数组 数组新增方法 includes 这个是检查数组内是否存在某个东西,返回布尔类型值。下边代码的返回值为false <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> </head> <body> </body> </html> <script> let a = [1, 2, 3, 4] let c = a.includes(88) alert(c) </script> 把includes中的88替换成1,返回的值就是true。 let c = a.includes(1) 另外,数组的 keys,values,entries 也是新增的方法 keys =======>拿出所有的key values========> 拿出所有的value entries =======> 所有的 key

清除浮动的7种方法

纵然是瞬间 提交于 2019-12-10 03:20:52
使用display:inline-block会出现的情况: 1.使块元素在一行显示 2.使内嵌支持宽高 3.换行被解析了 4.不设置的时候宽度由内容撑开 5.在IE6,7下步支持块标签 由于inline-block属性换行的时候被解析(有间隙)故解决方法使用浮动float:left/right 使用浮动时出现的情况: 1.使块元素在一行显示 2.使内嵌元素支持宽高 3.不设置不宽高的时候宽度由内容撑开 4.换行不被解析(故使用行内元素的时候清除间隙的方法可以使用浮动) 5.元素添加浮动,会脱离文档流,按照指定的一个方向移动,直到碰到父级的边界或者另一个浮动元素停止(文档流是文档中可显示对象在排列时所占用的位置) 1 <!DOCTYPE HTML> 2 <html> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 5 <title>无标题文档</title> 6 <style> 7 div,span{height:100px;background:red;border:1px solid #000; float:left;} 8 /* 9 inline-block 10 11 1.使块元素在一行显示 12 13 2.使内嵌支持宽高 14 15 3.换行被解析了 16 17 4

前端(最新)

北战南征 提交于 2019-12-09 22:59:54
HTML初识 △HTML: 超文本标记语言,是一种用于创建网页的标记语言,不是编程语言,没有逻辑 本质上是浏览器可识别的规则 我们按照规则写网页,浏览器根据规则渲染我们的网页。对于不同的浏览器,对同一个标签可能会有不同的解释。(兼容性问题) 网页文件的扩展名:.html或.htm(没有区别) 网页文件的扩展名:.html或.htm(没有区别) 我们按照规则写网页,浏览器根据规则渲染我们的网页。对于不同的浏览器,对同一个标签可能会有不同的解释。(兼容性问题) 网页文件的扩展名:.html或.htm(没有区别) △css: 层叠样式表是一种用来表现HTML等文件样式(效果)的计算机语言 JavaScript: 简称“JS”,是一种属于网络的脚本语言 常用来为网页添加各式各样的动态功能,为用户提供更流畅美观的浏览效果 通常JavaScript脚本是通过嵌入在HTML中来实现自身的功能的 △jQuery: jQuery是一个快速、简洁的JavaScript框架,它封装JavaScript常用的功能代码 △boodstarp(JQ+css): bootstrap:简洁、直观、强悍的前端开发框架 它在jQuery的基础上进行了更为个性化的完善,形成一套自己独有的网站风格,并兼容大部分jQuery插件。 △B/S (前端/后端) Web服务的本质: 浏览器发请求 --> HTTP协议 -->