Skip to content

Instantly share code, notes, and snippets.

@rmasters
rmasters / ajax-feeds.js
Created March 19, 2009 20:33
Using the Google Feeds API
// Load the feeds library, version 1
google.load("feeds", "1");
// Callback function
function initialize() {
// The feed we want to load
var feed = new google.feeds.Feed("http://www.digg.com/rss/index.xml");
// Load the feed
feed.load(function(result) {
if (!result.error) {
<?php
/**
* Comment block
* @author: Ross Masters <[email protected]>
* @build 1
*/
final class Dog extends Quadroped {
public $name;
private $breed;