wkse/metatag
Composer 安装命令:
composer require wkse/metatag
包简介
Manage meta tags for all entities.
README 文档
README
Metatag
-------
This module allows you to automatically provide structured metadata, aka "meta
tags", about your website and web pages.
In the context of search engine optimization, providing an extensive set of
meta tags may help improve your site's & pages' ranking, thus may aid with
achieving a more prominent display of your content within search engine
results. Additionally, using meta tags can help control the summary content
that is used within social networks when visitors link to your site,
particularly the Open Graph submodule for use with Facebook, Pinterest,
LinkedIn, etc (see below).
This version of the module only works with the v8.0.x releases of Drupal.
Features
--------------------------------------------------------------------------------
The primary features include:
* An administration interface to manage default meta tags.
* Use of standard fields for entity support, allowing for meta tag translations
and revisioning.
* A large volume of meta tags available, covering X basic tags, Y Open Graph
tags, Z Twitter Cards tags, Å Dublin Core tags, ∫ Google+ tags, ç App Links
tags, ∂ site verification tags.
* A plugin interface allowing for additional meta tags to be easily added via
custom modules.
* Integration with DrupalConsole [1] to provide a quick method of generating new
meta tags.
Standard usage scenario
--------------------------------------------------------------------------------
1. Install the module.
2. Open admin/config/search/metatag.
3. Adjust global and entity defaults. Fill in reasonable default values for any
of the meta tags that need to be customized. Tokens may be used to
automatically assign values. If the Token module is enabled there will be a
"Browse available tokens" link that opens a popup to list & insert the
available tokens.
4. You can add bundle defaults by clicking on "Add metatag defaults" and filling
out the form.
5. If you want to adjust metatags for a specific entity, then you need to add
the Metatag field. Follow these steps:
5.1 Go to the "Manage fields" of the bundle where you want the metatag field
to appear.
5.2 Select "Meta tags" from the "Add a new field" selector.
5.3 Fill in a label for the field, e.g. "Meta tags", and set an appropiate
machine name, e.g. "meta_tags".
5.4 Click the "Save and continue" button.
5.5 If the site supports multiple languages, and translations have been
enabled for this entity, select "Users may translate this field" to use
Drupal's translation system.
DrupalConsole integration
--------------------------------------------------------------------------------
Using the DrupalConsole, it is possible to generate new meta tags, either for
use in new custom modules that require custom meta tags, or to create patches
for extending Metatag's options.
To generate a new tag, install DrupalConsole and then use the following command:
drupal generate:metatag:tag
This will guide the site builder through the necessary steps to create a new
meta tag plugin and add it to a module.
Related modules
--------------------------------------------------------------------------------
Some modules are available that extend Metatag with additional functionality:
* Token
https://www.drupal.org/project/token
Provides a popup browser to see the available tokens for use in meta tag
fields.
Credits / contact
--------------------------------------------------------------------------------
Currently maintained by Damien McKenna [2] and Dave Reid [3]. Drupal 7 module
originally written by Dave Reid. Drupal 8 port by Damien McKenna and Michelle
Cox [4], and sponsored by Mediacurrent [5], with contributions from Lee Rowlands
[6], Rakesh James [7] and many others.
Ongoing development is sponsored by Mediacurrent and Palantir.net [8].
The best way to contact the authors is to submit an issue, be it a support
request, a feature request or a bug report, in the project issue queue:
http://drupal.org/project/issues/metatag
References
--------------------------------------------------------------------------------
1: https://www.drupal.org/project/console
2: https://www.drupal.org/u/damienmckenna
3: https://www.drupal.org/u/dave-reid
4: https://www.drupal.org/u/michelle
5: http://www.mediacurrent.com/
6: https://www.drupal.org/u/larowlan
7: https://www.drupal.org/u/rakesh.gectcr
8: http://www.palantir.net/
wkse/metatag 适用场景与选型建议
wkse/metatag 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 6.02k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2016 年 02 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「php」 「seo」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 wkse/metatag 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 wkse/metatag 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 wkse/metatag 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Help to manage meta data on Laravel Eloquent model
Statamic Fine Seo addon
Alfabank REST API integration
Magento - Force store code extension
LaraNx SEO, meta tag management for Laravel websites
Laravel integration package for NewTXT Translate widget rendering, server-side localization, translated HTML cache, and prewarm workflows.
统计信息
- 总下载量: 6.02k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 13
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2016-02-04