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

Jer Clarke
Jer ClarkeCode Unicorn (WordPress) at Global Voices
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/
1 of 40

Recommended

globalvoices.org - How our CC license spawned a world class translation commu... by
globalvoices.org - How our CC license spawned a world class translation commu...globalvoices.org - How our CC license spawned a world class translation commu...
globalvoices.org - How our CC license spawned a world class translation commu...Jer Clarke
758 views22 slides
Put A Map On It! Enhanced geolocation in WordPress with Geo Mashup by
Put A Map On It! Enhanced geolocation in WordPress with Geo MashupPut A Map On It! Enhanced geolocation in WordPress with Geo Mashup
Put A Map On It! Enhanced geolocation in WordPress with Geo MashupJer Clarke
9.3K views30 slides
Keep Your Code Organized! WordCamp Montreal 2013 Presentation slides by
Keep Your Code Organized! WordCamp Montreal 2013 Presentation slidesKeep Your Code Organized! WordCamp Montreal 2013 Presentation slides
Keep Your Code Organized! WordCamp Montreal 2013 Presentation slidesJer Clarke
5.2K views33 slides
WordCamp NYC - DRY CSS by
WordCamp NYC - DRY CSSWordCamp NYC - DRY CSS
WordCamp NYC - DRY CSSJer Clarke
3.9K views30 slides
DRY CSS A don’t-repeat-yourself methodology for creating efficient, unified a... by
DRY CSS A don’t-repeat-yourself methodology for creating efficient, unified a...DRY CSS A don’t-repeat-yourself methodology for creating efficient, unified a...
DRY CSS A don’t-repeat-yourself methodology for creating efficient, unified a...Jer Clarke
91.6K views32 slides
Global Voices proves Creative Commons is Awesome • CC Salon Montreal by
Global Voices proves Creative Commons is Awesome • CC Salon MontrealGlobal Voices proves Creative Commons is Awesome • CC Salon Montreal
Global Voices proves Creative Commons is Awesome • CC Salon MontrealJer Clarke
672 views20 slides

More Related Content

Recently uploaded

1st parposal presentation.pptx by
1st parposal presentation.pptx1st parposal presentation.pptx
1st parposal presentation.pptxi238212
9 views3 slides
The details of description: Techniques, tips, and tangents on alternative tex... by
The details of description: Techniques, tips, and tangents on alternative tex...The details of description: Techniques, tips, and tangents on alternative tex...
The details of description: Techniques, tips, and tangents on alternative tex...BookNet Canada
126 views24 slides
Unit 1_Lecture 2_Physical Design of IoT.pdf by
Unit 1_Lecture 2_Physical Design of IoT.pdfUnit 1_Lecture 2_Physical Design of IoT.pdf
Unit 1_Lecture 2_Physical Design of IoT.pdfStephenTec
12 views36 slides
Data-centric AI and the convergence of data and model engineering: opportunit... by
Data-centric AI and the convergence of data and model engineering:opportunit...Data-centric AI and the convergence of data and model engineering:opportunit...
Data-centric AI and the convergence of data and model engineering: opportunit...Paolo Missier
39 views40 slides
The Research Portal of Catalonia: Growing more (information) & more (services) by
The Research Portal of Catalonia: Growing more (information) & more (services)The Research Portal of Catalonia: Growing more (information) & more (services)
The Research Portal of Catalonia: Growing more (information) & more (services)CSUC - Consorci de Serveis Universitaris de Catalunya
79 views25 slides
Transcript: The Details of Description Techniques tips and tangents on altern... by
Transcript: The Details of Description Techniques tips and tangents on altern...Transcript: The Details of Description Techniques tips and tangents on altern...
Transcript: The Details of Description Techniques tips and tangents on altern...BookNet Canada
135 views15 slides

Recently uploaded(20)

1st parposal presentation.pptx by i238212
1st parposal presentation.pptx1st parposal presentation.pptx
1st parposal presentation.pptx
i2382129 views
The details of description: Techniques, tips, and tangents on alternative tex... by BookNet Canada
The details of description: Techniques, tips, and tangents on alternative tex...The details of description: Techniques, tips, and tangents on alternative tex...
The details of description: Techniques, tips, and tangents on alternative tex...
BookNet Canada126 views
Unit 1_Lecture 2_Physical Design of IoT.pdf by StephenTec
Unit 1_Lecture 2_Physical Design of IoT.pdfUnit 1_Lecture 2_Physical Design of IoT.pdf
Unit 1_Lecture 2_Physical Design of IoT.pdf
StephenTec12 views
Data-centric AI and the convergence of data and model engineering: opportunit... by Paolo Missier
Data-centric AI and the convergence of data and model engineering:opportunit...Data-centric AI and the convergence of data and model engineering:opportunit...
Data-centric AI and the convergence of data and model engineering: opportunit...
Paolo Missier39 views
Transcript: The Details of Description Techniques tips and tangents on altern... by BookNet Canada
Transcript: The Details of Description Techniques tips and tangents on altern...Transcript: The Details of Description Techniques tips and tangents on altern...
Transcript: The Details of Description Techniques tips and tangents on altern...
BookNet Canada135 views
Lilypad @ Labweek, Istanbul, 2023.pdf by Ally339821
Lilypad @ Labweek, Istanbul, 2023.pdfLilypad @ Labweek, Istanbul, 2023.pdf
Lilypad @ Labweek, Istanbul, 2023.pdf
Ally3398219 views
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N... by James Anderson
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
James Anderson66 views
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院 by IttrainingIttraining
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院
Piloting & Scaling Successfully With Microsoft Viva by Richard Harbridge
Piloting & Scaling Successfully With Microsoft VivaPiloting & Scaling Successfully With Microsoft Viva
Piloting & Scaling Successfully With Microsoft Viva
Attacking IoT Devices from a Web Perspective - Linux Day by Simone Onofri
Attacking IoT Devices from a Web Perspective - Linux Day Attacking IoT Devices from a Web Perspective - Linux Day
Attacking IoT Devices from a Web Perspective - Linux Day
Simone Onofri15 views
Business Analyst Series 2023 - Week 3 Session 5 by DianaGray10
Business Analyst Series 2023 -  Week 3 Session 5Business Analyst Series 2023 -  Week 3 Session 5
Business Analyst Series 2023 - Week 3 Session 5
DianaGray10237 views
Empathic Computing: Delivering the Potential of the Metaverse by Mark Billinghurst
Empathic Computing: Delivering  the Potential of the MetaverseEmpathic Computing: Delivering  the Potential of the Metaverse
Empathic Computing: Delivering the Potential of the Metaverse
Mark Billinghurst476 views
AMAZON PRODUCT RESEARCH.pdf by JerikkLaureta
AMAZON PRODUCT RESEARCH.pdfAMAZON PRODUCT RESEARCH.pdf
AMAZON PRODUCT RESEARCH.pdf
JerikkLaureta19 views
STPI OctaNE CoE Brochure.pdf by madhurjyapb
STPI OctaNE CoE Brochure.pdfSTPI OctaNE CoE Brochure.pdf
STPI OctaNE CoE Brochure.pdf
madhurjyapb13 views

Featured

ChatGPT and the Future of Work - Clark Boyd by
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
22K views69 slides
Getting into the tech field. what next by
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
5.3K views22 slides
Google's Just Not That Into You: Understanding Core Updates & Search Intent by
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 IntentLily Ray
6.1K views99 slides
How to have difficult conversations by
How to have difficult conversations How to have difficult conversations
How to have difficult conversations Rajiv Jayarajah, MAppComm, ACC
4.6K views19 slides
Introduction to Data Science by
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data ScienceChristy Abraham Joy
82.2K views51 slides
Time Management & Productivity - Best Practices by
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
169.7K views42 slides

Featured(20)

ChatGPT and the Future of Work - Clark Boyd by 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
Clark Boyd22K views
Getting into the tech field. what next by Tessa Mero
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero5.3K views
Google's Just Not That Into You: Understanding Core Updates & Search Intent by Lily Ray
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
Lily Ray6.1K views
Time Management & Productivity - Best Practices by Vit Horky
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit Horky169.7K views
The six step guide to practical project management by MindGenius
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
MindGenius36.6K views
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright... by RachelPearson36
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...
RachelPearson3612.6K views
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present... by Applitools
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Applitools55.4K views
12 Ways to Increase Your Influence at Work by GetSmarter
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
GetSmarter401.6K views
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G... by DevGAMM Conference
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
DevGAMM Conference3.6K views
Barbie - Brand Strategy Presentation by Erica Santiago
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
Erica Santiago25.1K views
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well by Saba Software
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Saba Software25.2K views
Introduction to C Programming Language by Simplilearn
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
Simplilearn8.4K views
The Pixar Way: 37 Quotes on Developing and Maintaining a Creative Company (fr... by Palo Alto Software
The Pixar Way: 37 Quotes on Developing and Maintaining a Creative Company (fr...The Pixar Way: 37 Quotes on Developing and Maintaining a Creative Company (fr...
The Pixar Way: 37 Quotes on Developing and Maintaining a Creative Company (fr...
Palo Alto Software88.3K views
9 Tips for a Work-free Vacation by Weekdone.com
9 Tips for a Work-free Vacation9 Tips for a Work-free Vacation
9 Tips for a Work-free Vacation
Weekdone.com7.2K views
How to Map Your Future by SlideShop.com
How to Map Your FutureHow to Map Your Future
How to Map Your Future
SlideShop.com275.1K views

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/