SlideShare una empresa de Scribd logo
1 de 40
Descargar para leer sin conexión
F******K INSTANT ARTICLES:
HOW DOTHEY WORK?
What is an iA and what does it do?
🦄 Jer Clarke • jerclarke.org
Creative Commons Share Alike
http://creativecommons.org/licenses/by-sa/3.0/
Download these slides:
http://jerclarke.org/instant-articles-wordcamp
JER IS AN EARTHLING WEB DEVELOPER
• Communications Studies at Concordia
University.
• HTML+CSS since 2003
• Code Unicorn for GlobalVoices since 2006
• Founded WordCamp Montreal in 2009
“CITIZEN MEDIA STORIES
FROM AROUNDTHE WORLD”
ASSUMPTIONS
• You run your own WP site
• Facebook is a source of traffic for your content
• Mobile traffic is key
• You don’t want to use weird awful ad networks
• Your soul is for sale
WHAT IS AN iA AND WHAT DOES IT DO?
• Posts load “instantly” in Facebook mobile apps
• Plugin sends posts to Facebook as raw data when saved
• Facebook stores post content and renders it for mobile
• Does not “share” your posts, you do it with the normal URL
• Only applies to mobile apps
Effectively: iA replaces your WP theme when visitors click on
your articles from Facebook mobile, and acts as a CDN.
Responsive WP theme Instant Article
OKAY BUT WHAT IS AN AMP AGAIN?
• Accelerated Mobile Pages by Google
• Alternate version of a URL hosted on your site
• A custom „theme“ WP uses on your content to match the
AMP standard
• AMP versions of posts get harvested by Google and stored in
their cache
• Fast AMP cache served to Google mobile visitors
• Google gives your content special treatment in search
(Carousel)
WHY NOT USE iA?
• Hands control of your content to Facebook
• Violates open web principles
• Content must be crammed into very limited format
• Some content not possible in iA
• Complications integrating with WP plugins
• Not all ads function
• Interactivity features must be on Facebook‘s terms
WHYTO USE iA ANYWAY
• Actually super fast
• More useable and beautiful than most sites on mobile
• Only uses your URL as the web address of posts (unlike AMP)
• Analytics integration available
• No load on your server from traffic wave
• Advertising integration available
• Facebook probably gives iA unfair advantage [citation needed]
DOYOUTRUST FACEBOOK?
DOYOUTRUST ME?
• 250K iA hits
in one day
• Each one
blazing fast
• No load on
our server
GETTING IT SET UP
A long series of steps
CREATE A FACEBOOK PAGE
• You can figure this out! I believe in you!
INITIAL PLUGIN SETUP
• Install Instant Articles for WP
plugin and activate
• Go to Instant Articles in 

wp-admin sidebar
• Click “these instructions” link to
iA page activation screen
INITIAL PLUGIN SETUP
• Choose your page,
then accept the terms
• Your page is now
“activated” for iA
“these instructions”
FACEBOOK iA CONFIG SCREEN
• Your real home for iA configuration (paired with WP settings)
AUTHORIZE WP WITH “PAGE ID”
• Get the page ID from Tools > Connect Your Site from
Facebook iA config and paste it into the wp-admin iA settings
********
********
“CLAIM”YOUR WP SITE URL
• In Tools > Connect Your Site of Facebook iA config enter
your site URL to “Claim”it.
********
DEFAULT STYLETEMPLATE
• A style template is required to get approved
• Edit the default style in the Tools section if iA config
• The only mandatory style is to have a Logo set for
the article header (690x132px)
• Styles can be changed any time, follow your heart
DEFAULT STYLETEMPLATE
BASIC SETUP COMPLETE!
• iA should now be “active” on your site
• Plugin will send posts to Facebook when you save them
• iA metabox will show in the posts editor
• Time to prepare to Submit for Review
GET 5 POSTS READYTO
SUBMIT FOR REVIEW
• Overarching goal: Get the
Submit for Review button
to light up in iA config screen
• We need to have 5 posts
submitted without errors
• Existing posts are fine, but they
have to be re-saved after the
plugin is set up
DEBUGGING INITIAL POSTS
• Edit a recently published post and find the Facebook Instant
Articles metabox (move it to the top for convenience)
• Review and fix any warnings, they’re likely apply to all posts
• Repeat until you have 5 posts with no warnings saved
DEBUGGING INITIAL POSTS
Confirm your posts
were submitted in
Production
Articles 

section of iA config
You need 5
SUBMIT FOR REVIEW
• Return to iA config on Facebook
• Review any remaining warnings (5 posts, style etc.)
• Submit for review!
PENDING REVIEW
• We made it! Now wait 3 days
• Good time to review and improve iA config
TESTINGYOUR IA POSTS
• iA only show on mobile apps and only after your site is
“approved” after review
• Normally: Share a post to Facebook, then view with a
mobile app and click through to iA
• Not an option when you are pending review or when
you haven’t shared the post yet
PAGE MANAGER APP
• Facebook Page Manager app
(iOS/Android) lets you preview posts
without them being public
• Use Page Manager to preview and
design your iA while pending review
• Also useful to preview iA day-to-day
without sharing to Facebook
PREVIEW IN PAGE MANAGER
Choose your page iA in “…” menu Production posts
PREVIEW IN PAGE MANAGER
• See how it will look for
mobile users
• Change iA settings (in WP
or FB), then re-save post to
see changes
DEVELOPMENT MODE?
• Sets your site to submit to Development rather than
default Production stream
• Development posts only visible in Page Manager app
and PublishingTools on Facebook site.
• Useful when you are already approved, but want to test
output with different configurations
USING DEVELOPMENT MODE
• Enable Development Mode in WP iA settings
• Change a setting (style, transformations)
• Resave an article, which will be submitted to
Development stream rather than Production
• Preview the new version in Development section of
Page Manager app.
• Disable Development Mode in WP iA settings
• Resave the post yet again (for Production) and test
iATRANSFORMATIONS
• iA uses a small subset of HTML5 as a strict markup standard
• “Transformations” convert your WP HTML into iA markup
• Creativity needed to find “matching” iA classes for HTML
• Many useful WP transformations are built into the plugin
• Use Custom transformer rules in WP iA settings
• Uses JSON format, not very user friendly
• Can be automated by plugins with PHP
• Selector: CSS selector for HTML to be transformed
• Class: iA format to convert it into
• IgnoreRule: Sometimes you need iA to ignore some HTML
entirely
• PassThroughRule: Ignore a HTML tag, but keep it’s
content
iATRANSFORMATIONS
TRANSFORMATION EXAMPLE
Converting our <blockquote class=‘pull-quote’> into iA
PullquoteRule:
{"class":"PullquoteRule","selector":"blockquote.pull-quote"}
• Errors for invalid markup will show in the WP post editor
• Devise transformations if possible
• Sometimes you just need to clean up HTML
DEBUGGINGTRANSFORMATIONS
• Some HTML just needs to be avoided
• Devise alternate means of display that don’t disrupt iA
• Posts with errors will just skip iA, it's okay if occasional posts
remain invalid so they can keep special formatting
EDITORIAL COMPROMISE
• Populated by WP Featured Image by default
• Always show at the very top of iA view
• Cannot be duplicated inside the post according toTOS
• Consider disabling Cover Image entirely if you insert your
Featured Image in your posts
APPENDIX: COVER IMAGES
PHP to disable iA cover image
• Production/development RSS feed: NO NEVER
• Don’t forget to set up analytics!
• Don’t use Publish articles containing warnings
• Good luck with AMP integration!
APPENDIX: MOARTIPS
F******K INSTANT ARTICLES:
HOW DOTHEY WORK?
What is an iA and what does it do?
🦄 Jer Clarke • jerclarke.org
Download these slides:
http://jerclarke.org/instant-articles-wordcamp
Creative Commons Share Alike
http://creativecommons.org/licenses/by-sa/3.0/

Más contenido relacionado

Último

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 

Destacado

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Destacado (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

F******k Instant Articles: How do they work?

  • 1. F******K INSTANT ARTICLES: HOW DOTHEY WORK? What is an iA and what does it do? 🦄 Jer Clarke • jerclarke.org Creative Commons Share Alike http://creativecommons.org/licenses/by-sa/3.0/ Download these slides: http://jerclarke.org/instant-articles-wordcamp
  • 2. JER IS AN EARTHLING WEB DEVELOPER • Communications Studies at Concordia University. • HTML+CSS since 2003 • Code Unicorn for GlobalVoices since 2006 • Founded WordCamp Montreal in 2009
  • 3. “CITIZEN MEDIA STORIES FROM AROUNDTHE WORLD”
  • 4. ASSUMPTIONS • You run your own WP site • Facebook is a source of traffic for your content • Mobile traffic is key • You don’t want to use weird awful ad networks • Your soul is for sale
  • 5. WHAT IS AN iA AND WHAT DOES IT DO? • Posts load “instantly” in Facebook mobile apps • Plugin sends posts to Facebook as raw data when saved • Facebook stores post content and renders it for mobile • Does not “share” your posts, you do it with the normal URL • Only applies to mobile apps
  • 6. Effectively: iA replaces your WP theme when visitors click on your articles from Facebook mobile, and acts as a CDN. Responsive WP theme Instant Article
  • 7. OKAY BUT WHAT IS AN AMP AGAIN? • Accelerated Mobile Pages by Google • Alternate version of a URL hosted on your site • A custom „theme“ WP uses on your content to match the AMP standard • AMP versions of posts get harvested by Google and stored in their cache • Fast AMP cache served to Google mobile visitors • Google gives your content special treatment in search (Carousel)
  • 8. WHY NOT USE iA? • Hands control of your content to Facebook • Violates open web principles • Content must be crammed into very limited format • Some content not possible in iA • Complications integrating with WP plugins • Not all ads function • Interactivity features must be on Facebook‘s terms
  • 9. WHYTO USE iA ANYWAY • Actually super fast • More useable and beautiful than most sites on mobile • Only uses your URL as the web address of posts (unlike AMP) • Analytics integration available • No load on your server from traffic wave • Advertising integration available • Facebook probably gives iA unfair advantage [citation needed]
  • 11. DOYOUTRUST ME? • 250K iA hits in one day • Each one blazing fast • No load on our server
  • 12. GETTING IT SET UP A long series of steps
  • 13. CREATE A FACEBOOK PAGE • You can figure this out! I believe in you!
  • 14. INITIAL PLUGIN SETUP • Install Instant Articles for WP plugin and activate • Go to Instant Articles in 
 wp-admin sidebar • Click “these instructions” link to iA page activation screen
  • 15. INITIAL PLUGIN SETUP • Choose your page, then accept the terms • Your page is now “activated” for iA “these instructions”
  • 16. FACEBOOK iA CONFIG SCREEN • Your real home for iA configuration (paired with WP settings)
  • 17. AUTHORIZE WP WITH “PAGE ID” • Get the page ID from Tools > Connect Your Site from Facebook iA config and paste it into the wp-admin iA settings ******** ********
  • 18. “CLAIM”YOUR WP SITE URL • In Tools > Connect Your Site of Facebook iA config enter your site URL to “Claim”it. ********
  • 19. DEFAULT STYLETEMPLATE • A style template is required to get approved • Edit the default style in the Tools section if iA config
  • 20. • The only mandatory style is to have a Logo set for the article header (690x132px) • Styles can be changed any time, follow your heart DEFAULT STYLETEMPLATE
  • 21. BASIC SETUP COMPLETE! • iA should now be “active” on your site • Plugin will send posts to Facebook when you save them • iA metabox will show in the posts editor • Time to prepare to Submit for Review
  • 22. GET 5 POSTS READYTO SUBMIT FOR REVIEW • Overarching goal: Get the Submit for Review button to light up in iA config screen • We need to have 5 posts submitted without errors • Existing posts are fine, but they have to be re-saved after the plugin is set up
  • 23. DEBUGGING INITIAL POSTS • Edit a recently published post and find the Facebook Instant Articles metabox (move it to the top for convenience) • Review and fix any warnings, they’re likely apply to all posts • Repeat until you have 5 posts with no warnings saved
  • 24. DEBUGGING INITIAL POSTS Confirm your posts were submitted in Production Articles 
 section of iA config You need 5
  • 25. SUBMIT FOR REVIEW • Return to iA config on Facebook • Review any remaining warnings (5 posts, style etc.) • Submit for review!
  • 26. PENDING REVIEW • We made it! Now wait 3 days • Good time to review and improve iA config
  • 27. TESTINGYOUR IA POSTS • iA only show on mobile apps and only after your site is “approved” after review • Normally: Share a post to Facebook, then view with a mobile app and click through to iA • Not an option when you are pending review or when you haven’t shared the post yet
  • 28. PAGE MANAGER APP • Facebook Page Manager app (iOS/Android) lets you preview posts without them being public • Use Page Manager to preview and design your iA while pending review • Also useful to preview iA day-to-day without sharing to Facebook
  • 29. PREVIEW IN PAGE MANAGER Choose your page iA in “…” menu Production posts
  • 30. PREVIEW IN PAGE MANAGER • See how it will look for mobile users • Change iA settings (in WP or FB), then re-save post to see changes
  • 31. DEVELOPMENT MODE? • Sets your site to submit to Development rather than default Production stream • Development posts only visible in Page Manager app and PublishingTools on Facebook site. • Useful when you are already approved, but want to test output with different configurations
  • 32. USING DEVELOPMENT MODE • Enable Development Mode in WP iA settings • Change a setting (style, transformations) • Resave an article, which will be submitted to Development stream rather than Production • Preview the new version in Development section of Page Manager app. • Disable Development Mode in WP iA settings • Resave the post yet again (for Production) and test
  • 33. iATRANSFORMATIONS • iA uses a small subset of HTML5 as a strict markup standard • “Transformations” convert your WP HTML into iA markup • Creativity needed to find “matching” iA classes for HTML • Many useful WP transformations are built into the plugin • Use Custom transformer rules in WP iA settings • Uses JSON format, not very user friendly • Can be automated by plugins with PHP
  • 34. • Selector: CSS selector for HTML to be transformed • Class: iA format to convert it into • IgnoreRule: Sometimes you need iA to ignore some HTML entirely • PassThroughRule: Ignore a HTML tag, but keep it’s content iATRANSFORMATIONS
  • 35. TRANSFORMATION EXAMPLE Converting our <blockquote class=‘pull-quote’> into iA PullquoteRule: {"class":"PullquoteRule","selector":"blockquote.pull-quote"}
  • 36. • Errors for invalid markup will show in the WP post editor • Devise transformations if possible • Sometimes you just need to clean up HTML DEBUGGINGTRANSFORMATIONS
  • 37. • Some HTML just needs to be avoided • Devise alternate means of display that don’t disrupt iA • Posts with errors will just skip iA, it's okay if occasional posts remain invalid so they can keep special formatting EDITORIAL COMPROMISE
  • 38. • Populated by WP Featured Image by default • Always show at the very top of iA view • Cannot be duplicated inside the post according toTOS • Consider disabling Cover Image entirely if you insert your Featured Image in your posts APPENDIX: COVER IMAGES PHP to disable iA cover image
  • 39. • Production/development RSS feed: NO NEVER • Don’t forget to set up analytics! • Don’t use Publish articles containing warnings • Good luck with AMP integration! APPENDIX: MOARTIPS
  • 40. F******K INSTANT ARTICLES: HOW DOTHEY WORK? What is an iA and what does it do? 🦄 Jer Clarke • jerclarke.org Download these slides: http://jerclarke.org/instant-articles-wordcamp Creative Commons Share Alike http://creativecommons.org/licenses/by-sa/3.0/