Skip to content

Instantly share code, notes, and snippets.

Amit Gawande am1t

Block or report user

Report or block am1t

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
am1t / on-this-day.html
Last active Feb 7, 2019
HTML page for "On This Day" feature for a Blot blog
View on-this-day.html
<!DOCTYPE html>
{{> head}}
{{> header}}
<div class="container">
<div class="main">
<h1 class="page-title p-name">On This Day</h1>
<div id="on-this-day">
am1t / flashback.js
Created Feb 7, 2019
Javascript snippet to fetch posts made On This Day for Blot blog
View flashback.js
let json_feed_url = "YOUR_JSON_FEED_URL_HERE";
let container = document.getElementById('on-this-day');
function renderPost(post) {
var postEl = document.createElement('article');
postEl.className = 'h-entry entry';
if (post.title != null) {
am1t / webmention.js
Last active May 19, 2019
Javascript snippet to fetch Webmentions
View webmention.js
var post_url = window.location.href;
$.getJSON("", {
target: post_url
}, function(data){
var social_media_likes = "";
var social_media_repost = "";
var social_media_post = "";
am1t / feed.xml
Last active Aug 14, 2018
Feedbin debug report for a Blot blog feed
View feed.xml
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="" xmlns:content="" xmlns:atom="" version="2.0">
<atom:link href="https:&#x2F;&#x2F;" rel="self" type="application/rss+xml"/>
<description><![CDATA[ Blog by Amit Gawande ]]></description>
<title><![CDATA[ ]]></title>
You can’t perform that action at this time.