Slide 1

Slide 1 text

No content

Slide 2

Slide 2 text

@rvtheverett #WTSFest Allow: /dogs Allow: /SEO Allow: /python My coding partner in crime

Slide 3

Slide 3 text

@rvtheverett #WTSFest PROBLEM SEOs are busy

Slide 4

Slide 4 text

@rvtheverett #WTSFest SOLUTION Automation

Slide 5

Slide 5 text

@rvtheverett #WTSFest Enter Data Analysis & Automation with Python

Slide 6

Slide 6 text

My introduction to Python What We’ll Cover What Python is and how it can be used How Python can help with Technical SEO @rvtheverett #WTSFest

Slide 7

Slide 7 text

@rvtheverett #WTSFest MY INTRODUCTION TO PYTHON

Slide 8

Slide 8 text

Before @rvtheverett #WTSFest

Slide 9

Slide 9 text

Now @rvtheverett #WTSFest

Slide 10

Slide 10 text

INSPIRATION IN THE INDUSTRY @rvtheverett #WTSFest @hamletbatista @BritneyMuller https://www.slideshare.net/Muller-Marketing-Inc/machine-learning-for-marketers- ctaconf-2019 https://www.searchenginejournal.com/author/hamlet-batista/

Slide 11

Slide 11 text

INSPIRATION IN THE INDUSTRY @rvtheverett #WTSFest Paul Shapiro https://moz.com/blog/programming-for-seos Tyler Reardon https://www.slideshare.net/TylerReardon2/advanced-technical-seo-in- 2020-data-science

Slide 12

Slide 12 text

SCALING AUTOMATED QUALITY TEXT GENERATION WEBINAR @rvtheverett #WTSFest https://www.deepcrawl.com/blog/webinars/scaling-automated-quality-text-generation-for-enterprise-sites/

Slide 13

Slide 13 text

COMPANIES USING PYTHON @rvtheverett #WTSFest

Slide 14

Slide 14 text

COMPANIES USING PYTHON "Python has been an important part of Google since the beginning, and remains so as the system grows and evolves. Today dozens of Google engineers use Python, and we're looking for more people with skills in this language." @rvtheverett #WTSFest

Slide 15

Slide 15 text

COMPANIES USING PYTHON "Python is fast enough for our site and allows us to produce maintainable features in record times, with a minimum of developers" @rvtheverett @DeepCrawl

Slide 16

Slide 16 text

CODECADEMY @rvtheverett #WTSFest 20 week online course Mixture of theory and practical A range of projects to undertake Code console & terminal to play and test

Slide 17

Slide 17 text

DATACAMP @rvtheverett #WTSFest Wide range of skill tracks Interactive exercises Instant explanations Challenges and projects https://www.datacamp.com/learn/python/

Slide 18

Slide 18 text

SOLOLEARN @rvtheverett #WTSFest Free mobile app Learn Python on the go Over 200 practice questions Code Playground https://www.sololearn.com/Course/Python/

Slide 19

Slide 19 text

CODECOMBAT @rvtheverett #WTSFest https://codecombat.com/

Slide 20

Slide 20 text

@rvtheverett #WTSFest WHAT IS PYTHON?

Slide 21

Slide 21 text

WHAT IS PYTHON? Code written in the terminal @rvtheverett #WTSFest Results generated Open-source interactive programming language Interpreted line by line

Slide 22

Slide 22 text

USING PYTHON Mac - Terminal Windows - Command Line @rvtheverett #WTSFest

Slide 23

Slide 23 text

USING PYTHON @rvtheverett #WTSFest Google Colab

Slide 24

Slide 24 text

USING PYTHON @rvtheverett #WTSFest Jupyter Notebook

Slide 25

Slide 25 text

PYTHON LIBRARIES @rvtheverett #WTSFest Data extraction & analysis Scientific Computing Natural Language Processing Machine Learning

Slide 26

Slide 26 text

@rvtheverett #WTSFest HOW PYTHON CAN HELP WITH TECHNICAL SEO

Slide 27

Slide 27 text

WHY SHOULD WE CARE? @rvtheverett #WTSFest Data extraction and analysis to solve complex problems Future-proofing your job Efficiency and time-saving Automating repetitive tasks https://www.ranksense.com/empowering-a-new-generation-of-seos-with-python/

Slide 28

Slide 28 text

WHY SHOULD WE CARE? @rvtheverett #WTSFest Spend 5 hours a week using excel Thats 20 hours a month Over 200 hours a year (35 hours in dog time) (140 hours in dog time) (1400 hours in dog time)

Slide 29

Slide 29 text

WHY SHOULD WE CARE? @rvtheverett #WTSFest Average salary for a Technical SEO Executive: £25,000 Average £12 per hour £2,400 you could save

Slide 30

Slide 30 text

WHY SHOULD WE CARE? @rvtheverett #WTSFest Imagine what we could achieve if we spent this time (and money) on other important tasks

Slide 31

Slide 31 text

@rvtheverett #WTSFest WHY IS PYTHON GROWING IN POPULARITY IN THE SEO SPACE? Make data driven decisions Allowing us to focus on other important optimisation efforts Confidence in recommendations Provide concrete insights Better understand data

Slide 32

Slide 32 text

AUTOMATING WITH PYTHON @rvtheverett #WTSFest Automating with Python Parameter Finder 404 Checker Internal Linking Analysis Image Optimisation Website Scraping Keyword Research

Slide 33

Slide 33 text

@rvtheverett #WTSFest CHALLENGE - MISSING ALT TEXT SOLUTION - IMAGE CAPTIONING WITH PYTHIA

Slide 34

Slide 34 text

IMAGE CAPTIONING WITH PYTHIA @rvtheverett #WTSFest Pythia Modular Framework https://paperswithcode.com/paper/bottom-up-and-top-down-attention-for-image https://learnpythia.readthedocs.io/en/latest/

Slide 35

Slide 35 text

@rvtheverett #WTSFest IMAGE CAPTIONING WITH PYTHIA Google Colab Link

Slide 36

Slide 36 text

@rvtheverett #WTSFest IMAGE CAPTIONING WITH PYTHIA

Slide 37

Slide 37 text

It’s not perfect though! @rvtheverett #WTSFest IMAGE CAPTIONING WITH PYTHIA

Slide 38

Slide 38 text

@rvtheverett #WTSFest CHALLENGE - BROKEN PAGES SOLUTION - CRAWL404

Slide 39

Slide 39 text

CRAWL404 @rvtheverett #WTSFest Once you specify the sitemap the script will; Read the sitemap.xml file Search for ‘href’ attribute to get all the valid links from every page Check the link response code Export all 404 error URLs to a text file Github Link

Slide 40

Slide 40 text

@rvtheverett #WTSFest CHALLENGE - LARGE IMAGE FILE SIZES SOLUTION - OPTIMISE IMAGES

Slide 41

Slide 41 text

OPTIMISE IMAGES WITH PILLOW @rvtheverett #WTSFest Pure Python using the Pillow library This script does optimise images destructively optimize-images filename.jpg Optimise a single image optimize-images ./ Optimise a folder with multiple images Github Link

Slide 42

Slide 42 text

OPTIMISE IMAGES WITH PILLOW @rvtheverett #WTSFest

Slide 43

Slide 43 text

OPTIMISE IMAGES WITH PILLOW @rvtheverett #WTSFest

Slide 44

Slide 44 text

OPTIMISE IMAGES WITH PILLOW @rvtheverett #WTSFest

Slide 45

Slide 45 text

OPTIMISE IMAGES WITH PILLOW @rvtheverett #WTSFest Original Optimised

Slide 46

Slide 46 text

@rvtheverett #WTSFest No coding knowledge required!

Slide 47

Slide 47 text

OTHER POSSIBILITIES @rvtheverett #WTSFest Log File analysis Validate hreflang Identify duplicate URLs Perform competitor analysis Automate page speed audits

Slide 48

Slide 48 text

@rvtheverett #WTSFest Think about what you can automate!

Slide 49

Slide 49 text

@rvtheverett #WTSFest PAGESPEED API WITH PYTHON

Slide 50

Slide 50 text

@rvtheverett #WTSFest PAGESPEED API WITH PYTHON Try it out on Colab

Slide 51

Slide 51 text

OTHER FUN PYTHON PROJECTS @rvtheverett #WTSFest Create a bot using Python, Telegram and RandomDog API https://www.practicepython.org/ https://realpython.com/pygame-a-primer/ https://inventwithpython.com/pygame/

Slide 52

Slide 52 text

POWERING MACHINE LEARNING @rvtheverett #WTSFest “Machine learning is an application of artificial intelligence (AI) that provides systems the ability to automatically learn and improve from experience without being explicitly programmed.” https://www.expertsystem.com/machine-learning-definition/

Slide 53

Slide 53 text

POWERING MACHINE LEARNING @rvtheverett #WTSFest https://www.expertsystem.com/machine-learning-definition/ Run a python script to train the computer, using a dataset Summarise & Visualise the dataset Evaluate the algorithms Make Predictions

Slide 54

Slide 54 text

REAL WORLD MACHINE LEARNING EXAMPLES @rvtheverett #WTSFest

Slide 55

Slide 55 text

SEO POSSIBILITIES WITH MACHINE LEARNING @rvtheverett #WTSFest SEO Possibilities with Machine Learning Evaluating Content Quality Log File Analysis Predictive analysis Title Tag Optimisation User Engagement Insights Audio Transcribing

Slide 56

Slide 56 text

@rvtheverett #WTSFest THE FUTURE OF SEO Understand and solve problems faster

Slide 57

Slide 57 text

@rvtheverett #WTSFest THE FUTURE OF SEO Make data driven decisions

Slide 58

Slide 58 text

@rvtheverett #WTSFest THE FUTURE OF SEO Focus on other important optimisation activities

Slide 59

Slide 59 text

No content

Slide 60

Slide 60 text

TALK TO YOUR DEVELOPERS

Slide 61

Slide 61 text

JOIN COMMUNITIES https://pyslackers.com/web

Slide 62

Slide 62 text

https://www.100daysofcode.com/ KEEP PRACTICING AND HAVE FUN

Slide 63

Slide 63 text

KEY TAKEAWAYS @rvtheverett #WTSFest Python can help technical SEOs increase their efficiency. Being able to better understand data will lead to better decisions being made. Anyone can learn Python, with a little commitment. Have fun with it and see what you can create.

Slide 64

Slide 64 text

USEFUL RESOURCES @rvtheverett #WTSFest https://www.python.org/ https://www.searchenginejournal.com/python-seo-data-reference-guide/287927/ https://www.searchenginewatch.com/2019/02/06/using-python-to-recover-seo-site-traffic-part-one/ https://cs109.github.io/2015/ https://www.deepcrawl.com/blog/webinars/scaling-automated-quality-text-generation-for-enterprise-sites/ https://automatetheboringstuff.com/ https://towardsdatascience.com/beginners-guide-to-machine-learning-with-python-b9ff35bc9c51 https://www.searchenginejournal.com/python-technical-seo/330515 https://www.searchenginejournal.com/introduction-to-python-seo-spreadsheets/342779/ https://www.fullstackpython.com/

Slide 65

Slide 65 text

THANK YOU #WTSFest Ruth Everett Technical SEO & Content Executive @rvtheverett