This file contains hidden or 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 | |
$api = new Mozscape_API_Class( 'accessId', 'secretKey' ); | |
$url_metrics = json_decode($api->urlMetrics( 'http://www.benmarshall.me', 133714411517 ) ); |
This file contains hidden or 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 | |
// Include the Mozscape API Class | |
require_once( 'class.MozscapeAPIClass.php' ); | |
// Initialize the class by providing it with your Access Id and Secret Key, see http://www.seomoz.org/api/keys | |
$api = new Mozscape_API_Class( 'accessId', 'secretKey' ); | |
// Get website metrics using the URL Metrics API, see http://apiwiki.seomoz.org/url-metrics | |
$url_metrics = json_decode( $api->urlMetrics( 'http://www.benmarshall.me', 133714411517 ) ); |
This file contains hidden or 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
@media print { | |
header h1:after { | |
content: url(https://chart.googleapis.com/chart?cht=qr&chs=150x150&chl=<?=$_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"] ?>&choe=UTF-8); | |
position: absolute; | |
top: 0; | |
right: 0; | |
} | |
} |
This file contains hidden or 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
@media print { | |
header h1:after { | |
content: url(https://chart.googleapis.com/chart?cht=qr&chs=150x150&chl=http://www.knowgifts.com&choe=UTF-8); | |
position: absolute; | |
top: 0; | |
right: 0; | |
} | |
} |
This file contains hidden or 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
a:not(:local-link):after { | |
content: " <" attr(href) "> "; | |
} |
This file contains hidden or 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
$a:after > img { | |
content: "; | |
} |
This file contains hidden or 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
a[href^="#"]:after { | |
content: "; // Kills the expanded links on anchor tags | |
} |
This file contains hidden or 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
<p>With the holidays coming around the corner, many people are looking for <a href="http://www.knowgifts.com">unique gift ideas</a> to surprise their loved ones.</p> |
This file contains hidden or 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
@media print { | |
a[href^=http]:after { | |
font-style: italic; | |
content: " < " attr(href) " > "; | |
} | |
} |
This file contains hidden or 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
@media print and (color) { | |
* { | |
-webkit-print-color-adjust: exact; | |
print-color-adjust: exact; | |
} | |
} |