Skiff Profiles

5 views
Skip to first unread message

Thomas Parslow

unread,
Feb 5, 2012, 6:15:06 PM2/5/12
to skif...@googlegroups.com
Hello SkiffHackers!

So this evening I decided to actually get the Skiff Profiles thing I
started at Skiff Hack working.

http://skiffprofile.herokuapp.com/

Please do give it a try and send me any feedback! It's very basic at
the moment but it works.

The profile fields are in no way set in stone, they're just the ones I
thought of. So let me know what you think should be in a Skiff
Profile!

For integration with other apps every profile is available as a JSON
document, just stick .json on the end:

http://skiffprofile.herokuapp.com/profile/f54f1980fe7515d4924dff9287b7b83b.json

The id used is an MD5 hash of the user's email address. You can also
lookup profiles via the actual email address:

http://skiffprofile.herokuapp.com/profile/t...@almostobsolete.json

This should allow any app that uses Browser ID for login (and thus has
the user's email address) to grab Skiff Profile data for that person.

JSONP is also supported so you can use it from client-side Javascript:

http://skiffprofile.herokuapp.com/profile/t...@almostobsolete.json?callback=mycallback

While you can always lookup a profile by email address you can't get
an email address from a profile unless you're logged in. Does this
seem reasonable? Or should it always show the email/never show the
email?

I'm hoping to get a bit of feedback from you guys on the Skiff Hack
list then I'll send it to the Skiff Mates list and see if people want
to actually use it!

Regards,

Tom

--

Thomas Parslow
Freelance Developer
Django, Python, Javascript and more!

http://almostobsolete.net
+44 (0) 7951261227
@almostobsolete

Jonathan Markwell

unread,
Feb 5, 2012, 6:56:44 PM2/5/12
to skif...@googlegroups.com
Very cool Tom!

Love the simplicity and the APIs.

Once, you're ready to go live I'll put a links with reminders to
complete / update it in all our automated signup / billing emails.

Might need to add in app instructions / link to gravatar, last time I
checked only ~20% of Skiff Mates had a profile there.

Best,

Jon

--
Jonathan Markwell

Shipping Web Applications - http://inuda.com
Making Stuff Happen - http://inuda.org

mob: +44 (0)7766 021 485 | tel: +44 (0)1273 252 191
skype: jlmarkwell | twitter: http://twitter.com/jot

Miles Cheverton

unread,
Feb 6, 2012, 5:04:03 AM2/6/12
to skif...@googlegroups.com
Hullo Tom - tested & seems to work all great, forgive the copy and paste nature of my info, stole straight from my Linked-In profile :)

Probably a little far down the line now but I'd be interested to know why you chose Browser ID for the auth rather than say Twitter with a fallback to FB & OpenID? Not that you necessarily made a bad choice it's just that I'm working on something similar with a client at the moment.

Can these IDs be rolled into booking meeting rooms & managing our accounts with The Skiff? multiple IDs is always a massive pain in the bum to keep up to date!

Fields wise - should displaying the email address publicly be an option? Maybe make the other fields optional to display publicly?

Can we add Linked-In profiles?

Can we add links for personal as well as business sites?

Can we alter the URL of the profile to be more friendly? Does that matter?

If you enter your own URL without HTTP, the link fails. I'd also open both the URL and Twitter in a new window, but thats just me.


Cheers & thanks!
Miles

Steve Purkiss

unread,
Feb 6, 2012, 5:12:50 AM2/6/12
to skif...@googlegroups.com
*coughs* you can log in with a range of different IDs on
http://open4.org, including linkedin. And although it isn't pretty at
the moment it'll pull in your linkedin profile, as per:

http://open4.org/member/steve-purkiss

I'm building open4.org not just for theskiff and as people were
working on other efforts I didn't mention, but seen as you did I did.

I'm sure some more lean code could be made though to do what you want ;)

s

--
Steve Purkiss

http://purkiss.com

Thomas Parslow

unread,
Feb 6, 2012, 5:41:53 AM2/6/12
to skif...@googlegroups.com
Thanks for the feedback guys!

I've added some instructions about Gravatar to the edit profile
screen. It does fall back to Twitter profile images if no Gravatar
image is available.

I'll be adding an API soon to get a full list of profiles. I forgot to
mention before but the code is up here:

https://github.com/skiffhack/Skiff-Profiles

I've also added a LinkedIn url field to the profile and I've linkified
the free-text fields (so you can put urls in and they'll get turned
into links).

Nicer URLS would be nice, I'll try and get those added soon. Right now
it's using a md5 hash of the email address which is what the API uses
(so that other services can retrieve profile info without revealing
email addresses).

I think making show-email optional is a good idea. Until then I've
hidden the email for all users.

I've also added some extra validation on the twitter and link url fields.

The reason I chose BrowserID is mainly to allow interoperability
between different Skiff apps. If we all agree to use BrowserID then
you can use the same login for all Skiff apps that get written AND
they will all identify the user by email address. This will allow any
app to, for example, query profile information for the user that just
logged in. I'm hoping in this way we can create a set of loosely
couples applications that never the less all work together for the
users, that way anyone can just jump in and write something if there's
an area they feel is being under served.

I'm really hoping we can share this profile information with the other
apps as they come online, so meeting room bookings and skiff
membership all run of the same sign in and share the same profile
data. I'm also hoping that other apps will provide their public data
via an API keyed on email address or the md5 of the lower case email
so that other apps can consume that data.

Tom

--

Thomas Parslow
Freelance Developer
Django, Python, Javascript and more!

Thomas Parslow

unread,
Feb 6, 2012, 1:27:07 PM2/6/12
to skif...@googlegroups.com
For Richard and anyone else who's interested, there's not a JSON
version of the profile list:

http://skiffprofile.herokuapp.com/profile.json

Tom

--

Thomas Parslow
Freelance Developer
Django, Python, Javascript and more!

Richard Dallaway

unread,
Feb 6, 2012, 4:54:38 PM2/6/12
to skif...@googlegroups.com
Fantastic - thank you.

--
http://richard.dallaway.com

> > > I'm building open4.org (http://open4.org) not just for theskiff and as people were

Simon Elliott

unread,
Feb 8, 2012, 6:00:07 AM2/8/12
to SkiffHack
+1 for BrowserID, it's something that needs our support and the only
way to do that is to *only* accept that login mechanism. Facebook
should not control the logins to most of the Internet.

http://blog.theopenphotoproject.org/post/13914931003/the-internet-needs-browserid-a-plea-to-developers

On Feb 5, 11:15 pm, Thomas Parslow <t...@almostobsolete.net> wrote:
> Hello SkiffHackers!
>
> So this evening I decided to actually get the Skiff Profiles thing I
> started at Skiff Hack working.
>
> http://skiffprofile.herokuapp.com/
>
> Please do give it a try and send me any feedback! It's very basic at
> the moment but it works.
>
> The profile fields are in no way set in stone, they're just the ones I
> thought of. So let me know what you think should be in a Skiff
> Profile!
>
> For integration with other apps every profile is available as a JSON
> document, just stick .json on the end:
>
> http://skiffprofile.herokuapp.com/profile/f54f1980fe7515d4924dff9287b...
>
> The id used is an MD5 hash of the user's email address. You can also
> lookup profiles via the actual email address:
>
> http://skiffprofile.herokuapp.com/profile/...@almostobsolete.json
>
> This should allow any app that uses Browser ID for login (and thus has
> the user's email address) to grab Skiff Profile data for that person.
>
> JSONP is also supported so you can use it from client-side Javascript:
>
> http://skiffprofile.herokuapp.com/profile/...@almostobsolete.json?callback=mycallback

Thomas Parslow

unread,
Feb 8, 2012, 2:20:04 PM2/8/12
to skif...@googlegroups.com
Simon and me have been working on Skiff Profiles tonight and it now
reports presence:

http://skiffprofile.herokuapp.com/

It should display a little green marker against anyone currently at
the Skiff. It should also show how long since last seen in each
profile view. Here's mine:

http://skiffprofile.herokuapp.com/profile/f54f1980fe7515d4924dff9287b7b83b.html

It will detect whether you are at The Skiff or not based on your
laptop's MAC address.

There's an opt-in to allow this tracking right now, it's under "Edit
Profile". But I've helpfully automatically opted-in my helpful guinea
pigs :)

I think it's getting ready to launch to the rest of The Skiff. Jon,
any chance of having profiles.theskiff.org point to it?

Regards,

Tom

--

Thomas Parslow
Freelance Developer
Django, Python, Javascript and more!

Adhip Gupta

unread,
Feb 8, 2012, 2:36:43 PM2/8/12
to skif...@googlegroups.com
Looks great! How about we make this the main site itself and have a welcome page that acts as the dashboard itself? It may show a little different data depending on whether you are logged in or not.

I can integrate the work that I've done to flesh this out on Friday if it sounds good.

Thomas Parslow

unread,
Feb 8, 2012, 2:47:59 PM2/8/12
to skif...@googlegroups.com
Sounds great! Looking forward to seeing it!

--

Thomas Parslow
Freelance Developer
Django, Python, Javascript and more!

Miles Sabin

unread,
Feb 8, 2012, 3:08:12 PM2/8/12
to skif...@googlegroups.com
On Wed, Feb 8, 2012 at 7:20 PM, Thomas Parslow <t...@almostobsolete.net> wrote:
> Simon and me have been working on Skiff Profiles tonight and it now
> reports presence:
>
> http://skiffprofile.herokuapp.com/
>
> It should display a little green marker against anyone currently at
> the Skiff. It should also show how long since last seen in each
> profile view.

That's very cool ... nice work :-)

Cheers,


Miles

--
Miles Sabin
tel: +44 7813 944 528
gtalk: mi...@milessabin.com
skype: milessabin
g+: http://www.milessabin.com
http://twitter.com/milessabin
http://www.chuusai.com/

Graeme Sutherland

unread,
Feb 8, 2012, 3:19:10 PM2/8/12
to skif...@googlegroups.com
very, very awesome...  

Feels to me like it also ought to be on who.theskiff.org, or maybe that's another who's in view?

Every coworking place in the world will be dying for this, you clever, clever people.

cheers,
g



On 8 February 2012 19:20, Thomas Parslow <t...@almostobsolete.net> wrote:
I think it's getting ready to launch to the rest of The Skiff. Jon,
any chance of having profiles.theskiff.org point to it?



--
Graeme Sutherland <gra...@nodestone.com>
http://grasuth.com - @grasuth - tel 07894 122 604  - skype: grasuth
Building Web Applications:
   For   > The Web • Facebook  Business • Widgets 
   With > Python • Django • JavaScript • jQuery

Thomas Parslow

unread,
Feb 8, 2012, 3:35:25 PM2/8/12
to skif...@googlegroups.com
Nice one Graeme, I like "who.theskiff.org" much better than
"profiles.theskiff.org".

The reporting is a little off right now, it's showing people as in the
Skiff when they're not. We're trying to track down the the problem :)

Tom

--

Thomas Parslow
Freelance Developer
Django, Python, Javascript and more!

Jonathan Markwell

unread,
Feb 8, 2012, 4:28:45 PM2/8/12
to skif...@googlegroups.com
All very awesome.

I've pointed who.theskiff.org to proxy.heroku.com

Now you should just need to run:

heroku domains:add who.theskiff.org

Great work!

Best,

Jon

--

Thomas Parslow

unread,
Feb 8, 2012, 4:43:11 PM2/8/12
to skif...@googlegroups.com
Awesome, thanks Jon! It's now running at http://who.theskiff.org/

We'll sort out the bugs in presence tomorrow then announce it on the
main Skiff list.

Tom

--

Thomas Parslow
Freelance Developer
Django, Python, Javascript and more!

Steve Purkiss

unread,
Feb 8, 2012, 7:49:34 PM2/8/12
to skif...@googlegroups.com
Cool - I just changed my gravatar and cleared caches etc - how long
does it take to update? Still seeing old image, tried multiple
browsers...

--
Steve Purkiss

http://purkiss.com

Steve Purkiss

unread,
Feb 8, 2012, 8:43:50 PM2/8/12
to skif...@googlegroups.com
ooo - it's updated now!
Reply all
Reply to author
Forward
0 new messages