#indiewebcamp 2014-02-21

2014-02-21 UTC
bnvk, krendil, KartikPrabhu and fmarier joined the channel
#
KartikPrabhu
should microformat parsers validate url properties in any way?
#
tantek
KartikPrabhu - what do you mean?
#
KartikPrabhu
while parsing u-url type properties, should they be validated to be a valid url? or just trust the source?
#
KartikPrabhu
as in u-url="dud:??fifo.gif" is good?
#
tantek
microformats parsers merely treat them as strings
#
KartikPrabhu
ok that answers it
#
tantek
the only difference is in "u-" parsing details
sdboyer_, lukebrooker_, hallettj_, thatryana, anselm-, jedahan_, KevinMarks_, ottery, skinny, bear, nagaway, j12t, melvster, inimino, nitot and KartikPrabhu joined the channel
#
Jeena
wohoo, now after a days work I deployed my Facebook POSSE stuff and made Twitter POSSE much better on the way.
#
snarfed
congrats Jeena!
#
Jeena
thanks, next step will be to turn that spagetti code into something more beautiful ^^
#
tantek.com
edited /Falcon (+860) "/* Working On */ mobile home template header icons folders - update mockups for iOS7, move iOS6 mockups to their own section"
(view diff)
#
tantek.com
edited /Falcon (-29) "/* Working On */ updated mockups complete"
(view diff)
#
tantek
it looks like implementing mobile home template header icons folders in the iOS7 look&feel will be much easier than iOS6
#
Jeena
I always had the problem that if I replied to some website then the tweet would be without the context. Now I add the URL I reply to just before the backlink url, that way Twitter can add the context like here https://twitter.com/jeena/status/436675022443511808
#
tantek
fewer borders / gradients, simpler design
#
tantek
hey that's clever Jeena
#
Jeena
and facebook does the same
#
tantek
when POSSEing replies to non-Twitter URLs to Twitter, include the non-Twitter in-reply-to URL as the last thing before you permashortlink in the POSSE tweet copy
#
Jeena
exactly
#
Jeena
and for Facebook post it as a link with the url you reply to as the link value
#
tantek.com
edited /Twitter (+429) "/* POSSE Replies to Twitter */ put non-tweet in-reply-to URLs just before permashortlink in reply POSSE tweet copy for potential additional context in when viewed on Twitter"
(view diff)
#
Jeena
nice, thanks for documenting this
#
tantek
nice approach and thanks for the real world example! I put it in the documentation.
skinny joined the channel
#
tantek
I have to document it so I can find it again. Otherwise it's likely I'll forget. Or at least stress about forgetting. ;)
#
Jeena
btw. we can change the first paragraph here http://indiewebcamp.com/facebook#Facebook_API me and aaronpk are POSSEing via the FB Graph API now
#
KevinMarks
go on then, edit it Jeena
#
KevinMarks
same reason tantek said - take notes as you go
#
Jeena
yeah, hm I just wonder how to write it, I don't see such a comment on the Twitter page in the wiki
#
Jeena
ah there is "IndieWebCamp community members who are doing this"
poppy joined the channel
#
jeena.net
edited /Facebook (+131) "/* Facebook API */ added community members and changed to fb_graph for ruby"
(view diff)
benprew joined the channel
#
jeena.net
edited /User:Jeena.net (+408) "Added some info about me"
(view diff)
#
jeena.net
edited /User:Jeena.net (+50) "added image"
(view diff)
KartikPrabhu joined the channel
#
jeena.net
edited /Facebook (+24) "/* Facebook API */ added another example"
(view diff)
josephboyle, nitot, tantek, walkah, KartikPrabhu, paulcp, tilgovi, bnvk, benprew, scor, skinny, snarfed, emmak and caseorganic joined the channel
#
KartikPrabhu
updated mf2py with BS to use back compatibility! Next: more parsing! https://github.com/kartikprabhu/mf2py
#
KartikPrabhu
also docstrings are the best!
#
KartikPrabhu
mf2 Q: Should p-name parsing get rid of leading/trailing white space and breaks? Or just use value as is?
caseorganic, bnvk, lukebrooker, eschnou and lukebrooker_ joined the channel
#
KartikPrabhu
did follow those rules but then I get strings like p-name="\n Name \n" because the html was authored to look pretty
#
tantek
that sounds like your HTML parser is doing the wrong thing
#
tantek
html5lib should be handling that properly
#
tantek
dropping \n after start tag / before end tag etc.
cweiske and caseorganic joined the channel
#
KartikPrabhu
aah ok then I will check that... thanks
#
tantek
but microformats2 just says to use textContent in that typical case per the URL I gave above
#
tantek
if you want to further "cleanup" for your particular display use-case, you can do that
#
tantek
it's just not part of parsing
#
tantek
that's application specific handling
#
KartikPrabhu
yes. that makes sense
caseorganic, snarfed, LauraJ, lukebrooker, paulcp, stream7, bnvk, eschnou, KevinMarks and pfefferle joined the channel
#
tommorris
KartikPrabhu: should just be able to run the Python equivalent of java.lang.String.trim (I can never remember Python method names) on the results.
caseorganic, stream7, poppy, Sebastien-L, chloeweil, BjornW and glennjones joined the channel
caseorganic, chloeweil_, Guest41540, KevinMarks__, bnvk, LauraJ, Acidnerd, V_S_C, glennjones, adactio, melvster, nitot, scor, jcbsnd, jonnybarnes, pasevin, jkphl, CheckDavid_ and Sebastien-L joined the channel
#
Raymondo
I looked around the site and scanned some logs
#
Raymondo
I still have no idea what this is about
glennjones, caseorganic, CheckDavid, chloeweil, stream7_, tantek, LauraJ, squeakytoy and nitot joined the channel
#
Jeena
There is a strange thing happening with the notes RSS feeds. Many of you post links but the links aren't autolinked in the feed, even worse, all the schematas are removed like http:// and https:// and I don't really understand why.
#
tantek
example(s)?
#
tantek
checks his Atom feed. ;)
#
tantek
Jeena - looks like my notes in my feed are fine
#
tantek
(as in autolinked etc.)
#
Jeena
yes your seem fine
#
tantek
except I still need to trim/summaries my note names/titles ;)
#
tantek
(as you pointed out)
#
tantek
Jeena, but those are HTML
#
tantek
you said something strange about feeds
caseorganic joined the channel
#
Jeena
yeah the feeds to this websites
#
Jeena
http://caseorganic.com/notes.atom for example, I will need to check the source code, perhaps I am doing something wrong
ttepasse joined the channel
#
Jeena
nevermind, it seems something on my side is removing the html somewhere, so they are in fact autolinked
caseorganic joined the channel
#
Jeena
hm, it looks like the Go xml-parser does weird stuff, or they use it wrong
caseorganic, bnvk_, ttepasse, nitot and skinny joined the channel
#
Raymondo
could somebody please link to a succinct explanation of what is happening here? the mediawiki site is a shambles
paulcp joined the channel
#
Raymondo
How to join the IndieWeb:
#
Raymondo
Join the IRC Channel and say hello! We're friendly. :)
caseorganic joined the channel
#
Raymondo
wow :/
gRegor` joined the channel
#
pdurbin
Raymondo: wow?
#
Raymondo
it makes sense in the context of the rest of what I said since joining
#
Jeena
Raymondo I've complained about it too when I found the wiki ;)
#
Jeena
Raymondo the best short resource I found was http://indiewebify.me/
#
Raymondo
I don't even mean to complain.. I'm intrigued but have already hit a brick wall at the start :/
#
Raymondo
thank you :)
#
Raymondo
confusing and/or opaque
#
pdurbin
Raymondo: how so?
#
Jeena
the thing is it is a wall of text
#
Raymondo
I don't get a clear sense of what activities are currently supporting its goals
#
Jeena
Raymondo a second link could be my own article, I explained what I did since joining the community https://jeena.net/indieweb
#
Raymondo
ok
#
pdurbin
"Check out what we're building" links to https://indiewebcamp.com/Projects
#
Raymondo
pdurbin: "Have a look at the IRC logs and recent changes to see what we've been discussing/working on lately." try to imagine what that would actually be like for a new person
#
Raymondo
pdurbin: yes. apache? seriously? how is that something I can 'get behind'?
#
Jeena
hehe, you sound exaclty like what I am thinking when I read the wiki ^^
#
Raymondo
as far as I can tell, the projects that aren't experimental have only vague relation to the .. movement?
#
Jeena
kind of but not quite
#
pdurbin
it's complicated :)
#
Jeena
microformats for example aren't experimental and are a core thing in the community
#
Raymondo
Jeena: reading your article now
skinny and snarfed joined the channel
#
Jeena
but yeah I agree with pdurbin, it is a complicated beast
#
Jeena
but I still kind of think that something like http://indiewebify.me/ should be the start page of http://indiewebcamp.com/
#
gRegor`
Hi, Raymondo. I agree the wiki is fairly technical and doesn't have a specific call to action until you've read more pages of it / interacted with the community.
#
gRegor`
I think there used to be some "first steps" on the home page, but I don't see it currently.
#
Raymondo
hey
#
gRegor`
The IndieMark page might be the closest thing to it: http://indiewebcamp.com/IndieMark
#
gRegor`
Unless someone can remind me what page had the steps
#
gRegor`
e.g. 1) get your own domain name, publish content there, set up indieauth on the domain
barnabywalters joined the channel
#
tantek
gregor - right there in the side bar - Getting Started
#
gRegor`
Oops. :)
#
tantek
hey Raymondo - what's confusing about indiewebcamp.com?
#
gRegor`
Thanks, tantek
#
Raymondo
tantek: all of the info seems strangely circular. like you already have to know the significance of the things being mentioned in order to understand the page you're on
#
tantek
Raymondo - which "info"? be specific, e.g. what statement(s) at the top of the home page are you referring to?
#
gRegor`
Have you read the why page? That's a good foundation. http://indiewebcamp.com/why
#
Raymondo
for example, I tried to drill down to understand 'web sign in'. several pages and off-site redirects later I'm still not exactly sure what it is
#
tantek
Raymondo - what's unclear about "Own your data. Create and publish content on your own site, and only optionally syndicate to third-party silos. " ?
#
tantek
Jeena, how would you improve https://indiewebcamp.com/#Welcome_to_the_IndieWeb ? It's only a couple of sentences and then a list of *three* things.
#
Raymondo
nothing's unclear about those two imperative statements
#
tantek
Raymondo it sounded like you were confused by the home page, so I'm trying to understand what about it confused so we can improve it.
#
Raymondo
and I've tried to explain in both general and specific terms
#
gRegor`
Raymondo: web sign in is a way for you to use the login system of popular services like Twitter to authenticate to a site. If your domain links to your twitter with a rel="me", then you can log in on the wiki by entering your domain name. The authentication process looks at your domain, sees that rel="me" link, then goes to twitter to verify you are logged in there. If you are not logged in...
#
gRegor`
...there, then you are prompted to log in. Finally, you're returned to the site you're authenticating to.
glennjones joined the channel
#
Raymondo
gRegor`: ok, how does it relate to openid, persona, app.net?
#
tantek
Raymondo - those sound like FAQs
#
tantek
the answer to "how does it relate to openid" is in the summary at the top
#
Raymondo
no, I don't think I ended up on that page
#
Jeena
wen you get to the home page for the first time then you are coming from other communities like Twitter, App.net, Tent, Identica. The first thing you notice: "Own your data" then you think, ok, cool, where do I download some peace of software, like a client or something to do that?, Then you see "Selfdogfood instead of email. Show before tell. ..." and you think how, what, wait, where is the software? At least that was kind of what I was
#
Jeena
thinking the first time.
#
tantek
raymondo - in general, if you have a question about a subject on the wiki, go to the page for that subject
#
Raymondo
tantek: I followed the links
#
tantek
Jeena - yeah, it's tough to break people of the monoculture software assumption "where is the software?"
#
tantek
no easy way around that
#
Raymondo
Jeena: yes, at first I thought this was a technical project like diaspora, tent etc.
#
tantek
Raymondo - perhaps read this then: https://indiewebcamp.com/monoculture
Sebastien-L joined the channel
#
gRegor`
Raymondo: I don't know much about persona or app.net
#
Raymondo
tantek: so I'm still confused as to what activities are currently supporting your goals
#
Raymondo
besides spreading the word
#
Raymondo
gRegor`: I just asked because they're mentioned on one of the web sign in pages I read
#
gRegor`
It's basically an easier alternative to OpenID
#
barnabywalters
the projects page does do a bad job of prioritising things that attendees are actually *working* on
#
barnabywalters
i.e. things which are considered “indieweb” projects
#
barnabywalters
as opposed to generic free software projects like apache, nginx, wordpress, mediawiki
#
Raymondo
barnabywalters: the projects page was my first click and.. yeah
#
gRegor`
Cleanup time? :)
#
barnabywalters
but equally the projects page isn’t a catalogue of software to download and use
#
Raymondo
of course
#
barnabywalters
indeed, many of the projects like Taproot, falcon and p3k *can’t* be downloaded
#
gRegor`
How'd you come across indiewebcamp, Raymondo?
#
barnabywalters
Raymondo: do you have a personal domain?
#
barnabywalters
the best way to understand indieweb is through iterative improvements to your own domain
benprew and nitot joined the channel
#
barnabywalters
e.g. setting up web sign in so you can use your domain for authentication
#
Jeena
Raymondo in my eyes the most important stuff is Webmentions and Microformats. With help of those two you can then build a blog and a notes application which can be your Twitter replacement in the long run.
#
aaronpk
barnabywalters++ for "the best way to understand indieweb is through iterative improvements to your own domain"
#
Loqi
barnabywalters has 26 karma
#
Jeena
with webmentions you can ping other websites and tell them that you mentioned them (just like with pingback)
#
Raymondo
one of the comments
#
Jeena
and because everybody marks up their HTML with Microformats we don't need a special JSON protocol or anything, we just parse the HTML to get structured data out.
#
Raymondo
barnabywalters: I have, yes
#
tantek
ah, from KevinMarks's comment
#
tantek
regardless, welcome Raymondo! :)
#
Raymondo
Jeena: so the idea is that something like an rss reader becomes one's twitter-client replacement?
#
gRegor`
Cool. Glad to have you here, Raymondo. Hopefully we can make things clearer :)
#
Raymondo
tantek: thanks :)
#
tantek
Raymondo - no, run away from anything RSS related ;)
#
tantek
more like
#
Jeena
in the long run you don't need RSS because you can just parse the HTML to get out structured data
#
tantek
your site becomes your tweet posting, note reading replacement
#
Raymondo
ok, so what's the model for independent syndication?
#
Raymondo
subscription, rather
#
tantek
XML/RSS/Atom was a massive distraction - except at least Atom did resolve some naming issues - most of which we've re-used in h-entry microformat
#
Jeena
right now it is still RSS I would say. Later on instead of querying example.com/index.atom you query example.com/index.html and get the same data.
#
tantek
subscription = feed + notifications
#
tantek
feed = your home page
#
aaronpk
right now, people read each others notes by either 1) visiting each website, 2) finding the posts via a silo like twitter or facebook, or 3) an indieweb reader that parses microformats
#
tantek
notifications = webmention for peer to peer, PuSH for broadcast
#
aaronpk
in the future I suspect we will do something similar to pubsubhubbub with realtime subscriptions, but there aren't enough indieweb readers yet for anybody to have worked on that part
#
Jeena
aaronpk or 4) a rss reader where .title { display: none;} that is what I do ;)
#
tantek
aaronpk - is anyone's site consuming PuSH yet? or are current IndieReaders all polling?
#
aaronpk
I don't know the complete list of readers, but mine is definitely polling right now
#
Jeena
mine too
#
aaronpk
i should go add mine to the wiki since i'm actually using it now
#
tantek
awesome!
#
gRegor`
Raymondo: If you have your own domain name, I would try setting up web sign in using it and logging in to the wiki first.
#
tantek
aaronpk - perhaps add to https://indiewebcamp.com/reader#Indieweb_examples and re-organize it by site/user rather than project?
#
tantek.com
created /start (+29) "shortcut"
(view diff)
#
Raymondo
I'm not sure if it's been treated in detail elsewhere or whether you consider it important but as a newcomer I think this part should be talked about a lot more. a lot of people spent time with rss readers and watched that whole sphere get supplanted by twitter et al. explaining why both of those situations are should/will be replaced by indieweb would be
#
Raymondo
useful
#
tantek
gregor - use that link to get people started
#
tantek
raymondo - new people typically don't care or have never heard of or have never used RSS readers
#
Raymondo
damn I'm old
#
tantek
only a fraction of geeks or old people (or both) have bothered with RSS readers
#
gRegor`
Really, tantek? I know a ton of people that used and miss Google Reader.
#
tantek
especially with the death of Google Reader, whose very existence sucked the oxygen out of the reader innovation market
#
gRegor`
Non-developers, too. Geeks, but not overly technical people.
#
tantek
newcomer != people spent time with rss readers
iangreenleaf joined the channel
#
Raymondo
I mean newcomer to your project
#
aaronpk
i'm trying to find an example to base off of
#
tantek
Raymondo - most newcomers don't care nor have heard of RSS
#
tantek
so that's not a good thing to focus on
#
Raymondo
ok
#
tantek
we could have a section for "hey old geeks who used to use rss readers"
#
gRegor`
Hey now. :)
#
tantek
gregor - don't worry, I'm likely older ;)
#
tantek
(takes one to know one etc. :) )
#
aaronpk
ah thanks yeah that's what I was looking for
#
Raymondo
well it's an obvious comparison for anyone asking 'why are you doing this'. wheel reinvention being so rampant and all. but I'm sure you know what you're doing
#
aaronpk
heh would be interesting to see an age breakdown of everyone here
#
aaronpk
if only we all published an h-card on our sites that contained out birthyear
#
gRegor`
Personally I think the best selling point of the indie web is how much stuff people are putting into social networks these days, and how frequently those social networks are disappearing.
#
tantek
gregor - bingo
#
gRegor`
So encouraging people to just post on their own domain name is a great start.
#
tantek
hence why /why focuses on that
#
gRegor`
Yeah
#
Raymondo
but you don't need to beat the social networks, you need to beat the other social network challengers
#
gRegor`
It's not about beating anyone, really
#
Raymondo
sure, wrong terminology. I realise there is work going on to harmonise
#
gRegor`
It's about maintaining our content and not losing it. And not being at the whim of someone else.
#
Raymondo
I'm referring to the projects on the monoculture page
#
gRegor`
Ah, I'll have to review it
#
Raymondo
ok, so enough oxygen used up by the noob. I will lurk a bit and throw out some hopefully not-too-dumb questions in time :)
#
aaronpk
Raymondo: it's always helpful to have fresh eyes on this stuff!
#
gRegor`
Not at all, Raymondo. Ask away. And any way the wiki can be made more clear is great.
#
aaronpk
tantek: I'm restructuring to the people-centric approach for the readers page, but what about the case where both amber and I are usingthe same project?
#
aaronpk
was thinking making a header for me, then subheader of "other indieweb people using this..."
#
tantek
aaronpk - list each domain/person separately
#
tantek
it puts emphasis on the people-centric rather than project-centric philosophy/mindset
#
tantek
Raymondo - all your questions are great - seriously - keep asking away.
#
tantek
might be a bit of lag before they all make it into the FAQs but we'll get there ;)
#
aaronparecki.com
edited /reader (+638) "/* Indieweb examples */ restructure to be people-centric rather than project-centric"
(view diff)
#
aaronpk
much better that way
inimino joined the channel
#
Jeena
Raymondo my latest improvement (deployed it yesterday) is when I poste a Note on my own website, it is automatically posted to Twitter and Facebook. I still have many friends, especially on Facebook who won't really move to their own Websites the next couple of years. But that way even if Facebook decides that I shouldn't be allowed to have an account under my nickname, I still have all the data on my own website.
chloeweil joined the channel
#
tommorris
tantek: any chance you could weigh in on https://github.com/tommorris/mf2py/issues/1 ?
#
Jeena
tommorris I'm looking at the Parser init method, is it possible to pass a string of HTML code into it?
#
tommorris
should be. if not, it’s trivially possible to modify it to do so. ;)
#
Jeena
if the arg is of type str data = requests.get(args[0]) is called
#
tommorris
ah, yeah. need to fix for that.
#
tantek
tommorris - you could also add it to the /microformats group or /indieweb group
#
tommorris
tantek: nah, need one or two other people with PyPI access. git decentralizes version control, but there’s no way to decentralise pip
#
tommorris
sorry, PyPI (Python Package Index).
#
tommorris
pip is the tool that installs python packages
#
tommorris
Jeena: just going to hack something in to make that experience not suck
#
tantek
I'd propose Kevinmarks as he's more Python familiar than I am
#
tommorris
KevinMarks_: mind handling PyPI/pip on mf2py in case I get hit by a bus? ;)
#
KevinMarks__
feel free to add me yes
#
tommorris
what’s yer pypi username?
#
KevinMarks__
also KartikPrabhu as he's been patching it
#
tommorris
also, on the Python front, I seem to have been converted. I’m doing 80% Python at work these days.
#
tommorris
which is pretty good as I was hired as a Java dev and have yet to write a line of Java.
#
tommorris
all been Python and Ruby. ;)
#
Jeena
hehe lucky bastard
#
KevinMarks__
I'm Kevin.Marks
stream7 joined the channel
#
KevinMarks__
and apparently their openID login doesn't work with indieauth
#
aaronparecki.com
edited /principles-de (+183) "porting content from duolingo"
(view diff)
#
tommorris
KevinMarks__: granted. I’ll ask Kartik as well.
#
tommorris
yeah, OpenID is based on community trust and stuff
#
tommorris
which I don’t like.
#
KevinMarks__
how do you mean?
#
tommorris
they only approve a few openid providers. pretty much just google, myopenid (which is dead) and launchpad
#
tantek
well that kind of defeats the whole decentralized thing
#
tommorris
well, some sites did do that back in the heyday of openid. because they were worried about security so they only let people from a few top name-brand sites authenticate.
#
tantek
name-brand == oligopoly
#
barnabywalters
and “not enough items to unpack” is their idea of a helpful error message
#
tommorris
livejournal was usually pretty high on that list iirc
#
tommorris
barnabywalters: indeed. pypi is notoriously hackerish
#
KevinMarks__
well, when Brad came round evangelising OpenID, LJ is what he used to help you debug it
bnvk joined the channel
#
tommorris
barnabywalters: you can report pypi issues here - https://bitbucket.org/pypa/pypi/issues ;)
#
barnabywalters
tommorris: doing
#
aaronpk
oh yeah I still don't know wtf is wrong with their openid thing
#
aaronpk
you can click on "openid" and just type in your domain, you don't need to use their whitelist of providers
#
aaronpk
but then it says "Cannot establish OpenID session: need more than 1 value to unpack
#
aaronpk
and of course the top hit in google for that error message is the issue on the indieauth source
#
KevinMarks__
recursively, bitbucket's openID support is nascar'd, then when you find the typein url bit, it auths you then says "We are not currently accepting new OpenID signups"
#
barnabywalters
feel free to comment or upvote or whatever
#
aaronpk
barnabywalters: thanks. now at least that page will show up in the search for that error
#
barnabywalters
I had a look at the other OpenID complaints and none of them were exactly the same
#
barnabywalters
actually, can everyone comment on that issue with their domain?
#
barnabywalters
that would quickly demonstrate that it’s not just some crazy outlier, and people do actually care about logging in using their own domain
#
barnabywalters
cc aaronpk tommorris KartikPrabhu KevinMarks
#
KevinMarks__
alos #66 is already major
#
barnabywalters
yeah, I suppose “not working at all” counts as major. changing
#
tommorris
I ended up just setting up a username/password to log in with.
#
barnabywalters
tommorris: yeah me too
#
tommorris
I’m generally impressed with releasing stuff on PyPI though
#
tommorris
process is bump the version number, check it all in, then `git tag -s {version number}
#
tommorris
python setup.py sdist upload —sign`
#
tantek
that looks like fun
#
barnabywalters
tommorris: that’s way more complex than I’m used to with packagist ;)
#
Jeena
is indieauth.com a delegate for oauth too?
#
barnabywalters
Jeena: it is indeed!
#
Jeena
I am on sweet, I am on clavid.com and it was just down (ok for the first time but still!)
#
tommorris
barnabywalters: it’s a lot simpler than I’m used to with Maven and Java crap.
#
barnabywalters
actually, why is there not a guide to setting up indieauth.com as an openID delegate on indieauth.com?
#
barnabywalters
tommorris: never used Java, so I have no idea what I’m missing/how fortunate I am to have good tools
#
barnabywalters
s/good tools/tools built with usability front-of-mind
#
Loqi
barnabywalters meant to say: tommorris: never used Java, so I have no idea what I’m missing/how fortunate I am to have tools built with usability front-of-mind
#
tommorris
barnabywalters: think of this: you download all the dependencies. then you hit compile and it says it needs to download more dependencies to actually compile your code.
#
tommorris
oh, yeah, PHP, no compiling. ;)
#
Jeena
yeah but uhm PHP ...
#
barnabywalters
tommorris: that sounds fun :)
LauraJ joined the channel
#
tantek
Jeena, you should checkout CASSIS then ;)
#
tommorris
Jeena: okay, come up with a way of doing the API that’s a bit simpler
#
tommorris
Parser(url=“http://tantek.com/“) - loads tantek.com, parses
#
barnabywalters
Jeena: a large part of the PHP community has got over the crappy historical approaches which PHP suffered from
#
Jeena
simple != good ;)
#
tommorris
Parser(doc={str}, url=“http://tantek.com/“) - parses str, with url as base.
#
tommorris
Parser(doc={str}) - parses str, infers base from document
#
Jeena
ah hehe I thought you've been talking about PHP ^^
#
tommorris
otherwise it uses the else logic
#
Jeena
yeah that sounds quite good
#
barnabywalters
actually HTML should almost never be parsed without a base url, so you could safely use positional arguments
#
tommorris
I don’t like positional arguments.
#
barnabywalters
parse(string) is treated as a URL to fetch
#
barnabywalters
parse(string, string) is treated as HTML, URL
#
tommorris
barnabywalters: that’s pretty much what it does.
benprew joined the channel
#
tommorris
if it’s a file, it parses it.
#
tommorris
if it’s str, it treats it as a URL and loads it
#
tommorris
I’m tempted to split it out and have factory methods.
#
tommorris
but it’s 0.1 alpha so I’mma break shit and not feel the slightest bit guilty.
skinny joined the channel
#
aaronpk
Jeena: yes indieauth.com is a delegate for oauth actually
#
tommorris
Yo, users, I’mma really happy for you, and I’m gonna let you hack, but I’ve got a better idea.
#
tommorris
(Sorry, on a Kanye tip today.)
#
aaronpk
actully the term is "authorization server" rather than delegate
#
tommorris
Jeena: mf2py 0.1.2 released to pypi.
#
tommorris
and it’s lost the blasted documentation
#
tommorris
gets stabby at pypi
#
Jeena
nice, even though I have no use for it yet (because I wrote my own stuff in Ruby) some time in the future I will surely need it :)
skinny joined the channel
#
tommorris
Jeena: am also a Rubyist. the two are close enough that it shouldn’t be too hard to port one to t'other
#
tommorris
I know danbri used to take Python code and just manually cross-compile it into Ruby. ;)
#
Jeena
for ruby there is a quite good one already actually the one by G5
#
tommorris
yeah, I’ve submitted a patch or two to G5
#
KevinMarks__
there's a reason Python gets called executable pseudocode
#
Jeena
even though the documentation it not the best one
#
tommorris
tantek: I’ll move the mf2py repo over to github/microformats later
bnvk, _6a68, paulcp and skinny joined the channel
#
Jeena
Oh there is Pintrest for Firefox OS, neat, even if I don't use it, it is good that something happens in that app store.
skinny joined the channel
#
aaronpk
I would log in and upvote that issue on pypi but I can't log in with openid
snarfed, melvster and skinny joined the channel
#
tantek.com
edited /Falcon (+362) "/* mobile home template header icons folders */ steps to prototype separately, for ease of implementation and re-use"
(view diff)
benwerd joined the channel
#
Loqi
benwerd: aaronpk left you a message 1 week ago: I think your list of posts on your home page is missing the "u-url" property! http://werd.io/
#
Loqi
benwerd: caseorganic left you a message on 2/17 at 1:37pm: https://www.youtube.com/watch?v=58-atNakMWw
#
Loqi
benwerd: aaronpk left you a message on 2/20 at 1:21pm: do you not include a link back to your werd.io post on your Facebook POSSE copies?
#
benwerd
loqi, anything else? ;)
#
aaronpk
welcome back benwerd
nitot joined the channel
#
aaronpk
tantek: this is interesting. according to http://indiewebcamp.com/comments-presentation#How_to_display , if there is a named article that is in-reply-to something, the comment will never show the article name
#
aaronpk
is that intentional / correct?
KartikPrabhu joined the channel
#
gregorlove.com
edited /projects (+661) "/* OStatus for WordPress */ Adding Postcard"
(view diff)
realzies and realz joined the channel
#
benwerd
I'm choosing to interpret the goats on a ribbon as an existential metaphor for life.
#
benwerd
aaronpk: I stopped including Fb links after I got strong signals from my friends there that the links on status updates were annoying. Photos should have them, but might not now I think about it (fwiw Flickr photos do have a link back). Articles clearly do.
#
aaronpk
huh, interesting
#
aaronpk
you unfortunately don't get the bridgy feedback that way
#
benwerd
I know
#
aaronpk
how were you including the link?
#
benwerd
What I really wish is that the citation gives to the source app was configurable on a per-post basis
#
benwerd
I was including it at the end, just as text
#
benwerd
* the citation Facebook gives to the source app
#
aaronpk
ah yeah that would be a great spot for it
#
aaronpk
here's my first POSSE note to facebook. so far no negative reaction http://farm8.staticflickr.com/7415/12681284203_e29cd8053c_c.jpg
#
benwerd
OK, that's better than mine: Facebook is automatically expanding my links. Maybe I need to go back and reread the API to prevent it from doing that.
#
aaronpk
oh interesting. yeah I can see how that would be annoying
#
benwerd
I'd have no qualms about including a reference if it didn't expand it. Will check.
#
aaronpk
I did that by making a POST to /me/feed with just a "message" property
#
benwerd
Right. I think that's what I'm doing too
#
benwerd
but I'll reread my code ;)
#
benwerd
Indeed
#
benwerd
I am a doofus of gargantuan proportions
#
benwerd
I was checking for links after I added my reference. Guess what it found if there wasn't another link?
#
benwerd
Thanks for the prod.
#
benwerd
I'll start adding links later today ;)
#
aaronpk
snarfed: any chance of adding app.net to bridgy?
#
aaronpk
i'm re-considering POSSEing to app.net via their API
#
snarfed
interesting idea
#
snarfed
i'd happily accept a pull request :P
#
aaronpk
you probably don't want me anywhere near your python
#
snarfed
i'm focusing on the posse service right now
#
snarfed
eh i'm not religious
#
aaronpk
well it would be a good addition to the posse service too ;)
#
snarfed
agreed!
#
snarfed
definitely file an issue at least
#
snarfed
they use ActivityStreams, right?
#
snarfed
if so that makes it pretty easy
#
aaronpk
they actually have full microformats markup on the posts
#
aaronpk
the only thing missing is them actually sending webmentions
#
snarfed
oh interesting
#
snarfed
any chance they send webhooks?
#
aaronpk
oh looks like in-reply-to is missing, and also it would be to the app.net URL not the original
#
snarfed
yeah. still, iirc the API data model is AS?
#
KartikPrabhu
is setting up openid delegation via indieauth
#
snarfed
nice KartikPrabhu!
#
KartikPrabhu
what is a good site to test that it works?
#
snarfed
real: stackoverflow?
#
KartikPrabhu
cool! thanks snarfed
#
snarfed
awesome, thanks!
benwerd, skinny and nitot joined the channel
#
aaronpk
darn, someone already took the @p3k name on github
#
aaronpk
guess i'm putting these under my own acct
#
snarfed
personal repos aren't that bad
#
aaronpk
I wanted a collection of all the p3k librarys on the p3k org
#
snarfed
good point
#
snarfed
i went through a brief phase where i tried to create dedicated accounts, orgs, etc for my nontrivial projects, but gave up pretty quickly. cost benefit was way off.
#
aaronpk
although I could rename this one and put it under indieweb
#
snarfed
but a matching collection is a good use case
#
aaronpk
yeah i'll put this one under indieweb since it's comment parsing and follows the comments-presentation algorithm
_6a68 and pasevin_ joined the channel
#
aaronpk
hm I forget how long it takes before new packagist projects are available
#
aaronpk
there is goes
#
KartikPrabhu
openid via indieauth works! w00t!
#
Loqi
does a happy dance!
#
KartikPrabhu
thanks snarfed for test sites
#
snarfed
np, congrats!
nitot joined the channel
#
KartikPrabhu
curiousity question: does any one publish book reviews on their indiewebsite maybe using open library covers API https://openlibrary.org/dev/docs/api/covers ?
#
pdurbin
KartikPrabhu: no, but that's a neat idea... hosting your own reviews as opposed to putting them on amazon
#
KartikPrabhu
or goodreads. I've been meaning to move from there maybe add POSSE later
#
KartikPrabhu
also a good excuse to play with h-review
#
pdurbin
yeah. goodreads. I've never left reviews on either. I'd rather put them on my domain
#
KartikPrabhu
goodreads is now owned by amazon anyway. so yeah indie book reviews would be sweet. Maybe I'll do those before notes/status since no one else seems to have done it
#
aaronpk
I'd still suggest notes first since they're simpler and you'll likely learn a lot about how you want to do things internally
#
KartikPrabhu
aaronpk: yeah on second thought you might be right
#
KartikPrabhu
just in case anyone else tries to send mentions through post_save in Django. It won't work and here is why: http://stackoverflow.com/a/21817555/2146591
#
KartikPrabhu
basically your save is not 'committed' by the save thread until post_save is done. So all webmention targets will not see your source at the URL
#
pdurbin
didn't realize amazon owns goodreads
bnvk and KevinMarks joined the channel
#
KartikPrabhu
they acquired it last year some time
skinny and eschnou joined the channel
#
KevinMarks__
so, anyone going to jon me at http://hackathon.launch.co/ this evening?
#
gRegor`
KartikPrabhu: It's been in the back of my mind to syndicate reviews from my site to goodreads. I don't write many reviews as-is, though, so it's lower priority
#
gRegor`
I do use goodreads a lot for tracking reading progress, so I'd be interested in posting that data on my site and syndicating, if possible.
#
KartikPrabhu
cool! I have stopped writing to goodreads but I am sure I'll pick up again if it is on my own site
#
gRegor`
I'm quite interested in such personal stats. Quantified self and all that.
iangreenleaf and paulcp joined the channel
#
KartikPrabhu
!tell tommorris: RE: handling PyPI - I have never handled anything on PyPi and also don't have an account there yet. I'll look into it and let you know.
#
Loqi
Ok, I'll tell them that when I see them next
#
KartikPrabhu
!tell barnabywalters: commented on PyPi OpenId/IndieAuth issue
#
Loqi
Ok, I'll tell him that when I see him next
#
tommorris
KartikPrabhu: don’t worry. KevinMarks__ has stepped up.
#
Loqi
tommorris: KartikPrabhu left you a message 3 minutes ago: RE: handling PyPI - I have never handled anything on PyPi and also don't have an account there yet. I'll look into it and let you know.
#
KartikPrabhu
neat! Also, do you get the leading spaces issue in mf2py using html5lib?
#
tommorris
KartikPrabhu: I just wanted someone who could push new versions if I were, oh, hit by a bus, swept off by a mysterious dark gentleman on a romantic tour of Europe without internet access, mistaken for a terrorist by MI5… that sort of thing
#
tommorris
KartikPrabhu: haven’t looked at that, but it’s easily fixable
#
KartikPrabhu
you do have an exmaple in value_class_person.html
#
tommorris
just need to .strip() the text
#
KartikPrabhu
I am wondering if that should be fixed by an mf2 parser or not. tantek seems to think that the html5 parser should do that and not a mf2 parser
#
tommorris
well, html5lib is just invoking the XML DOM parser
#
tommorris
and XML allows you to have either
#
tommorris
I think XSD specified a difference in datatype semantics for strings with whitespace significance or not
#
tommorris
ah, yes, XSD had a “constraining facet” for ‘whiteSpace’ with the ability to set it to “collapse”. i.e. remove
#
tommorris
just stripping the property seems reasonable to me.
#
tommorris
I’ll put it in. If we find a use case for having non-stripped properties, document it and then we’ll write a test to make sure that’s kept
pfenwick joined the channel
#
KartikPrabhu
one case would with pre or code elements but I haven't found those arising in mf2 parsing yet
#
aaronpk
hello php folks! I've finished the comments-presentation library! https://github.com/indieweb/php-comments
#
tommorris
KartikPrabhu: yeah, pre and code are interesting.
#
tommorris
also, minidom is irritating me. switching to beautifulsoup seems a reasonable thing to do. ;)
#
Loqi
giggles
#
KartikPrabhu
haven't incorporated the new doc parsing changes yet
#
tommorris
KartikPrabhu: I’m just about to push up a fix for string stripping
nitot joined the channel
#
KartikPrabhu
cool. I'll update the BS version with the new doc kwarg parsing + strign stripping and send you a pull request in case you want to switch to BS
#
tommorris
that’d be awesome
#
KartikPrabhu
the timing depends on how inebriated I am this evening :P
#
tommorris
I’ve got family visiting tomorrow and then going out for birthday drinks so I won’t be able to do anything tomorrow, I’m afraid
#
tommorris
I’ll push string stripping stuff up to PyPI too
#
KartikPrabhu
alright! this mf2py thing is shaping up quite nicely
#
KartikPrabhu
leaves for happy hour. ciao
#
tommorris
pours himself a gin. ;)
#
aaronpk
pours himself a mimosa
#
aaronpk
cheers tommorris
#
tommorris
thanks aaronpk. mf2py seems to be progressing nicely.
#
aaronpk
that's great news!
snarfed1 joined the channel
#
KevinMarks__
should probably check out new versions of mf2py
scor, KevinMarks and tantek joined the channel
#
gRegor`
Helllooo, weekend.
#
gRegor`
That was a long last few hours of Friday
#
snarfed1
heh
snarfed joined the channel
#
aaronpk
wait what
#
aaronpk
can someone go to indieauth.com and hit re-scan and see if it finds your twitter acct?
#
aaronpk
it seems to find mine just fine now
#
ryana
gives aaronpk a thumbs up.
#
aaronpk
so weird. I didn't actually change anything.