Skip to content

Instantly share code, notes, and snippets.

View inetbiz's full-sized avatar
💭
Honing my JSON+LD Structured Data Skills

Denver Prophit Jr. inetbiz

💭
Honing my JSON+LD Structured Data Skills
View GitHub Profile
@inetbiz
inetbiz / opensearch.xml
Created June 7, 2016 14:12
OpenSearch - Federated Search XML Feature of ALL Web Browsers
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/">
<ShortName>Denver Prophit Jr</ShortName>
<Description>Open Source Software And Social Media Enthusiast</Description>
<Image height="16" width="16" type="image/x-icon">favicon.ico</Image>
<Url type="text/html" method="get" template="https://www.denverprophit.us/?s={searchTerms}"/>
<moz:SearchForm>https://www.denverprophit.us/</moz:SearchForm>
</OpenSearchDescription>
@inetbiz
inetbiz / strikehawk.json
Created June 3, 2016 12:00
Organization JSON+LD necessary to get Knowledge Graph on Google Search
<script type="application/ld json">
{
"@context": "http://schema.org",
"@type": "Store",
"name": "StrikeHawk eCommerce Open Sourced Shopping Carts and Secure Web Hosting",
"description": "We provide full support for osCommerce and PrestaShop shopping cart software and PCI Secure Web Hosting. We also provide support and hosting for WordPress.",
"openingHours": "Mo-Su 07:00-23:59",
"telephone": " 13122360483",
"logo": "https://www.strikehawk.com/wp-content/uploads/2014/08/strikehawk-website.png",
"url": "https://www.strikehawk.com/",
@inetbiz
inetbiz / sa-learn-cron-commands.txt
Last active April 9, 2016 18:54
SpamAssassin SA_LEARN Cron Commands
0 0 * * * /usr/local/cpanel/3rdparty/bin/sa-learn -p /home/cp-user/.spamassassin/user_prefs --use-ignores --spam /home/cp-user/mail/domain.com/*/.Junk/{cur,new} > /dev/null 2>&1
0 0 * * * /usr/local/cpanel/3rdparty/bin/sa-learn -p /home/cp-user/.spamassassin/user_prefs --use-ignores --ham /home/cp-user/mail/domain.com/*/.ham/{cur,new} > /dev/null 2>&1
@inetbiz
inetbiz / ski-resort-about.html
Last active December 2, 2015 13:35
Local Ski Resort
<div itemscope itemtype="http://schema.org/SkiResort">
<span itemprop="name">StrikeHawk eCommerce, Inc.</span>
We accept <span itemprop="paymentAccepted">Cash, credit card</span> in these currencies: <span itemprop="currenciesAccepted">USD, AUD, EUR, GBP</span>
The typical destination package ranges from <span itemprop="priceRange">50 - 300</span> Euros.
We are open <time itemprop="openingHours" datetime="Mo - Fri 13:00-20:00">Monday through Friday from 1pm to 8pm.</time>
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<span itemprop="streetAddress">21204 NEWPORT SOUND PL</span>
<span itemprop="addressLocality">NEW SMYRNA BEACH</span>,
<span itemprop="addressRegion">FL</span>
<span itemprop="postalCode">32168</span>
@inetbiz
inetbiz / html5-css-calendar-icon.html
Last active November 12, 2015 06:02
HTML5 Date Icon With Animation And Transforming Affects
<time class="icon" datetime="2014-09-20T15:00-5:00"><em>Saturday</em>
<strong>September</strong>
<span>20</span>
<i>3pm -5 GMT</i>
</time>
<style>
time.icon
{
font-size: 1em; /* change icon size */
display: block;
@inetbiz
inetbiz / taxonomy.html
Created August 18, 2015 15:49
Taxonomy Keywords Example
<!-- Add this code to article page: -->
<div itemscope itemtype='http://schema.org/Article'>
<meta itemprop='keywords' content='abc, def, ghi, jkl, mno, pqrs'/>
<meta itemprop='inLanguage' content='en_us'/>
<meta itemprop='interactionCount' content='UserTweets: 20,001'/>
<meta itemprop='description' content='This article example demonstrates how one should define the taxonomies of their content groupings'/>
<meta itemprop='about' content='Taxonomy is the study of classification of tangible and intangible items and is a subset of Ontology. '/>
<meta itemprop='isFamilyFriendly' content='True'/>
<h1 itemprop='name headline'>Taxonomy Keywords</h1>
<html>
<head>
<style>
#outlook a {
padding: 0
}
body {
width: 100% !important;
min-width: 100%;
@inetbiz
inetbiz / single.html
Created June 4, 2015 12:54
Avada single.php add shortcode for user social on author bio loop
<div class="about-author">
<?php
ob_start();
the_author_posts_link();
$title = sprintf( '%s %s', __( 'About the Author:', 'Avada' ), ob_get_clean() );
echo do_shortcode( sprintf( '[title size="2" content_align="left" style_type="default"]%s[/title]', $title ) );
?>
<div class="about-author-container">
<div class="avatar">
<?php echo get_avatar(get_the_author_meta('email'), '72'); ?>
@inetbiz
inetbiz / blocksearch-top.tpl
Last active August 29, 2015 14:22
Trying to make form accessible
{*
* 2007-2015 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
@inetbiz
inetbiz / product.tpl
Last active August 29, 2015 14:20
Prestashop Product Detail Tabs *Alpha Code*
{*
* 2015 StrikeHawk eCommerce, Inc.
*
* NOTICE OF LICENSE
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*