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 | |
$file_str = file_get_contents('./ee_posts.txt'); | |
$split = explode("<!-- end of post -->", $file_str); | |
foreach($split as $post_str) { | |
$post_str = trim($post_str); | |
if ($post_str) { |
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
{exp:weblog:entries weblog="default_site" limit="9999" rdf="off"} | |
--- | |
layout: post | |
author: {author} | |
title: "{title}" | |
url_title: {url_title} | |
permalink: {url_title}.html | |
tags: "{Keywords}" | |
published: true | |
category: |
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 | |
global $IN; | |
$IN->QSTR = '{embed:the_entry_id}' | |
?> | |
<div id="comments" data-entry-id="{embed:the_entry_id}" data-url-title="{embed:the_url_title}"> | |
<ul> | |
{exp:comment:entries weblog="default_site" sort="asc"} |
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
{exp:weblog:entries weblog="default_site" limit="9999" rdf="off"} | |
--- | |
layout: post | |
author: {author} | |
title: "{title}" | |
url_title: {url_title} | |
tags: "{Keywords}" | |
published: true | |
categories: | |
{categories}- {category_name} |
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 | |
// for this to work, PHP must be enabled ON INPUT for the template | |
global $IN; | |
$IN->QSTR = '{embed:the_entry_id}' | |
?> | |
<div class="comments" data-entry-id="{embed:the_entry_id}" data-url-title="{embed:the_url_title}"> | |
<ul> | |
{exp:comment:entries weblog="default_site" sort="asc"} |
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
# https://github.com/funkatron/Spaz-Web-APIs | |
# | |
# Avatar methods | |
# | |
# basic structure | |
# http://api.getspaz.com/avatar/:service/:username.:format | |
# :service is currently "identi.ca" or "twitter.com" | |
# :username is the username | |
# :format is "json", "xml" or "js" (jsonp. sorta). JSON is default | |
# |
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
#!/bin/bash | |
cd /local/path/funkatron_jekyll/ | |
# generate items.html file | |
php _bin/build_items.php > ./items.html | |
# generate css from less | |
lessc css/site.less css/site.css | |
# run jekyll and rsync to remote site |
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
RewriteEngine on | |
RewriteRule ^site/comments/(.+)/$ /posts/$1.html [R=301,L] | |
RewriteRule ^site/comments/(.+)$ /posts/$1.html [R=301,L] | |
RewriteRule /rss_2.0/?$ /posts.rss | |
RewriteRule /atom/?$ /posts.xml | |
RewriteCond %{HTTP_USER_AGENT} !FeedBurner | |
RewriteRule posts.rss?$ http://feeds.feedburner.com/funkablog [R,L] |
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
jQuery(document).ready(function() { | |
/** | |
* remove this default filter from these timelines -- we'll use embedly below | |
*/ | |
Spaz.TimelineFilters.friends.removeFilter('getImageURLs'); | |
Spaz.TimelineFilters.search.removeFilter('getImageURLs'); | |
Spaz.TimelineFilters['public'].removeFilter('getImageURLs'); |
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
scons dist | |
unzip build/osx/dist/sdk-1.2.0.zip -d /Library/Application Support/Titanium |