SlideShare une entreprise Scribd logo
1  sur  73
Télécharger pour lire hors ligne
Screaming Frog + Xpath
Crawl specific page elements on your own or
competitor‘s websites
@Urlaubspiraten #SEO4Pirates Nr.6
Sabine Langmann
Level 1
23.08.2018 Sabine Langmann Bit.ly/abjsd
What is this about?
23.08.2018 Sabine Langmann Bit.ly/abjsd
We‘d like: to crawl specific
elements on our own web pages
or the ones of our competition
We use: Screaming Frog‘s
Custom Search + XPath
23.08.2018 Sabine Langmann Bit.ly/abjsd
23.08.2018 Sabine Langmann Bit.ly/abjsd
23.08.2018 Sabine Langmann Bit.ly/abjsd
23.08.2018 Sabine Langmann Bit.ly/abjsd
23.08.2018 Sabine Langmann Bit.ly/abjsd
Level 2
23.08.2018 Sabine Langmann Bit.ly/abjsd
Who am I?
Geek. SEO. Kuchen.
23.08.2018 Sabine Langmann Bit.ly/abjsd
Who am I?
http://sabine-langmann.com
https://www.linkedin.com/in/sabine-langmann/
@SabTheLa
@sababeille
23.08.2018 Sabine Langmann Bit.ly/abjsd
Slides available at:
https://www.slideshare.net/SabineLangmann
23.08.2018 Sabine Langmann Bit.ly/abjsd
Level 3Level 3
23.08.2018 Sabine Langmann Bit.ly/abjsd
Xpath
23.08.2018 Sabine Langmann Bit.ly/abjsd
XPath (XML Path Language) is a
query language
for selecting nodes
from an XML document.
Wikipedia
23.08.2018 Sabine Langmann Bit.ly/abjsd
Simple Syntax
node every page element (e.g. H2, a, p, div)
// adresses a certain node
attribute attribute of a node (e.g. class, id)
@ adresses a certain attribute
count() counts addressed nodes
23.08.2018 Sabine Langmann Bit.ly/abjsd
Simple Syntax
23.08.2018 Sabine Langmann
//node[@attribute="attribute_name"]
bit.ly/2o3vJ5O
Simple Syntax
23.08.2018 Sabine Langmann
count(//node[@attribute="attribute_name"])
bit.ly/2o3vJ5O
Level 4
23.08.2018 Sabine Langmann Bit.ly/abjsd
Some use cases
23.08.2018 Sabine Langmann Bit.ly/abjsd
Urlaubspiraten
vs.
Sonnenklar TV
23.08.2018 Sabine Langmann Bit.ly/abjsd
23.08.2018 Sabine Langmann Bit.ly/abjsd
How many images?
How many H2, H3, etc?
How many words?
How many links to which pages?
23.08.2018 Sabine Langmann Bit.ly/abjsd
23.08.2018 Sabine Langmann Bit.ly/abjsd
23.08.2018 Sabine Langmann Bit.ly/abjsd
How many images?
How many H2, H3, etc?
How many words?
How many links to which pages?
Step #1
23.08.2018 Sabine Langmann Bit.ly/abjsd
23.08.2018 Sabine Langmann Bit.ly/abjsd
Step #1
23.08.2018 Sabine Langmann Bit.ly/abjsd
Step #2
23.08.2018 Sabine Langmann Bit.ly/abjsd
Step #2
What am I searching for?
23.08.2018 Sabine Langmann Bit.ly/abjsd
Step #3
In
<div class="htmlContent">
I‘m searching for links, which is
<a>-Tags
23.08.2018 Sabine Langmann Bit.ly/abjsd
Step #3
Suitable Xpath selector:
//div[@class ="htmlContent"]//a
23.08.2018 Sabine Langmann Bit.ly/abjsd
3. Schritt
23.08.2018 Sabine Langmann Bit.ly/abjsd
Step #4
23.08.2018 Sabine Langmann Bit.ly/abjsd
Step #4
23.08.2018 Sabine Langmann Bit.ly/abjsd
23.08.2018 Sabine Langmann Bit.ly/abjsd
Result
Result
23.08.2018 Sabine Langmann Bit.ly/abjsd
23.08.2018 Sabine Langmann Bit.ly/abjsd
23.08.2018 Sabine Langmann Bit.ly/abjsd
usw.23.08.2018 Sabine Langmann Bit.ly/abjsd
23.08.2018 Sabine Langmann Bit.ly/abjsd
23.08.2018 Sabine Langmann Bit.ly/abjsd
In
<div class="container">
I‘m searching for
the number of H3
23.08.2018 Sabine Langmann Bit.ly/abjsd
Suitable Xpath selector:
count(//div[@class ="container"]//h3)
23.08.2018 Sabine Langmann Bit.ly/abjsd
23.08.2018 Sabine Langmann Bit.ly/abjsd
23.08.2018 Sabine Langmann Bit.ly/abjsd
Result
Result
23.08.2018 Sabine Langmann Bit.ly/abjsd
Gutscheinsammler
vs.
Sparwelt
23.08.2018 Sabine Langmann Bit.ly/abjsd
23.08.2018 Sabine Langmann Bit.ly/abjsd
Which star rating?
How many words in the intro?
How many active coupon codes?
23.08.2018 Sabine Langmann Bit.ly/abjsd
23.08.2018 Sabine Langmann Bit.ly/abjsd
Suitable Xpath selector:
//button[@data-vouchertype="is__discounts"]//span
23.08.2018 Sabine Langmann Bit.ly/abjsd
Result
23.08.2018 Sabine Langmann Bit.ly/abjsd
23.08.2018 Sabine Langmann Bit.ly/abjsd
How many active coupon codes?
23.08.2018 Sabine Langmann Bit.ly/abjsd
23.08.2018 Sabine Langmann Bit.ly/abjsd
23.08.2018 Sabine Langmann Bit.ly/abjsd
Suitable Xpath selector:
count(
//div[@class="media-list vouchers-active"]
//div[@class="col-xs-12 col-sm-5"]
//span[@class="text"]
)
23.08.2018 Sabine Langmann Bit.ly/abjsd
Result
23.08.2018 Sabine Langmann Bit.ly/abjsd
Kino.de
vs.
Serienjunkies
23.08.2018 Sabine Langmann Bit.ly/abjsd
23.08.2018 Sabine Langmann Bit.ly/abjsd
How many words in the description?
23.08.2018 Sabine Langmann Bit.ly/abjsd
Suitable Xpath selector:
//section[@class="smb-post-body"]//p
23.08.2018 Sabine Langmann Bit.ly/abjsd
23.08.2018 Sabine Langmann Bit.ly/abjsd
Result
23.08.2018 Sabine Langmann Bit.ly/abjsd
23.08.2018 Sabine Langmann Bit.ly/abjsd
How many words in the description?
23.08.2018 Sabine Langmann Bit.ly/abjsd
Suitable Xpath selector:
//section//p
23.08.2018 Sabine Langmann Bit.ly/abjsd
23.08.2018 Sabine Langmann Bit.ly/abjsd
Result
23.08.2018 Sabine Langmann Bit.ly/abjsd
Level 5
23.08.2018 Sabine Langmann Bit.ly/abjsd
Recap:
Which data do I need?
Can I crawl the respective elements?
What is the right Xpath selector?
That‘s it!
23.08.2018 Sabine Langmann Bit.ly/abjsd
Screaming frog + xpath en

Contenu connexe

Tendances (9)

Boston Area SharePoint Users Group November 9th, 2011 Meeting
Boston Area SharePoint Users Group November 9th, 2011 MeetingBoston Area SharePoint Users Group November 9th, 2011 Meeting
Boston Area SharePoint Users Group November 9th, 2011 Meeting
 
4/13/11 Boston Area SharePoint Users Group Meeting
4/13/11 Boston Area SharePoint Users Group Meeting4/13/11 Boston Area SharePoint Users Group Meeting
4/13/11 Boston Area SharePoint Users Group Meeting
 
7/14/10 Boston Area SharePoint Users Group Meeting
7/14/10 Boston Area SharePoint Users Group Meeting7/14/10 Boston Area SharePoint Users Group Meeting
7/14/10 Boston Area SharePoint Users Group Meeting
 
2/9/11 Boston Area SharePoint Users Group Meeting
2/9/11 Boston Area SharePoint Users Group Meeting2/9/11 Boston Area SharePoint Users Group Meeting
2/9/11 Boston Area SharePoint Users Group Meeting
 
Sistrix - SEO Do's and Don't
Sistrix - SEO Do's and Don'tSistrix - SEO Do's and Don't
Sistrix - SEO Do's and Don't
 
BASPUG Meeting deck from 7/11/12
BASPUG Meeting deck from 7/11/12BASPUG Meeting deck from 7/11/12
BASPUG Meeting deck from 7/11/12
 
Telling the Story of Your Content - SAScon 2016
Telling the Story of Your Content - SAScon 2016Telling the Story of Your Content - SAScon 2016
Telling the Story of Your Content - SAScon 2016
 
MAA Southeast Section Picture Slideshow
MAA Southeast Section Picture SlideshowMAA Southeast Section Picture Slideshow
MAA Southeast Section Picture Slideshow
 
Boston Area SharePoint Users Group January 11th, 2012 Meeting
Boston Area SharePoint Users Group January 11th, 2012 MeetingBoston Area SharePoint Users Group January 11th, 2012 Meeting
Boston Area SharePoint Users Group January 11th, 2012 Meeting
 

Dernier

Google 3rd-Party Cookie Deprecation [Update] + 5 Best Strategies
Google 3rd-Party Cookie Deprecation [Update] + 5 Best StrategiesGoogle 3rd-Party Cookie Deprecation [Update] + 5 Best Strategies
Google 3rd-Party Cookie Deprecation [Update] + 5 Best StrategiesSearch Engine Journal
 
The Science of Landing Page Messaging.pdf
The Science of Landing Page Messaging.pdfThe Science of Landing Page Messaging.pdf
The Science of Landing Page Messaging.pdfVWO
 
BDSM⚡Call Girls in Sector 128 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 128 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 128 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 128 Noida Escorts >༒8448380779 Escort ServiceDelhi Call girls
 
Digital-Marketing-Into-by-Zoraiz-Ahmad.pptx
Digital-Marketing-Into-by-Zoraiz-Ahmad.pptxDigital-Marketing-Into-by-Zoraiz-Ahmad.pptx
Digital-Marketing-Into-by-Zoraiz-Ahmad.pptxZACGaming
 
FULL ENJOY Call Girls In Majnu.Ka.Tilla Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu.Ka.Tilla Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu.Ka.Tilla Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu.Ka.Tilla Delhi Contact Us 8377877756dollysharma2066
 
personal branding kit for music business
personal branding kit for music businesspersonal branding kit for music business
personal branding kit for music businessbrjohnson6
 
Defining Marketing for the 21st Century,kotler
Defining Marketing for the 21st Century,kotlerDefining Marketing for the 21st Century,kotler
Defining Marketing for the 21st Century,kotlerAmirNasiruog
 
Brand experience Dream Center Peoria Presentation.pdf
Brand experience Dream Center Peoria Presentation.pdfBrand experience Dream Center Peoria Presentation.pdf
Brand experience Dream Center Peoria Presentation.pdftbatkhuu1
 
Enjoy Night⚡Call Girls Dlf City Phase 4 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 4 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 4 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 4 Gurgaon >༒8448380779 Escort ServiceDelhi Call girls
 
Netflix Ads The Game Changer in Video Ads – Who Needs YouTube.pptx (Chester Y...
Netflix Ads The Game Changer in Video Ads – Who Needs YouTube.pptx (Chester Y...Netflix Ads The Game Changer in Video Ads – Who Needs YouTube.pptx (Chester Y...
Netflix Ads The Game Changer in Video Ads – Who Needs YouTube.pptx (Chester Y...ChesterYang6
 
How to Leverage Behavioral Science Insights for Direct Mail Success
How to Leverage Behavioral Science Insights for Direct Mail SuccessHow to Leverage Behavioral Science Insights for Direct Mail Success
How to Leverage Behavioral Science Insights for Direct Mail SuccessAggregage
 
Situation Analysis | Management Company.
Situation Analysis | Management Company.Situation Analysis | Management Company.
Situation Analysis | Management Company.DanielaQuiroz63
 
Brand experience Peoria City Soccer Presentation.pdf
Brand experience Peoria City Soccer Presentation.pdfBrand experience Peoria City Soccer Presentation.pdf
Brand experience Peoria City Soccer Presentation.pdftbatkhuu1
 
BDSM⚡Call Girls in Sector 144 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 144 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 144 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 144 Noida Escorts >༒8448380779 Escort ServiceDelhi Call girls
 
Five Essential Tools for International SEO - Natalia Witczyk - SearchNorwich 15
Five Essential Tools for International SEO - Natalia Witczyk - SearchNorwich 15Five Essential Tools for International SEO - Natalia Witczyk - SearchNorwich 15
Five Essential Tools for International SEO - Natalia Witczyk - SearchNorwich 15SearchNorwich
 

Dernier (20)

Google 3rd-Party Cookie Deprecation [Update] + 5 Best Strategies
Google 3rd-Party Cookie Deprecation [Update] + 5 Best StrategiesGoogle 3rd-Party Cookie Deprecation [Update] + 5 Best Strategies
Google 3rd-Party Cookie Deprecation [Update] + 5 Best Strategies
 
The Science of Landing Page Messaging.pdf
The Science of Landing Page Messaging.pdfThe Science of Landing Page Messaging.pdf
The Science of Landing Page Messaging.pdf
 
BDSM⚡Call Girls in Sector 128 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 128 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 128 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 128 Noida Escorts >༒8448380779 Escort Service
 
Digital-Marketing-Into-by-Zoraiz-Ahmad.pptx
Digital-Marketing-Into-by-Zoraiz-Ahmad.pptxDigital-Marketing-Into-by-Zoraiz-Ahmad.pptx
Digital-Marketing-Into-by-Zoraiz-Ahmad.pptx
 
Brand Strategy Master Class - Juntae DeLane
Brand Strategy Master Class - Juntae DeLaneBrand Strategy Master Class - Juntae DeLane
Brand Strategy Master Class - Juntae DeLane
 
The Future of Brands on LinkedIn - Alison Kaltman
The Future of Brands on LinkedIn - Alison KaltmanThe Future of Brands on LinkedIn - Alison Kaltman
The Future of Brands on LinkedIn - Alison Kaltman
 
FULL ENJOY Call Girls In Majnu.Ka.Tilla Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu.Ka.Tilla Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu.Ka.Tilla Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu.Ka.Tilla Delhi Contact Us 8377877756
 
personal branding kit for music business
personal branding kit for music businesspersonal branding kit for music business
personal branding kit for music business
 
Defining Marketing for the 21st Century,kotler
Defining Marketing for the 21st Century,kotlerDefining Marketing for the 21st Century,kotler
Defining Marketing for the 21st Century,kotler
 
Brand experience Dream Center Peoria Presentation.pdf
Brand experience Dream Center Peoria Presentation.pdfBrand experience Dream Center Peoria Presentation.pdf
Brand experience Dream Center Peoria Presentation.pdf
 
Enjoy Night⚡Call Girls Dlf City Phase 4 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 4 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 4 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 4 Gurgaon >༒8448380779 Escort Service
 
No Cookies No Problem - Steve Krull, Be Found Online
No Cookies No Problem - Steve Krull, Be Found OnlineNo Cookies No Problem - Steve Krull, Be Found Online
No Cookies No Problem - Steve Krull, Be Found Online
 
Netflix Ads The Game Changer in Video Ads – Who Needs YouTube.pptx (Chester Y...
Netflix Ads The Game Changer in Video Ads – Who Needs YouTube.pptx (Chester Y...Netflix Ads The Game Changer in Video Ads – Who Needs YouTube.pptx (Chester Y...
Netflix Ads The Game Changer in Video Ads – Who Needs YouTube.pptx (Chester Y...
 
How to Leverage Behavioral Science Insights for Direct Mail Success
How to Leverage Behavioral Science Insights for Direct Mail SuccessHow to Leverage Behavioral Science Insights for Direct Mail Success
How to Leverage Behavioral Science Insights for Direct Mail Success
 
Digital Strategy Master Class - Andrew Rupert
Digital Strategy Master Class - Andrew RupertDigital Strategy Master Class - Andrew Rupert
Digital Strategy Master Class - Andrew Rupert
 
Situation Analysis | Management Company.
Situation Analysis | Management Company.Situation Analysis | Management Company.
Situation Analysis | Management Company.
 
Brand experience Peoria City Soccer Presentation.pdf
Brand experience Peoria City Soccer Presentation.pdfBrand experience Peoria City Soccer Presentation.pdf
Brand experience Peoria City Soccer Presentation.pdf
 
BDSM⚡Call Girls in Sector 144 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 144 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 144 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 144 Noida Escorts >༒8448380779 Escort Service
 
Five Essential Tools for International SEO - Natalia Witczyk - SearchNorwich 15
Five Essential Tools for International SEO - Natalia Witczyk - SearchNorwich 15Five Essential Tools for International SEO - Natalia Witczyk - SearchNorwich 15
Five Essential Tools for International SEO - Natalia Witczyk - SearchNorwich 15
 
Top 5 Breakthrough AI Innovations Elevating Content Creation and Personalizat...
Top 5 Breakthrough AI Innovations Elevating Content Creation and Personalizat...Top 5 Breakthrough AI Innovations Elevating Content Creation and Personalizat...
Top 5 Breakthrough AI Innovations Elevating Content Creation and Personalizat...
 

Screaming frog + xpath en