Skip to content

Instantly share code, notes, and snippets.

@cipi1965
Created April 1, 2018 20:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cipi1965/fe50b2339b9e150299156dae6814f531 to your computer and use it in GitHub Desktop.
Save cipi1965/fe50b2339b9e150299156dae6814f531 to your computer and use it in GitHub Desktop.
heroblog.it IV Template
?path: /post/.+
$main: //article[has-class("post")]
title: $main//header//h1
body: $main//div[has-class("td-post-content")]
author: $main//div[has-class("td-post-author-name")]//a
author_url: $main//div[has-class("td-post-author-name")]//a/@href
cover: $main//div[has-class("td-post-featured-image")]//img
channel: "@HeroBlog"
@remove: $main//div[has-class("td-post-featured-image")]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment