#indiewebcamp 2015-08-03

2015-08-03 UTC
awolf joined the channel
#
GWG
I keep thinking of starting another WordPress plugin.
#
GWG
I'm wondering how you determine you have too many open projects to start a new one
#
aaronpk
I always have too many open projects
#
GWG
A nicknames cache is a bit ambitious.
KevinMarks_ joined the channel
#
myfreeweb
aaronpk: my likes were h-cites, and the author property was on the h-cite, but now I changed that to be just links
#
GWG
To build one that 'fits' into WordPress is the challenge more than anything else.
#
aaronpk
myfreeweb: i'm still seeing the wrong author here https://unrelenting.technology/likes/2015-08-02-14-48-32
#
GWG
Wondering if I should finish up my fixes to Post Kinds, write some unit tests for Micropub, fix the errors in Simple Location...
#
aaronpk
your h-card is outside the h-entry
#
GWG
aaronpk: So is mine.
#
myfreeweb
yeah so there should be no author property at all
#
aaronpk
if you want your h-card outside the h-entry, just make sure you aren't setting a different author on the h-entry!
#
myfreeweb
Looks like the parser read the author of the like cite as the author of the entry!
#
aaronpk
yes, because you have the author *outside* the h-cite
#
myfreeweb
oh dammit how did I even type that
#
myfreeweb
looks like I thought the template for loop was the h-cite :D
#
wagle
i'm trying to write down all my open projects.. way too many
#
GWG
wagle: Feel free to contribute to any Indieweb WordPress ones you want.
#
GWG
I'd love the company.
#
loqi.me
created /next_homebrew_website_club (+21) "prompted by aaronpk and dfn added by kylewm"
(view diff)
#
wagle
well, i need to offload my project list by getting other people interested, hence indieweb as a means for collaboration
#
GWG
wagle: How are you doing with mf2_s, Post Kinds, Micropub, Webmentions, Semantic Linkbacks, Wordpress-uf2, SemPress, etc?
#
wagle
will be a week or so
#
wagle
hafta get this mooc's weekly quizzes don
#
wagle
hafta get this mooc's weekly quizzes done
awolf joined the channel
#
wagle
but one of my top projects IS getting 2010 to support mf2
#
wagle
havent started yet, sorry
awolf and KevinMarks__ joined the channel
#
GWG
wagle: No sorry required. Just curious to see how it works out.
#
GWG
wagle: I've been looking for some people to provide feedback on the experience of being a WordPress Indieweb newcomer so we can improve.
#
wagle
oh ok.. my first problem is not knowing php.. and barely knowing css (I did manage to get one of the 40px gaps to go to 10px in sempress, but ...)
#
wagle
i know about 20 programming languages, so php doesnt scare me, just make me nervous that I copy something stuid
#
wagle
i know about 20 programming languages, so php doesnt scare me, just make me nervous that I copy something stupid
#
wagle
will work through the mf tutorial soon
#
wagle
had some trouble finding the spots in google+ and flickr to refer back to my main web site
#
ben_thatmustbeme
The sempress theme really could use some updating
awolf joined the channel
#
GWG
wagle: I was talking about as a user, not a developer.
#
ben_thatmustbeme
I basically ripped it all apart and I still feel like I need to completely redo the css
#
GWG
ben_thatmustbeme: We really need an interested designer to incorporate something into their work.
#
wagle
there's a spaghetti of wiki pages to go through, with some not-quite-duplication bwteen them, such that you have to read all of them carefully to get the whole picture
#
GWG
I worked on a starter theme hoping a designer would come along.
#
GWG
wagle: That's what we want to make better. The user experience
#
wagle
GWG: dont know what you mean as user?
#
KartikPrabhu
wagle: re: wiki pages. not really. For mf2 you should add it incrementally. start with h-entry and h-card
#
KartikPrabhu
if you decide to know everything before starting you probably never start
#
wagle
heh.. but i'm now currently trying to figure out how to best stumble around
#
KartikPrabhu
like I said. start by adding h-entry and h-card to your markup http://microformats.org/wiki/h-entry http://microformats.org/wiki/h-card
#
wagle
sure, i hear ya
#
KartikPrabhu
and because mf2 has implicit property parsing, the minimal examples will directly work. You can add explicit properties if/when you need to
#
wagle
oki, i'm doing other things this evening, should start tomorrow or so
#
wagle
but that sounds like a good start
#
GWG
wagle: Person not developing, who wants to add Indieweb tools to their existing WordPress install.
awolf joined the channel
#
wagle
ok, my main problem is that 2010 is the theme that does what I want in terms of presentation.. sempress wont fit trivial pages on a screen, but REQUIRES scrolling.. so I seem to be stuck mangling sempress or mf2_s or wordpress-uf2 to get microformats
#
wagle
the solution might be to make wordpress-uf2 "better" (but its readme is a year old, so maybe it IS better)
#
GWG
wagle: mf2_s is meant for mangling.
#
GWG
wagle: wordpress-uf2...pfefferle just did a commit, and asked if I had any ideas...haven't gotten to it.
#
wagle
the mangle verb was mostly intended for sempress
#
GWG
I have a few looking at it, that we did in Semantic Linkbacks and a few other places.
awolf joined the channel
#
GWG
wagle: The issue is that you can only do so much with filters and hooks.
#
wagle
ok, noted 8)
#
GWG
wagle: On the other hand...there are a lot of hooks
KevinMarks, KevinMarks__, mlncn, awolf, yakker, MatrixBridge, KartikPrabhu and j12t joined the channel
#
Kongaloosh
Mmmmm... I'm having some trouble sending webmentions to myself. I'm using webmention.io for handling. I've got it setup to send a mention and I get a 200 back---so it seems to be formatted correctly---but when I check for mentions on my target, none come up.
#
Kongaloosh
anyone have any troubleshooting tips?
awolf, snarfed and j12t joined the channel
#
kylewm
Kongaloosh: the source document links to the target?
lukebrooker, scoates, awolf, KevinMarks, KevinMarks__, ben_thatmustbeme and cweiske joined the channel
#
@raisercostin
#ownyourdata "The system’s defence mechanism is to form monopolies –the giant tech companies[…] yet they cannot last" http://www.theguardian.com/books/2015/jul/17/postcapitalism-end-of-capitalism-begun?CMP=share_btn_tw
(twitter.com/_/status/628094973175578624)
KevinMarks, Jihaisse, loic_m, sanduhrs, lewisnyman, squeakytoy, eschnou, amz3, Sebastien-L, ttepasse, fkooman, petermolnar, adactio, s89 and glennjones joined the channel
#
@derhess
Great summary: #IndieWebCamp 2014 Year in Review — This Is A Movement http://tantek.com/2015/201/b1/indiewebcamp-2014-year-review #indieweb #indiedev #web
(twitter.com/_/status/628141221429514240)
#
@TheIndieSloth
RT @derhess: Great summary: #IndieWebCamp 2014 Year in Review — This Is A Movement http://tantek.com/2015/201/b1/indiewebcamp-2014-year-review #indieweb #indiedev #web
(twitter.com/_/status/628141271991889920)
#
@FlappyTeam
RT derhess: Great summary: #IndieWebCamp 2014 Year in Review — This Is A Movement http://tantek.com/2015/201/b1/indiewebcamp-2014-year-review #indieweb #indiedev #web (via T…
(twitter.com/_/status/628141326945677312)
mlncn, scoates_, mdik and Jihaisse joined the channel
#
Jeena
I wrote some code which tries to get the info we normally get from microformats on a reply from a normal HTML site https://gist.github.com/jeena/9cf17b00f68dca4bcc21
#
Jeena
I have at least one site which uses all the rel=author, rel=in-reply-to and so on but not within microformats, just the relations
#
cweiske
you can extract authorship information from head/link[@rel=author] and head/meta[@name=author] tags
#
Jeena
yeah I should add this, true
#
Jeena
this is how the result looks like def source_base_url(url)
#
Jeena
URI.join(self.source_uri.gsub(URI.parse(self.source_uri).request_uri, ""), url).to_s
#
cweiske
Jeena, I think that "in reply to" on your note page should be above the text
#
Jeena
yeah I was thinking about that, the only problem is that it looks weird, but yes I agree
#
cweiske
otherwise you only see that it refers to something else after you read it
#
Jeena
hm but perhaps in between my name and the text?
frzn joined the channel
#
Jeena
better?
#
Jeena
thanks for kicking my butt into doing it ;)
scoates, scor, KevinMarks, j12t, LanceyWork, lukebrooker, TinoKremer_, chalettu, glennjones and mlncn joined the channel
#
@LanceCoyote
https://medium.com/matter/the-web-we-have-to-save-2eb1fe15a426 Great read on how the web changed in less than a decade. #IndieWeb related due to how silos changed how we surf
(twitter.com/_/status/628171337777831936)
j12t, frzn, alexhartley and s89 joined the channel
#
GWG
Good morning
glennjones and alexhartley joined the channel
#
@permutans
"#IndieWeb" is a nice idea and all, but... there're no comment forms on your websites
(twitter.com/_/status/628180438650093568)
#
@tinokremer
@permutans in fact, there is. Website owners can choose to or not. Besides, you can comment from your own #indieweb site
(twitter.com/_/status/628180801419481088)
lewisnyman joined the channel
#
Jeena
GWG, where are you from?
#
GWG
Jeena: New York.
#
Jeena
ah, ok, I'm just trying to get a sense of the time zones people are in
#
TinoKremer|Work
Most are in the US afaik, I'm not though. The Netherlands here, hi! :)
#
ben_thatmustbeme
irc-people has timezones i believe
#
@petermolnar
@ReadMatter I only got to read "The Web We Have to Save" now; we'd love to see you at #indieweb & http://indiewebcamp.com
(twitter.com/_/status/628182148265189376)
#
ben_thatmustbeme
TinoKremer|Work: there are a good number in here from Europe too
#
ben_thatmustbeme
the majority are west coast US as thats where it started
friedcell joined the channel
#
TinoKremer|Work
Yeh, and I see most activity in that timezone too. Too bad there are no indiewebcamps in my country yet
#
Jeena
America 87, Europe 67, US 31, GMT 2
#
ben_thatmustbeme
TinoKremer|Work: start one! :)
#
ben_thatmustbeme
maybe start with a HWC
#
ben_thatmustbeme
okay, gotta go prep for work
#
TinoKremer|Work
I would love to, time is a bit of a constraint here :)
#
Jeena
TinoKremer|Work, I started one in Gothenburg, last week was the first one https://jeena.net/photos/164
#
TinoKremer|Work
Good luck in that case. I'm almost done for the day (2,5 hours of worktime remaining)
#
Jeena
about 3 hours every 2 weeks
#
TinoKremer|Work
Sweden? nice!
j12t, scor and mlncn joined the channel
#
@tinokremer
@permutans we're not. It's just an IRC bot looking for the hashtag #indieweb :)
(twitter.com/_/status/628191160180146176)
alexhartley, j12t, fourtonfish, mlncn, scor, friedcell and s89 joined the channel
hmans, friedcell, awolf and loic_m joined the channel
#
@LanceCoyote
How IndieWeb Makes Comments (a little) Better: My e-friends and I have always had a simple tip for any newcomers to… http://lancey.space/2015/08/how-indieweb-makes-comments-a-little-better
(twitter.com/_/status/628203898054930432)
#
Loqi
[mention] Lance Coyote posted 'My e-friends and I have always had a simple tip for any newcomers to the growing web: never read the comments section. In our modern web, ...' linking to https://indiewebcamp.com/ (http://lancey.space/2015/08/how-indieweb-makes-comments-a-little-better)
#
Loqi
[mention] Lance Coyote posted 'My e-friends and I have always had a simple tip for any newcomers to the growing web: never read the comments section. In our modern web, ...' linking to https://indiewebcamp.com/Webmention (http://lancey.space/2015/08/how-indieweb-makes-comments-a-little-better)
#
LanceyWork
Loqi whyyyy
#
Loqi
is done
s89, scor, mlncn, j12t and KartikPrabhu joined the channel
#
aaronpk
oh hey LanceyWork thanks for providing me with a recent example of one post linking to many wiki pages :)
#
LanceyWork
you're welcome
#
aaronpk
i'm working on clustering the notifications here
#
wagle
its all a monad
scor, snarfed, MatrixBridge, thehighfiveghost and frzn_ joined the channel
#
Loqi
[mention] http://mshook.withknown.com/2015/via-kevinmarks-distributed-silo-social-complicated-comment-withknown-protocol-wishlist posted 'https://indiewebcamp.com/ #via #kevinmarks #distributed #silo #social #complicated #comment #withknown #protocol #wishlist #critique #alter...' linking to https://indiewebcamp.com/
#
Loqi
[mention] http://mshook.withknown.com/2015/via-kevinmarks-distributed-silo-social-complicated-comment-withknown-protocol-wishlist posted 'https://indiewebcamp.com/ #via #kevinmarks #distributed #silo #social #complicated #comment #withknown #protocol #wishlist #critique #alter...' linking to https://indiewebcamp.com/
KartikPrabhu joined the channel
#
Jeena
Somehow I need a better way of tagging people in notes.
#
@LanceCoyote
If you’re interested in #IndieWeb and want to start your own site, I recommend https://t.co/DQhxpWpxug. Easy setup with lots of flexibility
(twitter.com/_/status/628215378435424257)
MatrixBridge joined the channel
#
LanceyWork
Jeena, how are you doing it now?
#
Jeena
it should be done inline in the text if possible
#
LanceyWork
i think the twitter @-syntax is a pretty good way to work it
shiflett joined the channel
#
LanceyWork
just store the names and websites of people you mention, then link to their site when you @mention them
#
Jeena
na, I like the Facebook way better
#
Jeena
hm but that is actually not a bad idea
#
Jeena
and it would even work with micropub
#
LanceyWork
redwind does it, not sure what else does
#
Jeena
I really need a database with it first somehow
#
TinoKremer|Work
You could also link to their profile page and grab the name to show visibly in the post when you mention
#
Jeena
or hm, thanks for the tip, I guess I will try to implement it
#
Jeena
my problem is to decide if a http://jeena.net is just a normal link or if it is a mention of a person
#
Jeena
(automatically)
#
Jeena
but the thing with @mention would work around that
#
Jeena
and it would make it easy to autosuggest, micropub, and so on
#
LanceyWork
you could always search the link for a h-card and pull the author name from there, but that might make it resolve article links into contacts
#
Jeena
I just need to not save a note if a @mention can not be resolved so after some time I will have a database
#
Jeena
LanceyWork, that is my fear actually that this will happen more often than not
#
Jeena
ok cool, that is a good plan actually
#
Jeena
I can start implementing it right away, I don't think I will work more today anyway ;)
#
@hs0ucy
RT @LanceCoyote: If you’re interested in #IndieWeb and want to start your own site, I recommend https://t.co/DQhxpWpxug. Easy setup with lo…
(twitter.com/_/status/628218725800521728)
yakker, j12t, M-kegan and thehighfiveghost joined the channel
#
@LanceCoyote
Another good thing about #IndieWeb: smaller, faster websites. Indie sites load way less than silos, which is a becoming a big deal.
(twitter.com/_/status/628223262992920576)
acegiak1 and scor joined the channel
#
kylewm.com
edited /OpenID (+287) "/* Consuming Sites */ add dreamwidth"
(view diff)
KartikPrabhu joined the channel
j12t, KartikPrabhu, MatrixBridge and Deledrius joined the channel
#
@agambrahma
https://indiewebcamp.com/why <-- Came across this, realized I had been struggling to articulate something similar for the last several years ...
(twitter.com/_/status/628241726629482502)
lewisnyman and gRegorLove joined the channel
#
amz3
true
tvn, s89, jciv and snarfed joined the channel
#
snarfed
how's clustering going aaronpk?
#
snarfed
i'm guessing any "help" wouldn't actually help much right now :P, but happy to help however i can
#
aaronpk
hehe thanks!
#
aaronpk
i made some more pgoress last night, still have to finish it up today
KevinMarks__ joined the channel
#
ben_thatmustbeme
what are you clustering?
#
Loqi
It looks like we don't have a page for "you clustering" yet. Would you like to create it? http://indiewebcamp.com/s/100w
#
ben_thatmustbeme
glares at loqi
#
aaronpk
the notifications that webmention.io generate
#
Loqi
dude
tvn_ and j12t joined the channel
#
@voxpelli
@LanceCoyote If you add http://indiewebcamp.com/indie-config to your WebActions then I can also as easily write a reply on my site as I can on Twitter :)
(twitter.com/_/status/628258203436978177)
benwerd, KevinMarks, scor, TinoKremer and s89 joined the channel
#
snarfed
quiet without tantek
#
KevinMarks_
we need to start tanteking each other?
#
ben_thatmustbeme
what are people working on?
#
Loqi
It looks like we don't have a page for "people working on" yet. Would you like to create it? http://indiewebcamp.com/s/100x
#
ben_thatmustbeme
. what are you all working on?
#
ben_thatmustbeme
yeah, i had this great idea to do the mp-chaining to FB
#
ben_thatmustbeme
but i really don't want to go through all that junk
#
LanceyWork
ben_thatmustbeme, trying to figure out why my flask setup isn't working
TinoKremer joined the channel
#
snarfed
ben_thatmustbeme: mp chaining is great! feel free to use bridgy publish to avoid the api part :P
#
ben_thatmustbeme
well bridgy publish was what i was trying to remove my reliance on. get an alternate option to it
#
ben_thatmustbeme
figure multiple options is always better
#
snarfed
ben_thatmustbeme++ for diversity
#
Loqi
ben_thatmustbeme has 108 karma
#
ben_thatmustbeme
thus indieID as an alterantive to indieauth.com
#
snarfed
there are lots of posse alternatives right now, but almost no backfeed alternatives. honestly i'd love to see another of those
#
ben_thatmustbeme
I really like the idea of being able to just register new syndication targets to my endpoint
#
ben_thatmustbeme
yeah, backfeed is definitely a huge undertaking
#
KevinMarks_
I think this joins up with the micropub without indieauth stuff
#
ben_thatmustbeme
i'd love to see someone convince a waning silo to try embracing some indieweb ideas. get them sending webmentions
#
ben_thatmustbeme
for that matter I wonder if a general list of Social web silos
#
ben_thatmustbeme
so we could look at all the options
#
ben_thatmustbeme
i'm sure there are tons of minor ones out there
#
KevinMarks_
why waning? how about up and coming? hint hint
#
Loqi
[mention] http://blog.henrikcarlsson.se/2015/08/what-should-i-do-how-should-i-prioritize-my-free-time/ posted 'I’m having a problem. I currently feel like I need to ”accomplish” something, and that I haven’t done that in quite a while. In reality th...' linking to http://indiewebcamp.com/POSSE
#
Loqi
[mention] http://blog.henrikcarlsson.se/2015/08/what-should-i-do-how-should-i-prioritize-my-free-time/ posted 'I’m having a problem. I currently feel like I need to ”accomplish” something, and that I haven’t done that in quite a while. In reality th...' linking to http://indiewebcamp.com/webmention
snarfed1 joined the channel
#
kylewm
oh no i've learned anxiety when IDs start looking different, this instagram photo has a weird long id all of a sudden? https://instagram.com/p/57mzFbyBqTI9Q-rguUsXIz3bY1hd3iQnppGFY0/
#
aaronpk
that's 404 for me
#
Zegnat
404 on this end too
#
kylewm
private account
#
kylewm
maybe that's why the weird url
#
snarfed1
kylewm: heh. we have fb api ptsd
#
kylewm
wipes sweat from brow
#
ben_thatmustbeme
KevinMarks_: them too
#
ben_thatmustbeme
I know there have been suggestions of that floating for a while
#
ben_thatmustbeme
it would be cool
KartikPrabhu joined the channel
#
@rtaibah
This! The Web We Have To Save. https://medium.com/matter/the-web-we-have-to-save-2eb1fe15a426 Author drives the point home. #indieweb
(twitter.com/_/status/628288733133942784)
KevinMarks joined the channel
#
KevinMarks_
so we have /swat0 - presumably we need a page for each other socialwg user story too?
#
ben_thatmustbeme
i think i do all the "posting a note" bits
#
ben_thatmustbeme
i can update and delete over micropub
#
@mhirschmann
indieweb - klingt nach einer sinnvollen Sache, die sich gerne verbreiten soll - http://wirres.net/article/articleview/7785/1/6/ via @wirresnet
(twitter.com/_/status/628290384821645312)
#
KevinMarks_
I was going to suggets acronym page names liek SWAT0 but then we get SWFAP
#
Jeena
hm, tanteks homepage crashes the ruby microformats parser
#
KevinMarks_
we all have single user UPAN, and I suspect we're close to micropub client/server too
#
KevinMarks_
it is a bit big
#
KevinMarks_
it takes 8 seconds to parse in python
#
kylewm
maybe it takes 8 seconds on a potato :)
#
KevinMarks_
on appengine
wilfredh joined the channel
#
kylewm
like i said...
#
kylewm
oh burn, google
#
KevinMarks_
10.58s on munmun that time
#
KevinMarks_
s/munmun/unmung
#
Loqi
KevinMarks_ meant to say: 10.58s on unmung that time
#
KevinMarks_
it is running on the free teir
#
Loqi
rhiaro has 135 karma
#
ben_thatmustbeme
i was just trying to figure out some smart way to get my site to change \n to <br> on posting and such
#
kylewm
KevinMarks_: is unmung using the bad python html.parser?
#
ben_thatmustbeme
then realized... my articles are html, and i unified everything.... so i can just insert html in my posts
#
ben_thatmustbeme
haha, Formatting!
#
Loqi
awesome
#
KevinMarks_
html5lib I think
#
kylewm
huh, I wonder why it's so much slower
#
KevinMarks_
hm, I think I did require lxlml too
#
KevinMarks_
didn't seem to make a difference
snarfed joined the channel
#
KevinMarks_
though not sure which it is using
#
KevinMarks_
how do i ask it?
#
Loqi
[mention] http://blog.henrikcarlsson.se/2015/08/what-should-i-do-how-should-i-prioritize-my-free-time/ posted 'I’m having a problem. I currently feel like I need to ”accomplish” something, and that I haven’t done that in quite a while. In reality th...' linking to http://indiewebcamp.com/backfeed
#
Loqi
you're welcome
#
KevinMarks_
and if I force repoll in woodwind they come through
eschnou joined the channel
scor and wolftune joined the channel
#
KevinMarks_
thre isn't much formatting there
#
aaronpk
is it just collapsing whitespace?
#
aaronpk
yeah just add "white-space: pre-wrap" and it looks great
#
Jeena
I never quite understood the prefixes in microformats
#
Jeena
what does this do? <p class="u-comment">foo .</p>
#
aaronpk
Jeena: they are indicators to the parser
#
Jeena
the ruby parser crashes there
#
Jeena
and tells me that "foo ." is not a url
#
aaronpk
yeah the ruby parser doesn't handle those properly
#
aaronpk
<p class="u-comment h-cite">...</p> means that the value of "comment" will come from the URL of the h-cite object
#
Jeena
ah ok
#
kylewm
aaronpk: I can add white-space: pre-wrap to that one, but then ben's poem with <br>'s would look weird
#
aaronpk
kylewm: oh because ben doesn't use white-space pre-wrap?
#
kylewm
right
#
KevinMarks_
does tantek pre-wrap his html then?
#
KevinMarks_
hm .h-as-note .e-content, .as-note .e-content { white-space:pre-wrap; }
#
KevinMarks_
seems like something worth passing along in the post markup?
#
Jeena
aaronpk, your only avatar on your page is this small one? https://aaronparecki.com/images/aaronpk.png
#
aaronpk
i have more, not sure if I link to them from anywhere
#
Jeena
it is the same size as I use for mentions of others on my website but in the future I kind of would like a design with bigger ones
#
Jeena
48x48 is so 2002!
#
Jeena
I'm writing something to populate my database which I later on will use for autocompletion for taging
tvn joined the channel
#
Jeena
hm how would I find a h-card here? http://www.kevinmarks.com/ there are ones but only within h-feed which aren't really what I'm looking for
#
KevinMarks_
hm, did I mess it up?
#
Jeena
I'm not sure, you have a h-card for the feed there
#
KevinMarks_
that page has had an hcard since forever
#
KevinMarks_
so it may be a bit retro
#
Jeena
but I can't see a h-card outside of the h-feed
#
ben_thatmustbeme
what is representative h-card
#
Loqi
The representative h-card for a page is an h-card on that page that represents that page, if any, as not all pages are about a person or organization, a page might not have a representative h-card https://indiewebcamp.com/representative_h-card
#
KevinMarks_
that's OK isn't it?
#
KevinMarks_
I thought I followed representative h-card
#
ben_thatmustbeme
not sure, haven't looked at it, i was just pointing the discussion that way
#
Jeena
it could be that I just don't know how to get the representative h-card
#
ben_thatmustbeme
thats what i was just running, unmung on it
#
ben_thatmustbeme
it looks good from here
#
ben_thatmustbeme
Jeena, look at that page, it has a pretty good list of steps
#
KevinMarks_
if it has a url that is the same page in it, that's a good clue ;)
#
Jeena
hm I don't have a url on my page
#
KevinMarks_
I think I just look fro h-card
#
Jeena
but there could be different h-cards
#
KevinMarks_
my algorthm is crude at the moment
#
Jeena
tantek has h-cards of the comments on his homepage
#
Jeena
which page should I look at, ben_thatmustbeme?
#
gRegorLove
ben_thatmustbeme: I adapted the WordPress autop function to add <p> and <br> automatically when I post notes. Works pretty well. https://core.trac.wordpress.org/browser/trunk/src/wp-includes/formatting.php#L456
#
ben_thatmustbeme
whenever i get around to that identity index service, I'm going to try and get a clean lib for h-card identity
#
kylewm
Jeena: authorship is the best description of the algorithm iirc
#
Jeena
that fails on step 1.
#
Jeena
;) there is no h-entry
#
ben_thatmustbeme
oh yeah, that was the page i was thinking of
#
kylewm
that is... a good point
#
ben_thatmustbeme
it should say h-*
#
gRegorLove
authorship for an h-feed is different, I think?
#
Jeena
I just want to have the authorship of the domain
#
ben_thatmustbeme
beat me to it
KartikPrabhu joined the channel
#
Jeena
ah thanks, ben_thatmustbeme
#
ben_thatmustbeme
my plan is to go with top level h-*. are any h-card? if so, use first. if not are there h-feed or h-entry... if so, check for author h-card. if not.... i guess check all h-cards
#
ben_thatmustbeme
if none... explode
#
gRegorLove
Plan for . . . a nickname cache? Or just general authorship parsing?
fourtonfish joined the channel
#
Jeena
ok it is not pretty but it seems to work with KevinMarks website now
#
Jeena
card = collection.card || collection.try(:feed).try(:author).try(:format) || collection.try(:entry).try(:author).try(:format)
#
Jeena
gRegorLove, I am doing a nickname cache
wolftune joined the channel
#
Jeena
is there something like this http://indiewebcamp.com/irc-people but with the domains instead of links to wiki users?
#
ben_thatmustbeme
no, i just parsed all that out
#
ben_thatmustbeme
to grab urls only
#
ben_thatmustbeme
if you want i can get that to you when i get home
#
ben_thatmustbeme
even if you are trying to beat me to the nickname cache :P
#
ben_thatmustbeme
thatmustbe.us is a pretty good URL for it though
KartikPrabhu and friedcell joined the channel
#
Jeena
Hm, perhaps I could do some statistics on how many have a h-card on their website, etc.
KartikPrabhu joined the channel
#
gRegorLove
and snarfed has a wishlist post on his site somewhere
#
snarfed
totally! oh man i'd still love that. linked from https://snarfed.org/indie-stats
#
snarfed
the project is a good start, but doesn't yet do most of what i describe
TinoKremer and shiflett joined the channel
#
kylewm
last time i looked at indiestats it said my site didn't have an h-card :(
snarfed1 joined the channel
#
snarfed1
kylewm: yeah i've never had much luck with it either :/
#
Jeena
kylewm I guess they implemented it like I did first, just checking for a h-card at the top level, not within a h-feed like on your website
#
KevinMarks_
well, at some point my site became more feed than h-card so I swapped
#
KevinMarks_
it looked liek this for ages
#
Jeena
same for snarfed there is also a h-feed on <body> so it would not have been found by my first attempt
#
snarfed
Jeena: just fyi my site is pretty typical wordpress, so you'll see plenty of others like it
#
Jeena
yeah, I fixed my code, but I guess indie-stats is doing something like I did and that is why it doesn't find your guys h-cards
#
snarfed
ah thx
#
gRegorLove
I didn't know about indie-stats.com
#
gRegorLove
Authentication failed after returning from indieauth.
#
Jeena
same here
#
snarfed
last time we talked about it w/bear, he said he's been busy with his real job, but he tried to encourage a few people from IWC (i think) who made noises about contributing
tvn joined the channel
#
KevinMarks_
there was a point when I had google friend connect on my site too
#
kylewm
I think maybe there is some ucommitted code hanging out on indie-stats.com
#
kylewm
I can't find the count_hcards module/method
#
Jeena
hehe I've been looking into that too just now and I can't find it either
TinoKremer_ joined the channel
#
bear
oh poo - I was supposed to do that this pas weekend
#
bear
does that now
#
Jeena
bear how do you determin if there is a h-card on the page or not?
#
bear
jenna - you will find the count_hcards.py in the repo now
#
kylewm
bear++
#
Loqi
bear has 69 karma
#
bear
apologies for the delay
#
Jeena
ah you have a bug there ;)
#
Jeena
the same one which I had today
#
bear
and yes, i'm open/willing to make any changes
#
bear
Jeena - what is your github id - i'll add you to the contribs list
#
Jeena
I'm not sure I will be able to fix it, and if so I can just send a pull request
#
Jeena
but I think if I explain than it will be easy to fix for you
#
bear
Jeena++
#
Loqi
Jeena has 16 karma
#
Jeena
in https://github.com/bear/indie-stats/blob/master/data/scripts/count_hcards.py#L28-L29 you're just checking if there is a hcard as a child of items
#
Jeena
but a h-card can be a child of a child of items
#
Jeena
like in a h-feed or a h-entry
#
Jeena
and many have it like that
j12t joined the channel
snarfed joined the channel
#
bear
so your saying I have to walk the entire tree for anything that has an h-card type?
#
bear
but this stat is supposed to be the h-card *of* the domain - not all h-chards
#
Jeena
yes, that is how it is defined
#
Jeena
at leas how I understand the text
#
bear
k, at first i can make sure I scan all of the children of the items entry
#
bear
k, i'll take a pass at that tonight
lukebrooker joined the channel
#
Jeena
my implementation ended up being quite easy to do (I'm using the ruby parser): card = collection.card || collection.try(:feed).try(:author).try(:format) || collection.try(:entry).try(:author).try(:format)
snarfed joined the channel
#
bear
i'll have to explore the latest mf2util code and see if they have any new helper functions
lewisnyman joined the channel
#
Loqi
[mention] http://stream.boffosocko.com/2015/raumzeit77-wordpress-has-some-pretty-great-resources-for-implementing-indieweb commented '@raumzeit77 http://indiewebcamp.com/wordpress has some pretty great resources for implementing IndieWeb on WordPress. If it helps, try f...' on a post that linked to http://indiewebcamp.com/wordpress
raumzeit and KartikPrabhu joined the channel
#
raumzeit
hi people
#
Jeena
hi raumzeit, we've just been reading the issue on github of yours ;)
#
raumzeit
haha, nice
#
raumzeit
and i was like: lets try this irc zhing
#
Jeena
it's oldschool man
TinoKremer joined the channel
#
raumzeit
jep, that how it looks like
lukebrooker joined the channel
#
raumzeit
using lime for the moment, but maybe ill invest the 5 bucks
#
Jeena
ah but lime is nice too
#
Jeena
I thought you were using some webinterface or something
scor joined the channel
#
aaronpk
there's always our Slack channel too :)
#
raumzeit
i dont have a clue what slack is ^^
wolftune joined the channel
#
aaronpk
that's fine too :)