This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function url2png_v6($url, $args) { | |
# Get your apikey from http://url2png.com/plans | |
$URL2PNG_APIKEY = "PXXXX"; | |
$URL2PNG_SECRET = "SXXXX"; | |
# urlencode request target | |
$options['url'] = urlencode($url); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Daily Website Screenshot for Timelapse Video | |
# Add to your cronfile | |
# 0 1 * * * /bin/bash ~/website-screenshot-timelapse/website-screenshot-timelapse.sh > /dev/null 2>&1 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# ============================= | |
# = DOM2PNG Proof of Concept = | |
# ============================= | |
function url2png($url,$size,$api_key,$shared_secret) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
' VB.NET Example | |
' Supplied by Thomas Kristensen | |
Public Shared Function url2png(ByVal UrlToSite As String) As String | |
Dim url2pngAPIKey As String = "API_KEY" | |
Dim url2pngPrivateKey As String = "PRIVATE_KEY" | |
Dim url As String = HttpUtility.UrlEncode(UrlToSite) |