#indiewebcamp 2014-08-03

2014-08-03 UTC
wolftune and scor joined the channel
#
@maniaravings
@schnarfed Hello Ryan. I am just wading into Webmentions & have little clue even of there is an error. Nevertheless thankyou for the headsup
(twitter.com/_/status/495740060311257089)
chrissaad, snarfed and acegiak joined the channel
#
Loqi
acegiak: tantek left you a message 1 week ago: could you take a look at https://indiewebcamp.com/in-reply-to and let me know if it helps clarify rel-in-reply-to vs. u-in-reply-to vs. p-in-reply-to usage and consumption?
techlifeweb joined the channel
#
techlifeweb
got IndieAuth working. Small steps.
#
JonathanNeal
techlifeweb: well done!
#
acegiak
does anyone have an example of how I should be doing h-cite and p-in-reply-to with reply context? https://indiewebcamp.com/in-reply-to https://indiewebcamp.com/in-reply-to kind of skirts around it
#
acegiak
oh wait, the reply context page s a bit clearer
techlifeweb and snarfed joined the channel
#
techlifeweb
JonathanNeal: thanks!
#
KartikPrabhu
acegiak: use <div class="p-in-reply-to h-cite>Reply context here with a u-url if needed</div>
#
JonathanNeal
I like that indiewebcamp prides itself on real world examples. I also wish there was always a bare bones demonstration.
#
KartikPrabhu
JonathanNeal: was fragmention.js updated to fix the n-th instance thingie?
#
JonathanNeal
when i get jonneal going, i must make bare bones versions to share.
#
JonathanNeal
KartikPrabhu: n-th instance is very tricky, did we talk about that?
#
KartikPrabhu
hmm not that I recall
#
KartikPrabhu
what is the issue?
#
JonathanNeal
Let me jot it down in a notepad, get it clear, then post it here.
#
KartikPrabhu
cool. would be good to sort this out before finalizing my fragmention-getter UI
#
JonathanNeal
First, fragmention.js only searches presentional text, i.e. innerText, i.e. CSS visible content. It does not search all text in the DOM tree.
#
KartikPrabhu
really? so if I display things when viewport is small it will give diff. result?
#
JonathanNeal
Precisely. If you can’t select the text, it’s not fragmention-able.
#
JonathanNeal
Well, why would you want to link to something that isn’t really there?
#
KartikPrabhu
JonathanNeal: I could choose to do display=none depending on the viewport size for example. then the fragmentioned link will break depending on the browser width of the person I send it to.
#
JonathanNeal
Yes. What behavior would you expect otherwise?
#
KartikPrabhu
fragmentioned URLs would be very unreliable
#
KartikPrabhu
JonathanNeal: yeah... this is hard to fix but important
#
JonathanNeal
I don’t know what other kind of behavior you would expect, so I don’t know what to fix about it.
#
JonathanNeal
It made sense to me that accessible text = fragmention-able text.
#
KartikPrabhu
what happens with usual fragment links if the element is hidden?
#
JonathanNeal
define usual
#
JonathanNeal
like, ids?
#
KartikPrabhu
here is my use case: I am on a desktop and I see some text and send a fragmentioned link to you. You are on mobile where that particular phrase happens to be hidden, then my link will fail
#
KartikPrabhu
with me on desktop I have no way of knowing that the link will fail for you
#
JonathanNeal
that happens regardless of anything we’ve discussed yet.
#
JonathanNeal
If I decide to redirect all IE7 users off a page, your link fails then, to.
#
KartikPrabhu
yeah but redirect = going to another URL. but this is the same URL that fails depending on the browser size
#
KartikPrabhu
I'd like more people to chip in on this.
#
JonathanNeal
I’m not sure hiding text from a mobile device is a practice that should ever be recommended for non-app content.
#
KartikPrabhu
I agree. but linking should not depend on that i think... maybe open a github issue and ask people's thoughts on whether/how to fix this?
#
JonathanNeal
I’m not convinced this is a use case that should be considered, because it’s a deliberate act by the author or publisher to remove the text from Google Search, ATs, and eyeballs.
#
KartikPrabhu
hmmm possibly
#
KartikPrabhu
ok was there a Second?
#
acegiak
kartikprabhu: ok looks like im doing things right
#
KartikPrabhu
acegiak: URL... if you'd like me to confirm :)
#
acegiak
acegiak.net
#
KartikPrabhu
also testing with phpmf2 should be helpful
#
JonathanNeal
KartikPrabhu: Yes, it is extremely difficult to determine the order of the common ancestor of searchable text.
#
JonathanNeal
Let us consider this example, <p><span>h</span>ello <strong>hello</strong> hello</p> = [p, strong, p]
#
KartikPrabhu
acegiak: you might want to use e-content rather than p-content. e-* also parses the included HTML for others to use if need be
#
acegiak
ah, cool!
#
KartikPrabhu
JonathanNeal: the issue is looking for hello?
#
JonathanNeal
fragmention works by checking the innerText of a node, counting the number of matches, and then subtracting from that number each time a child node has innerText with a match.
#
acegiak
apparently my multiverb posts are confusing barnaby's interpereter
#
JonathanNeal
Because it works this way, I can’t determine the order of multiple matches with one commonAncestor very well. If I sorted them by order, I would get [p, p, strong] instead of [p, strong, p]
#
KartikPrabhu
acegiak: yeah I don't think many people parse multiverb responses yet. I have a priority order for verbs
#
JonathanNeal
The issue is how one searches for text and determines a match.
#
KartikPrabhu
JonathanNeal: gotcha
#
acegiak
KartikPrabhu: oh that's a good solution
#
KartikPrabhu
yeah this one is strange too
#
KartikPrabhu
acegiak: reply > repost > like > mention
#
KartikPrabhu
JonathanNeal: this one really is an issue with how to correctly parse and find parent element of innerText. definitely open an issue with this example. I might try to tackle this sometime
#
acegiak
kartikprabhu: do you have a unified articles and notes feed? rss or mf2 works for me
#
KartikPrabhu
acegiak: unfortunately not. articles and notes are separate for now due to my database stuff :(
#
KartikPrabhu
acegiak: also I haven't yet gotten a large demand for notes feed, it definitely exists as mf2 h-feed though
#
acegiak
that's a pretty common divide. i dont have that divide and now im trying to work out how to make notes(asides) not push articles off the front page
#
KartikPrabhu
yeah that was a problem too. Notes being more frequent tend to hijack the feed
#
JonathanNeal
KartikPrabhu: I am going to try somethign with getSelection.
#
KartikPrabhu
JonathanNeal: this is for returning a fragmention when reader selects some text?
#
acegiak
im trying to see if i can make wordpress have X latest articles always display at the top of the feed
#
acegiak
all the posts are timestamped so anyone's feed reader should be able to work out how to display in actual chronological order
#
KartikPrabhu
acegiak: yeah feed readers should be fine. I haven't been able to figure how to have a mixed stream on the site itsel
#
acegiak
yeah if you've got to merge from two datasets it's tricky
emmak joined the channel
#
KartikPrabhu
acegiak: even if you have one big dataset, it would be hard to decide how to give articles more importance on the timeline
#
acegiak
yeah i still havent worked out how i wabt to do it
#
KartikPrabhu
acegiak: if you figure out a solution let me know. I'm interested in this timeline issue too
#
KartikPrabhu
bear: do you think it is correct/reasonable to get mention links only inside a h-entry for ronkyuu? What if the URL has no mf2 markup?
krendil and Pierre-O joined the channel
#
KartikPrabhu
bear: updated ronkyuu let me know if something is wrong
wolftune and tantek joined the channel
#
@pierreozoux
@schnarfed @maniaravings Yes, working again. But still have an issue, it is saying "No webmention support", but, I have one.. Do you know?
(twitter.com/_/status/495783505490890752)
pbeaulieu and willnorris joined the channel
#
GWG
Evening
#
acegiak
GWG: morning
#
GWG
acegiak: What's up? Haven't seen you in a while.
#
acegiak
I'm pretty busy with a studying a small business management course
#
acegiak
but I came on today because I noticed a post of minen got interpereted weirdly by barnaby's site
#
GWG
Oh?
#
acegiak
cause it's a multiverb post it only interperets one of the verbs
#
GWG
Well, I know you and I had that discussion
#
JonathanNeal
KartikPrabhu: so far no success on the javascript range solution.
#
GWG
acegiak: I need to get back to working on that plugin.
#
acegiak
GWG: same
#
GWG
Well, I stopped to work on that theme of mine, and have been a bit occupied
#
KartikPrabhu
JonathanNeal: that's no good
#
JonathanNeal
still trying
#
acegiak
GWG: your theme is pretty rad
#
GWG
acegiak: The new one or the old one?
#
acegiak
whatever your site is running at the moment
#
GWG
Yes.
#
GWG
I've been rewriting it with a better backend
#
GWG
How does it look?
#
acegiak
the dark grey reply contexts need to be less heavy? looks good though
#
GWG
acegiak: The styling for those comes from the plugin.
#
acegiak
yeah, that makes sense
#
GWG
I can fiddle with that.
#
GWG
But, to deploy it, I need an h-card widget
#
GWG
I've never written a widget
#
GWG
acegiak: One of the things I started to do was better design the theme for greater flexibility.
#
GWG
The h-card on the current theme is a hard-coded placeholder I meant to fix.
#
@kevinmarks
"@sarahmei: it must be 1999 again, because I'm spending my saturday night updating my homepage and drinking beer" #indieweb
(twitter.com/_/status/495808936042569728)
#
@Nyssen11
RT @gigaom: Startup @SandstormIO wants to make decentralized hosting of indieweb apps viable, thanks to a personalized cloud. http://t.co/c…
(twitter.com/_/status/495813451517034497)
#
@quanghoc
Yay!! @kevinmarks @sarahmei it must be 1999 again, because I'm spending my saturday night updating my homepage and drinking beer #indieweb
(twitter.com/_/status/495821477095018498)
Loqi, chrissaad, Acidnerd, wolftune and tantek joined the channel
#
tantek
good morning #indiewebcamp!
#
bret
im attending http://testthewebforward.org/ this morning. :)
#
bret
they need CSP tests
#
tantek
bret is that in Portland
#
bret
yeah
#
tantek
how many there have their own website? have you been asking around?
jonnybarnes joined the channel
#
bret
have not asked yet still just getting started
#
tantek
see if you can find more indieweb folks!
#
bret
always looking :)
jschweinsberg, pauloppenheim, jonnybarnes, j12t and paulcp joined the channel
#
techlifeweb
Deciding on a theme for WP. Considering Sempress based on reading the IndieWebCamp wiki. Anyone have one they like better or are working on one that they'd like to share?
#
GWG
techlifeweb: I'm working on one
#
lewiscowper
Evening all. :)
#
techlifeweb
GWG: I think I saw a link to your test site yesteday. Looks very nice.
#
techlifeweb
Hi lewiscowper
awolf joined the channel
#
GWG
techlifeweb: I need to write on thing before deployment
#
GWG
An h-card widget
snarfed joined the channel
#
techlifeweb
GWG: Nice. I'll keep an eye on your progress.
#
@kevinmarks
@xmlgrrl @OhMeadhbh @izs this is why I like IndieAuth and the redundant array of silo logins it uses
(twitter.com/_/status/496004904398635008)
#
@xmlgrrl
@kevinmarks @ohmeadhbh @izs Interesting. The keybase.io people should get together w/ @IndieWebCamp for auth UX on top of encryption.
(twitter.com/_/status/496005884829376512)
#
techlifeweb
Sempress h-entry doesn't quite validate. I have categories but they are missing p-category. Seeing if I can figure out the code.
pbeaulieu joined the channel
#
@xmlgrrl
@kevinmarks @ohmeadhbh @izs @indiewebcamp @aaronpk @sandeepshetty Good to know. It's a promising time for higher-quality ID reuse for auth.
(twitter.com/_/status/496010684480495616)
Acidnerd, eschnou, pfefferle, Pierre-O, ShaneHudson and krendil joined the channel
pbeaulieu and indie-visitor joined the channel
#
Loqi
Welcome, indie-visitor! Set your nickname by typing /nick yourname
Pierre-O joined the channel
#
KartikPrabhu
welcome ella
#
ella
Hey, there. I'm always instantly disoriented in IRC, eheh. I've been back and forth with NickServ but apparently I was able to change nick. Anyway...
#
ella
I've been experimenting with a couple of the wordpress POSSE plugins and I'm coming up against a bit of a road block, I was wondering if anyone here would be able to weigh in.
#
KartikPrabhu
ella: hmm there are a lot of wordpress users here. I'm not one of them though. You should ask away and people will reply (even if not now)
#
KartikPrabhu
or I can try :)
#
ella
I initially installed Social, and really liked the way the comment integration/syndication worked but the post publish isn't very robust. I tried NextScripts and really like the flexibility of the posts (especially being able to post an image with a comment. The problem here is that it'll just pull in comments made on Facebook and drop them into my wordpress comment feed. I can't respond to them, or at least this seems to be the ca
LCubed joined the channel
#
KartikPrabhu
ella: your message seems to have hit the IRC char limit wall
#
ella
I feel like I'm missing something obvious. Unfortunately, I can't use both Social and NextScripts in tandem because Social doesn't recognize the NextScripts syndicated post. When I make a comment on a post I've syndicated via NextScripts it just generates a new post to my wall instead of commenting on the NextScripts generated post.
#
KartikPrabhu
oh this sounds way out of my wordpress depth... GWG, snarfed you guys have experience with Social and NextScripts ^^ ?
#
snarfed
hi ella
#
snarfed
they're both good, but you're right, they're not designed to interoperate
#
ella
Ah, okay. I didn't realize there was a char limit, sorry about that.
#
snarfed
re nextscripts and responding to comments from FB, you're right. your best bet is to comment on facebook, and then nextscripts will pull back that comment too
#
ella
Hm, that's too bad. Is there something else I could/should be using that will allow me to use NextScripts but bring the conversation from around the web into the WP comments string?
#
ella
Basically, I'd really like the functionality of the comment integration of Social and the posting ability of NextScripts. I don't mind if I need to achieve this some other way, if there's some other way out there I'm missing.
#
snarfed
got it. you could maybe use nextscripts + http://brid.gy/ instead of nextscripts + social
#
snarfed
you need the webmention plugin(s) for brid.gy to work, if you don't already have them
#
ella
I feel lost at how brid.gy works. I'm signed up for it, and it says it's going to do all of these things. I do have webmentions and semantic-pingbacks installed (separately, not through the indieweb plugin). I must be missing something.
#
snarfed
no, it's bridgy's fault for not being clear enough then
#
snarfed
so you get comments, likes, etc on facebook, and bridgy doesn't send them back to you?
#
ella
yeah, it's finding them https://www.brid.gy/facebook/17212441 but
#
ella
yes
#
snarfed
ok. looking at your twitter account, https://www.brid.gy/twitter/EllaDurham , it is successfully sending things back
#
ella
it seems like there should be some other step here to pull them into WP?
#
snarfed
i suspect you have many plugins trying to do the same thing, so they're conflicting with each other
#
snarfed
either nextscripts or social may be taking over your comments display, so the comments bridgy sent back aren't showing up
#
ella
Ahahahah, I feel like an idiot. It just seemed too automagical
#
Loqi
ahahaha
#
KartikPrabhu
be nice Loqi!
#
Loqi
yeah!
#
ella
Ah, okay, so the only thing here is that I can't comment on Facebook/Twitter from the WP comment box any longer?
#
ella
so, yeah, brid.gy is working http://ella.io/b/1C this post is pulling in all of the social convos not that I've disabled Social
#
snarfed
ok, good
#
ella
I guess all that means is that I'll have to continue social conversations on the respective silos but it'll all feed back in anyway so I guess that's not a huge deal. I did like being able to comment on FB from WP, but not a deal breaker.
#
ella
Thank you for taking time out of your afternoon to help me, ehehe. I'm glad I could at least provide a chuckle.
#
snarfed
ella: np! if you turn on "Show Avatars" on the Settings => Discussion page in your admin console, you'll also see those social comments' profile pictures
#
snarfed
(the ones from bridgy)
#
ella
awesome, thanks!
Pierre-O1, pauloppenheim, the_merlin, wolftune, XgF, lukebrooker and bnvk joined the channel
#
KartikPrabhu
any python folks around? have questions about setup.py and requirements
#
bear
waves
#
KartikPrabhu
bear: so I want to put github repos in my requirements.txt, but it seems that setup.py needs the requirements in the pipy format... is that correct?
#
bear
correct
#
KartikPrabhu
so no way to release my library to have the github repo as requirements?
#
bear
I am looking up the syntax...
#
bear
try that - since setup.py is using the same core code that pip does (IIRC) - it may work
#
KartikPrabhu
yeah that works in requirements.py but if someone tries to pip install from my repo it will use setup.py right
#
KartikPrabhu
bear: you mean just put in setup.py and try it?
#
KartikPrabhu
ok attempting
#
bear
because pip will download the package and run setup.py and follow the install_requires
#
KartikPrabhu
bear: cool thanks. will report with results of experiment
#
bear
also, you should make sure your setup.py is "wheel friendly"
#
bear
wheel is the new pip (which was the new easy_install (which was the new source tarball))
#
KartikPrabhu
bear: another motivation to separate Indieauth from Ronkyuu is the pyOpenSSL dependency which is a pain to install on a virtual server
#
KartikPrabhu
well minor pain
#
bear
yea - sorry about that ;)
#
bear
go ahead and remove it
#
KartikPrabhu
i figured it out... involves making a new local tmp directory but otherwise it is fine :)
#
bear
i've made a copy and will be creating ninka soon
#
KartikPrabhu
bear: yeah that does not work! gives "error in connection setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers"
#
bear
then you will need to package often :/
#
bear
your trying to use your git repo as the source of a python package - right?
#
bear
yea, so you will need to push pypi packages instead
#
bear
or include notes on how to do a local dev install of a git dir
#
KartikPrabhu
so include installations as 'clone this repo and then use requirements.txt while installing'
#
bear
right
#
KartikPrabhu
ok let me try that in my virtualenv to see if it goes smoothly
tantek joined the channel
#
KartikPrabhu
blergh this is complicated
Pierre-O joined the channel