Skip to main content
 

How chickens work #indiewebcamp

I built an easy way to post chickens.

To post a chicken, or series of chickens, the user just clicks on the appropriate content icon:

51c72621bed7de1c5e787b6c

Note that the content icons are designed to be accessible both on a touch device and with a pointer.

The user is then asked exactly how many chickens they would like to post (with clear messaging: "CHICKEN CHICKEN CHICKEN?").

Once the user has made their chicken selection, a new chicken object is created. An Activity Streams "post" event is called. I've written my chicken plugin to define chicken content as having an Activity Streams object type of "note".

Twitter and Facebook plugins are listening for new "post" events with object type "note". When I post chickens, they're sent one! If I've linked idno with my Twitter and Facebook accounts, the content is sent to those plugins, and they are in turn responsible for sending the content to their respective sites.

My chickens are posted to Twitter and Facebook.

Finally, the default template on my feed defers to my chicken plugin every time someone visits on my site and wants to see my chicken content. (The template there displays chickens with some photographic help.) I've added an h-as-chicken microformat content type behind the scenes, so third-party clients can parse my pages for chicken content. And finally, the Activity Streams content is available to anyone who requests my pages with an Accept: application/json header.

It took 30-45 minutes to code, except for chicken photo search and download time. And here's what a post looks like.

51c72a08bed7de3314375bf0

· Posts · Share this post

 

Content types

Content types

All important stuff.

· Photos · Share this post

 

The tyranny of content types #indiewebcamp

I've been thinking this morning about content types and granular access permissions (which, it turns out, is ground the IndieWeb community has already tread).

Activity Streams is a data syndication format with very granular content types, which is awesome - unless those content types dictate the kinds of content you actually allow people to create with your software.

Why should a content type be strictly a note, or an article, or a place, image, video, application? One of the amazing things about the modern web is that we can combine content types to create experiences that are richer than the sum of their media parts.

At the simplest level, I want to be able to (eg) include a photo with a checkin. But why not construct a post that's a photo followed by some audio followed by some text followed by an interactive widget followed by a non-linear video with an interactive layer on top of it? One of the neat things about the is that you control your platform - and that should mean controlling the form of your content too.

Watch this space ...

· Posts · Share this post

 

Hatching a plan for an obvious evolution. Should I hack it together today?

· Statuses · Share this post

 

· Statuses · Share this post

 

Put a bird on it

Put a bird on it

Portland is very bird-friendly.

Also, this photo should to Flickr (as well as Facebook).

· Photos · Share this post

 

<a href="https://twitter.com/TryEventifier/status/348533382675836928">@tryeventifier</a> I also have a bunch of event photos up on http://werd.io, which has feeds tagged . Feel free to syndicate.

· Statuses · Share this post

 

Ha! No-one came to my session on , which means I get to see an extended demo of <a href="http://camlistore.org/">Camlistore</a>. Awesome.

· Statuses · Share this post

 

Webfiiinger / The well-known URL with identity discovery data / To save for later

· Statuses · Share this post

 

I forgot to demo my alternate template! http://werd.io/?_t=hanshotfirst

· Statuses · Share this post

 
Untitled

Aaron demos IndieWeb comments from his control room.

· Photos · Share this post

 
Untitled

Francois Marier on self hosted web avatars.

· Photos · Share this post

 
Untitled

Amber Case shows off The Brain, a personal, private data store with many bells - and archivr, a private image archive. Both look really cool. "Only people with authorization to send to my brain can send to my brain."

· Photos · Share this post

 
Untitled

Ward Cunningham (!!!) shows us his federated wiki.

· Photos · Share this post

 
Untitled

Danny Reeves demos in Beeminder.

· Photos · Share this post

 

I'm live-posting photos from my mobile web interface over at http://werd.io/search/?q=%23indiewebcamp (finding Chrome bugs in the process)

· Statuses · Share this post

 
Untitled

Austin King demos his Persona provider.

· Photos · Share this post

 
Untitled

Don Park on open badges for comment spam prevention.

· Photos · Share this post

 
Untitled

Tantek posts to his site the hardcore way.

· Photos · Share this post

 
Untitled

Will Norris demos to Google+.

· Photos · Share this post

 
Untitled

Harlan demos a project that let's you fork CC content into a GitHub repo.

· Photos · Share this post

 

Wow. @bradfitz and @haxor are demoing Camlistore, and it looks amazingly powerful.

· Statuses · Share this post

 
Untitled

Brad and Brett demo Camlistore.

· Photos · Share this post

 
Untitled

Aaron and Tantek get this party started.

· Photos · Share this post

 

If you're interested in and want to follow at home, you can join this Google+ Hangout: https://plus.google.com/hangouts/_/f5e421087e0e8078b2b8a6deac6c2f77c259b940?authuser=0&hl=en-GB

· Statuses · Share this post