简体   繁体   English

AMP:已开发站点中的加速移动页面

[英]AMP: Accelerated Mobile Pages in an already developed site

I have an umbraco based CMS site and I've been advised to use AMP for fast mobile performance. 我有一个基于umbraco的CMS网站,建议我使用AMP来提高移动性能。 I have read the demo page from this gitHub link . 我已经从gitHub链接阅读了演示页面。

But I am not understanding how to set it in an already developed site. 但是我不理解如何在已经开发的站点中进行设置。 Do I need to change all tags according to AMP? 我是否需要根据AMP更改所有标签?

最好不要与现有的混乱,而应该构建站点的新AMP版本

(After doing a quick Google) (快速浏览Google之后)

I don't think there's a an AMP-plugin for Umbraco yet, but that will probably be the way to go. 我认为目前还没有针对Umbraco的AMP插件,但这可能是解决之道。 I've been using the AMP-plugin for WordPress for a little while now and it made all posts on my site AMP-compatible without me having to do anything :) 我已经将AMP插件用于WordPress已有一段时间了,它使我网站上的所有帖子都与AMP兼容,而无需执行任何操作:)

Perhaps check with the Umbraco community whether there's an ETA on such a plugin for their platform? 也许与Umbraco社区联系,以确保其平台上的此类插件上有ETA?

You can have seperate AMP pages and google will handle the rest. 您可以拥有单独的AMP页面,而Google会处理其余的页面。 I think that is the safest way to approach it, without having a plugin like they have for wordpress. 我认为这是最安全的方法,而无需像wordpress那样具有插件。

You can still enable the users to use the CMS functionality by creating custom data types for eg amp-img instead of img. 通过为amp-img(而不是img)创建自定义数据类型,您仍然可以使用户能够使用CMS功能。 The content editors will just have to be briefed on the basics of AMP. 内容编辑者仅需了解AMP的基础知识。

References: 参考文献:

https://carolelogan.net/blog/amp-implementation-in-umbraco/ https://carolelogan.net/blog/amp-implementation-in-umbraco/

https://www.ampproject.org/docs/guides/discovery https://www.ampproject.org/docs/guides/discovery

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM