#HTML5 DevConf Event page customization#
##Potential customization for the main event page:## ###custom_header###
<style type='text/css'>
html, body {
height: 100%;
font-family:"Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif;
}
#!/usr/bin/ruby | |
# | |
# This work is licensed under a Creative Commons Attribution 3.0 Unported License. | |
# http://creativecommons.org/licenses/by/3.0/ | |
# | |
# With some slight modifications, this script should create | |
# a new discount code for each of the 'live' events which are | |
# owned by the user (who is identified by the user_key value). | |
# | |
# See the above license info and Eventbrite API terms for usage limitations. |
<?php | |
// load the API Client library | |
// https://github.com/ryanjarvinen/eventbrite.php | |
include "Eventbrite.php"; | |
// -------------- APPLICATION CONFIG ----------------- // | |
// Eventbrite API key (REQUIRED) | |
// http://www.eventbrite.com/api/key/ | |
$app_key = 'YOUR_APP_KEY_HERE'; | |
// Eventbrite user_key, required for reading/writing data |
// This script should allow you to | |
// load Eventbrite's public event data | |
// into a couchbase data store. | |
// First, install the Eventbrite client library: | |
// npm install eventbrite | |
// Load the library - https://github.com/ryanjarvinen/eventbrite.npm | |
var Eventbrite = require('eventbrite'); |
// Load the library - https://github.com/ryanjarvinen/eventbrite.npm | |
var Eventbrite = require('eventbrite'); | |
// Load creationix's couch-client | |
var CouchClient = require('couch-client'); | |
// Initialize the Eventbrite API client - http://www.eventbrite.com/api/key/ | |
var eb_client = Eventbrite('RWJPIH4B6FVFAIAK6Y'); | |
// Initialize your couchbase client: |
#HTML5 DevConf Event page customization#
##Potential customization for the main event page:## ###custom_header###
<style type='text/css'>
html, body {
height: 100%;
font-family:"Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif;
}
// Load the library - https://github.com/ryanjarvinen/eventbrite.npm | |
var Eventbrite = require('eventbrite'); | |
// Load creationix's couch-client | |
var CouchClient = require('couch-client'); | |
// Initialize the Eventbrite API client - http://www.eventbrite.com/api/key/ | |
var eb_client = Eventbrite('YOUR API KEY'); | |
// Initialize your couchbase client: |
$custom_render_function = function($evnt){ | |
$time = strtotime($evnt->start_date); | |
if( isset($evnt->venue) && isset( $evnt->venue->name )){ | |
$venue_name = $evnt->venue->name; | |
}else{ | |
$venue_name = 'online'; | |
} | |
if( isset($evnt->organizer) && isset( $evnt->organizer->name )){ | |
$organizer_name = $evnt->organizer->name; | |
$orgznizer_url = $evnt->organizer->url; |
/** | |
* A Sample CSS upgrade for Eventbrite's default event pages | |
*/ | |
/*----------------------------------------------------------------- | |
Theme: No Compromises | |
By: The Eventbrite Design Team | |
To use this theme follow these five easy steps. | |
1) Login to your Eventbrite account. If you don't have one visit |
import eventbrite | |
your_app_key = 'YOUR_APP_KEY_HERE' | |
your_user_key = 'YOUR_USER_KEY_HERE' | |
repeating_event_eid = 3919635736 | |
eb_client = eventbrite.EventbriteClient({'app_key': your_app_key, 'user_key': your_user_key}) | |
def convert_repeat_to_organizer_schedule(evnt): | |
#clear existing repeat_schedule | |
eb_client.event_update({'id': evnt['id'], 'repeat_schedule': 'clear'}) |
This is a paragraph that includes links to Gist.io, and gist.github.com. I wonder if there is a javascript lib that would allow me to host my posts via github pages?
Maybe I should build one using this or this?
Here are some additional docs for fitzgen's lib. Looks like it might be the best option...