Skip to content

Instantly share code, notes, and snippets.

Poolitzer

Block or report user

Report or block Poolitzer

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Poolitzer
Poolitzer / gist:db886b1028b7d7a6654df39f03af55cb
Created Feb 6, 2019
This is an example Instantview for the presse-eifel.de website
View gist:db886b1028b7d7a6654df39f03af55cb
~version: "2.0"
# this IV is a pretty basic example for a pretty basic website. LET'S GO
?exists: //meta[@content="article"]
# very easy way to determine if our IV should be generated or not. Works well.
body: //article
title: $body//h1[1]
channel: "@PresseEifel"
# basic variables, its their official channel, so we set it as well.
author: //a[@rel="author"]
author_url: //a[@class="url fn n"]/@href
You can’t perform that action at this time.