SlideShare a Scribd company logo
Step-by-Step Procedure to Implement AMP in Website
What is AMP ?
The AMP plugin was born out of a collaboration between Google and Twitter released in 2015.
Accelerated Mobile Pages is an open source initiative project designed to optimize faster mobile
pages. It’s like taking a page that’s already mobile friendly and making it load quicker, by stripping
it down to basics.Accelerated Mobile Pages (AMP) is an open source initiative project/platform
aimed at helping publishers improve the speed and readability of their mobile content pages.
Faster Mobile Pages + Readable Content = Better User Experience
When launched, many publishers such as the The Economist, BBC, the Financial Times and
Guardian News have implemented the initiative, so by now we can safely assume AMP is an
innovation that’s worth considering for everyone who wants to stay competitive on the mobile web.
AMP pages are built with 3 core components.
AMP HTML: A subset of HTML, this markup language has some custom tags and properties and
many restrictions. But if you are familiar with regular HTML, you should not have difficulty
adapting existing pages to AMP HTML.
AMP JS: A JavaScript framework for mobile pages. The AMP JS library ensures the fast rendering
of AMP HTML pages. For the most part, it manages resource handling and asynchronous loading. It
should be noted that third-party JavaScript is not permitted with AMP.
Β© Copyright 2010-2017 webwingtechnologies.com
AMP CDN: An optional Content Delivery Network, it will take your AMP-enabled pages, cache
them and automatically make some performance optimizations. The Google AMP Cache can be
used to serve cached AMP HTML pages.
amp examples
In the above image, after searching β€˜ban on currency’ following AMP pages are displayed with
AMP symbol.
Steps to Create Your First AMP Page:
Below you’ll learn step by step that how to create a basic AMP HTML page, how to stage it and
validate that it’s AMP compliant, and finally how to get it ready for publication and distribution. Go
through the hyperlinks and learn the steps to implement AMP in your website.
ο‚· Create Your AMP HTML Page
ο‚· Include an Image
ο‚· Modify Presentation and Layout
ο‚· Preview and Validate
ο‚· Prepare Your Page for Discovery and Distribution
ο‚· Final Steps Before Publishing
How Will You Implement AMP in Your Website?
ο‚· AMP file has its extension(s) called as .amp.html.
ο‚· For starters, you will have to maintain at least two versions of any article page: The original
version of your article page that users will typically see, and the AMP version of that page.
ο‚· Certain tags of HTML can’t be used. AMP pages have a normal HTML 5 doctype, <!
doctype html>, so they are not distinguished from normal HTML this way. However, the
main html element has a special attribute, <html >, featuring the Unicode character⚑
U+26A1, β€œHIGH VOLTAGE SIGN”.
ο‚· JavaScript is basically not allowed at all.
ο‚· Rewrite your site template to accommodate the restrictions. For example, all CSS in AMP
Β© Copyright 2010-2017 webwingtechnologies.com
must be in-line and be less than 50KB. Due to loading-intensiveness of custom fonts, they
must be loaded using a special amp-font extension, in order to better control that loading.
ο‚· Multimedia must be handled specially. For example, images need to utilize the custom amp-
img element and must include an explicit width and height. (When converting a legacy
website to an AMP template, this can be a major pain if the width and height attributes aren’t
already being used). Additionally, if your images are animated GIFs, you need to use the
separate amp-anim extended component.
<amp-img src=”welcome.jpg” alt=”Welcome” height=”400β€³ width=”800β€³></amp-img>
ο‚· Similar to images, there is a custom tag that must be used to embed locally hosted videos via
HTML5, called amp-video. For embedding YouTube video, however β€” which the majority
of web videos are β€” there is a separate extended component, amp-youtube.
ο‚· In order for Google (and other technologies supporting the AMP Project) to detect the AMP
version of your article, you will need to modify the original version of the article page. The
original article page must include the following tag, essentially a canonical tag for AMP
pages:
<link rel=”amphtml” href=”http://www.example.com/blog-post/amp/”>
ο‚· The AMP Discovery page also mentions that some platforms that support AMP will require
Schema.org meta data to specify the content type of the page. (Currently, β€œarticle,” β€œrecipe,”
β€œreview” and β€œvideo” are listed as page type examples on GitHub.)
This is all about to implement AMP accelerated mobile pages with step by step procedure in your
project to work on already mobile friendly webpages and making it load quicker in mobile devices.
More blogs are on its way. All the best and stay tuned.
Β© Copyright 2010-2017 webwingtechnologies.com

More Related Content

DOCX
Webwing Technologies - Procedure to Implement AMP in your Website
PPTX
AMP K.S.
PPTX
What is Amp (Accelerated Mobile Pages)?
PPT
Setting up & Tracking AMP Pages in Google Analytics
PPTX
AMPifying your Drupal 8 Site : higher performance and higher engagement - Par...
PDF
WTF is AMP?
PDF
AMP with WordPress by Pradeep Sonawane @ Google AMP Roadshow Mumbai 2018
PDF
Genesis and AMP: Amp-le room to build amazing digital experiences
Webwing Technologies - Procedure to Implement AMP in your Website
AMP K.S.
What is Amp (Accelerated Mobile Pages)?
Setting up & Tracking AMP Pages in Google Analytics
AMPifying your Drupal 8 Site : higher performance and higher engagement - Par...
WTF is AMP?
AMP with WordPress by Pradeep Sonawane @ Google AMP Roadshow Mumbai 2018
Genesis and AMP: Amp-le room to build amazing digital experiences

What's hot (20)

PDF
Benefit Of Wordpress
PDF
Accelerated mobile pages - AuroIN
Β 
PPTX
Joomla Website Development Company
PPTX
20171214_EC-CUBE meetup in Malaysia
PDF
MAAK WEBSITE
ODP
Joomla presentation
PDF
Benefit For Wordpress
PPTX
How did you use media technologies in the construction and research , plannin...
PPTX
ENV2 Brings Simplicity To Empower Network
PDF
Blog im theme pro review and demo
PPTX
Amp for WordPress - Tech lunch Inspiration Marketing
PDF
JSN Tendo Customization Manual
PDF
WordPress Maintenance: 14 Essential Tasks to Keep Your Site Optimized
PDF
WordPress Plug-ins
PPTX
Internship presentation
PPTX
Why Not YouTube
PPTX
10 reasons to use a word press blog over any other blogging system(blog3)
PPTX
Magezon Page Builder - Drag & Drop Magento 2 Page Builder Extension
PDF
The Joy of Subforms with Randy Carey
Benefit Of Wordpress
Accelerated mobile pages - AuroIN
Β 
Joomla Website Development Company
20171214_EC-CUBE meetup in Malaysia
MAAK WEBSITE
Joomla presentation
Benefit For Wordpress
How did you use media technologies in the construction and research , plannin...
ENV2 Brings Simplicity To Empower Network
Blog im theme pro review and demo
Amp for WordPress - Tech lunch Inspiration Marketing
JSN Tendo Customization Manual
WordPress Maintenance: 14 Essential Tasks to Keep Your Site Optimized
WordPress Plug-ins
Internship presentation
Why Not YouTube
10 reasons to use a word press blog over any other blogging system(blog3)
Magezon Page Builder - Drag & Drop Magento 2 Page Builder Extension
The Joy of Subforms with Randy Carey
Ad

Similar to Step by-step procedure to implement amp in website (20)

PDF
Amp your site an intro to accelerated mobile pages
PPTX
Accelerated Mobile Pages (AMP) & How it will Impact your Business
PPTX
Get AMP’ed for AMP!
PDF
Accelerated Mobile Pages (AMP)
Β 
PDF
Amp your site: An intro to accelerated mobile pages
PPTX
Google AMP (Accelerated Mobile Pages)
PDF
Google AMP: High-Speed Pages in Higher Ed
PPTX
Amp it UP! Using Google Accelerated Mobile Pages with WordPress - WordCamp An...
PDF
Accelerated Mobile Pages (AMP) to Win Search War in 2017
PDF
AMP - Accelerated Mobile Pages
PPTX
Accelerated Mobile Pages (AMP) The Next Revolution in Mobile Web Development
PPTX
Accelerated Mobile Pages (AMP) in Magento
PDF
Accelerated Mobile Pages
PPTX
Accelerated-Mobile-Pages
PPTX
Amp up your Site with Accelerated Mobile Pages
PPTX
Mobile First et AMP - Developers Meetup - May 2017
PDF
Nodevember 2017: AMP Primer
PPT
Accelerated Mobile Pages (AMP)
PDF
AMP Up Your WordPress
Amp your site an intro to accelerated mobile pages
Accelerated Mobile Pages (AMP) & How it will Impact your Business
Get AMP’ed for AMP!
Accelerated Mobile Pages (AMP)
Β 
Amp your site: An intro to accelerated mobile pages
Google AMP (Accelerated Mobile Pages)
Google AMP: High-Speed Pages in Higher Ed
Amp it UP! Using Google Accelerated Mobile Pages with WordPress - WordCamp An...
Accelerated Mobile Pages (AMP) to Win Search War in 2017
AMP - Accelerated Mobile Pages
Accelerated Mobile Pages (AMP) The Next Revolution in Mobile Web Development
Accelerated Mobile Pages (AMP) in Magento
Accelerated Mobile Pages
Accelerated-Mobile-Pages
Amp up your Site with Accelerated Mobile Pages
Mobile First et AMP - Developers Meetup - May 2017
Nodevember 2017: AMP Primer
Accelerated Mobile Pages (AMP)
AMP Up Your WordPress
Ad

More from Webwing Technologies (9)

DOCX
Google’s mobile friendly algorithm: is your website mobile-friendly?
DOCX
Google a dwords and basic concepts with formulae
DOCX
5 benefits of amp
PDF
Web Application Development Frameworks
PPTX
Basics of software testing webwing technologies
PDF
Types of Manual Testing
PDF
Web Design Process Infographics
PDF
The Many Types of SEO 2014
PDF
Happy Gandhi Jayanti
Google’s mobile friendly algorithm: is your website mobile-friendly?
Google a dwords and basic concepts with formulae
5 benefits of amp
Web Application Development Frameworks
Basics of software testing webwing technologies
Types of Manual Testing
Web Design Process Infographics
The Many Types of SEO 2014
Happy Gandhi Jayanti

Recently uploaded (20)

PPTX
international classification of diseases ICD-10 review PPT.pptx
PPT
tcp ip networks nd ip layering assotred slides
PDF
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
PPTX
E -tech empowerment technologies PowerPoint
PDF
Tenda Login Guide: Access Your Router in 5 Easy Steps
PPTX
Power Point - Lesson 3_2.pptx grad school presentation
Β 
PDF
πŸ’° π”πŠπ“πˆ πŠπ„πŒπ„ππ€ππ†π€π πŠπˆππ„π‘πŸ’πƒ π‡π€π‘πˆ 𝐈𝐍𝐈 πŸπŸŽπŸπŸ“ πŸ’°
Β 
PDF
Introduction to the IoT system, how the IoT system works
PPTX
Slides PPTX World Game (s) Eco Economic Epochs.pptx
PPTX
SAP Ariba Sourcing PPT for learning material
PPT
Design_with_Watersergyerge45hrbgre4top (1).ppt
PPTX
Introuction about WHO-FIC in ICD-10.pptx
PPTX
introduction about ICD -10 & ICD-11 ppt.pptx
PPTX
presentation_pfe-universite-molay-seltan.pptx
PPTX
newyork.pptxirantrafgshenepalchinachinane
PDF
Cloud-Scale Log Monitoring _ Datadog.pdf
PDF
WebRTC in SignalWire - troubleshooting media negotiation
PDF
An introduction to the IFRS (ISSB) Stndards.pdf
PPTX
522797556-Unit-2-Temperature-measurement-1-1.pptx
PPTX
artificial intelligence overview of it and more
international classification of diseases ICD-10 review PPT.pptx
tcp ip networks nd ip layering assotred slides
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
E -tech empowerment technologies PowerPoint
Tenda Login Guide: Access Your Router in 5 Easy Steps
Power Point - Lesson 3_2.pptx grad school presentation
Β 
πŸ’° π”πŠπ“πˆ πŠπ„πŒπ„ππ€ππ†π€π πŠπˆππ„π‘πŸ’πƒ π‡π€π‘πˆ 𝐈𝐍𝐈 πŸπŸŽπŸπŸ“ πŸ’°
Β 
Introduction to the IoT system, how the IoT system works
Slides PPTX World Game (s) Eco Economic Epochs.pptx
SAP Ariba Sourcing PPT for learning material
Design_with_Watersergyerge45hrbgre4top (1).ppt
Introuction about WHO-FIC in ICD-10.pptx
introduction about ICD -10 & ICD-11 ppt.pptx
presentation_pfe-universite-molay-seltan.pptx
newyork.pptxirantrafgshenepalchinachinane
Cloud-Scale Log Monitoring _ Datadog.pdf
WebRTC in SignalWire - troubleshooting media negotiation
An introduction to the IFRS (ISSB) Stndards.pdf
522797556-Unit-2-Temperature-measurement-1-1.pptx
artificial intelligence overview of it and more

Step by-step procedure to implement amp in website

  • 1. Step-by-Step Procedure to Implement AMP in Website What is AMP ? The AMP plugin was born out of a collaboration between Google and Twitter released in 2015. Accelerated Mobile Pages is an open source initiative project designed to optimize faster mobile pages. It’s like taking a page that’s already mobile friendly and making it load quicker, by stripping it down to basics.Accelerated Mobile Pages (AMP) is an open source initiative project/platform aimed at helping publishers improve the speed and readability of their mobile content pages. Faster Mobile Pages + Readable Content = Better User Experience When launched, many publishers such as the The Economist, BBC, the Financial Times and Guardian News have implemented the initiative, so by now we can safely assume AMP is an innovation that’s worth considering for everyone who wants to stay competitive on the mobile web. AMP pages are built with 3 core components. AMP HTML: A subset of HTML, this markup language has some custom tags and properties and many restrictions. But if you are familiar with regular HTML, you should not have difficulty adapting existing pages to AMP HTML. AMP JS: A JavaScript framework for mobile pages. The AMP JS library ensures the fast rendering of AMP HTML pages. For the most part, it manages resource handling and asynchronous loading. It should be noted that third-party JavaScript is not permitted with AMP. Β© Copyright 2010-2017 webwingtechnologies.com
  • 2. AMP CDN: An optional Content Delivery Network, it will take your AMP-enabled pages, cache them and automatically make some performance optimizations. The Google AMP Cache can be used to serve cached AMP HTML pages. amp examples In the above image, after searching β€˜ban on currency’ following AMP pages are displayed with AMP symbol. Steps to Create Your First AMP Page: Below you’ll learn step by step that how to create a basic AMP HTML page, how to stage it and validate that it’s AMP compliant, and finally how to get it ready for publication and distribution. Go through the hyperlinks and learn the steps to implement AMP in your website. ο‚· Create Your AMP HTML Page ο‚· Include an Image ο‚· Modify Presentation and Layout ο‚· Preview and Validate ο‚· Prepare Your Page for Discovery and Distribution ο‚· Final Steps Before Publishing How Will You Implement AMP in Your Website? ο‚· AMP file has its extension(s) called as .amp.html. ο‚· For starters, you will have to maintain at least two versions of any article page: The original version of your article page that users will typically see, and the AMP version of that page. ο‚· Certain tags of HTML can’t be used. AMP pages have a normal HTML 5 doctype, <! doctype html>, so they are not distinguished from normal HTML this way. However, the main html element has a special attribute, <html >, featuring the Unicode character⚑ U+26A1, β€œHIGH VOLTAGE SIGN”. ο‚· JavaScript is basically not allowed at all. ο‚· Rewrite your site template to accommodate the restrictions. For example, all CSS in AMP Β© Copyright 2010-2017 webwingtechnologies.com
  • 3. must be in-line and be less than 50KB. Due to loading-intensiveness of custom fonts, they must be loaded using a special amp-font extension, in order to better control that loading. ο‚· Multimedia must be handled specially. For example, images need to utilize the custom amp- img element and must include an explicit width and height. (When converting a legacy website to an AMP template, this can be a major pain if the width and height attributes aren’t already being used). Additionally, if your images are animated GIFs, you need to use the separate amp-anim extended component. <amp-img src=”welcome.jpg” alt=”Welcome” height=”400β€³ width=”800β€³></amp-img> ο‚· Similar to images, there is a custom tag that must be used to embed locally hosted videos via HTML5, called amp-video. For embedding YouTube video, however β€” which the majority of web videos are β€” there is a separate extended component, amp-youtube. ο‚· In order for Google (and other technologies supporting the AMP Project) to detect the AMP version of your article, you will need to modify the original version of the article page. The original article page must include the following tag, essentially a canonical tag for AMP pages: <link rel=”amphtml” href=”http://www.example.com/blog-post/amp/”> ο‚· The AMP Discovery page also mentions that some platforms that support AMP will require Schema.org meta data to specify the content type of the page. (Currently, β€œarticle,” β€œrecipe,” β€œreview” and β€œvideo” are listed as page type examples on GitHub.) This is all about to implement AMP accelerated mobile pages with step by step procedure in your project to work on already mobile friendly webpages and making it load quicker in mobile devices. More blogs are on its way. All the best and stay tuned. Β© Copyright 2010-2017 webwingtechnologies.com