#dev 2016-08-17

2016-08-17 UTC
rMdes, mblaney and rMdes_ joined the channel
#
unicyclic.com mal
edited /spam (+139) "Add Indieweb examples section"
(view diff)
#
aaronpk
oops. i really need a better mechanism of rolling out updtes to my site
#
aaronparecki.com
edited /search (+233) "/* IndieWeb Examples */ search is back!"
(view diff)
rMdes and rMdes_ joined the channel
#
AngeloGladding
!tell KevinMarks mf2util isn't considering your representative h-card because it's bundled with p-author -- see https://github.com/kylewm/mf2util/blob/master/mf2util.py#L91 -- who should patch? i want to get you in on the crawl :)
#
Loqi
Ok, I'll tell them that when I see them next
KevinMarks, AngeloGladding and KevinMarks_ joined the channel
#
rascul
so this https page, is it really that important to have a section for let's encrypt?
#
rascul
i really like them though, but we don't seem to have sections for any other ca
#
aaronpk
oh hm, i see
#
aaronpk
yeah that seems odd now
#
aaronpk
it's not a very good tutorial
#
rascul
it's also out of date
#
aaronpk
i'd say just delete the whole section. letsencrypt is referenced elsewhere in the page still
#
rascul
a separate let's encrypt page i think would be fine but i'm not really interested in making it right now
#
sknebel
Let's encrypt should be prominently featured, but it's better to link to official docs
#
rascul
yes i agree, it should be prominently featured
#
aaronpk
there is a letsencrypt page http://indieweb.org/letsencrypt
#
rascul
ahh ok
#
aaronpk
just link to that somewhere from /https?
#
rascul
that section there just doesn't seem to do it justice
#
rascul
i'll likely be adding to /letsencrypt in due time
#
rascul
i'll just go ahead and delete the section from https for now then
#
aaronpk
👍
#
rascul
some more could potentially be added to it in the ca list though
#
rascul
i'll link to the page there also
#
rascul
aaronpk do you have the cert stuff automated in some manner? if so, that might be worth adding to the letsencrypt page
#
aaronpk
a cron job
#
rascul
if nothing else than just what you have in crontab
#
rascul.xyz
edited /HTTPS () "(-1201) the let's encrypt section is outdated and let's encrypt has its own page"
(view diff)
#
aaronparecki.com
edited /letsencrypt (+262) "there are some benefits of short renewal intervals"
(view diff)
#
aaronpk
oh man that comic is great
#
rascul
hehe yeah
#
rascul.xyz
edited /HTTPS (-218) "/* Obtain */ change let's encrypt description and link to the wiki page"
(view diff)
#
rascul
check that
#
aaronpk
some of that sounds like it's from their marketing copy
#
rascul
well i did copy/paste a line from https://letsencrypt.org/about/
#
aaronpk
well that explains it :)
#
rascul
i was trying to make it seem like the best option and those lines seemed right to me
#
aaronparecki.com
edited /letsencrypt (+810) "add cron example"
(view diff)
#
rascul
might be worth noting that let's encrypt appears to be the only ca we have a page for
#
rascul
not noting in the page i mean, just a nice personal note
#
rascul.xyz
edited /letsencrypt (+68) "/* IndieWeb Examples */ add rascul.xyz"
(view diff)
#
aaronpk
what is startssl?
#
Loqi
StartSSL is a service that provides introductory SSL certificates for no cost, see startssl.com https://indieweb.org/StartSSL
#
aaronpk
that's the other one i use
#
mblaney
bleh just paid for a certificate out of fear of changing anything on a particular server :/
rMdes_ and AngeloGladding joined the channel
#
AngeloGladding
not sure if the last message went through: rascul fyi if you add a rel=me to your class=u-url it becomes a http://indieweb.org/representative_h-card
gRegorLove joined the channel
#
rascul
oh you're looking at what i have up on rascul.xyz?
#
rascul
AngeloGladding done
#
rascul
so i have ra·scul in my h-card, i would like for it to be p-nickname, but i want p-nickname to be rascul and not ra·scul
#
rascul
oh i guess i could add something with p-nickname with visibility: hidden
#
rascul
why do i have these itemprops in my tags? i just ripped this out of an old page, i don't know why the itemprops are there
#
rascul
oh, because schema.org apparently
#
AngeloGladding
yeah who's team are you on
#
AngeloGladding
:)
#
AngeloGladding
thnx for the change.
#
AngeloGladding
i went through the indieweb.org wiki user list and added everyone with a representative h-card to my list
#
AngeloGladding
you're #20
#
AngeloGladding
my crawler will index your page within the half hour
#
rascul
what do you mean who's team am i on?
#
AngeloGladding
microformats and schema.org are competing standards i believe
#
AngeloGladding
definitely just kidding
#
rascul
oh it's display: none i wanted, not visibility: hidden
#
rascul
oh i see
#
rascul
i think i had schema.org stuff because googles wanted it at one time
chrisaldrich1 joined the channel
#
rascul
i don't really remember the reason, but that might be it
#
AngeloGladding
yeah it's google's baby
#
rascul
i just copy/pasted that h-card from what i had before on my site
#
rascul
so that i would have "something"
#
AngeloGladding
simplest source code i've read yet
#
AngeloGladding
and i've had my nose in some wordpress muck as of late
#
AngeloGladding
so refreshing
#
rascul
i am very much not a fan of wordpress
#
AngeloGladding
yeah a <span style="display: none;">&middot;</span> will work
#
AngeloGladding
or wait..
#
AngeloGladding
no
#
GWG
I am a fan of WordPress.
#
AngeloGladding
sorry
#
AngeloGladding
haha
#
Loqi
hehe
#
rascul
GWG to each their own
#
AngeloGladding
i'm going to learn to abuse those alerts of yours
#
GWG
AngeloGladding: The WordPress ones?
#
AngeloGladding
yes
#
GWG
I was here anyway
#
AngeloGladding
oh ok
#
rascul
AngeloGladding check it now
#
Loqi
Ray Schulz rascul
#
AngeloGladding
i was actually impressed w/ your and Chris' responsiveness to the mention
#
GWG
AngeloGladding: We are trying to get more interest.
#
rascul
Loqi you didn't really need to use three lines for that
#
AngeloGladding
rascul i was going to suggest a different approach
#
rascul
maybe i did it right though because Loqi said rascul and not ra&middot;scul
#
AngeloGladding
w/ stylesheets turned off (as i do...) you have redundancy
#
AngeloGladding
i have a solution
#
AngeloGladding
add a <span class=dot>&middot;</span>
#
AngeloGladding
sorry
#
AngeloGladding
just the naked tag <span class=dot></span>
#
AngeloGladding
then add css: .dot:after { content: "-"; }
#
rascul
oh that's a good idea
#
AngeloGladding
you can look up how to add unicode to css
#
AngeloGladding
some escaping involved..
#
rascul
i should be able to just do content: "&middot;" though, right?
#
AngeloGladding
don't believe so
#
AngeloGladding
try it
#
gRegorLove
Loqi uses the p-name and doesn't trim new lines from it, rascul
#
rascul
gRegorLove ahh ok
#
rascul
i have the different p-name things on different lines
#
sknebel
rascul: {content: '\b7' }is middot in CSS
#
rascul
AngeloGladding no, i can't do content: "&middot;"
#
AngeloGladding
correct
#
rascul
but i can apparently do content: "·";
#
AngeloGladding
yeah as long as you serve the css correctly
#
rascul
sknebel \b7 does it, and is probably a better way than just pasting the dot
#
rascul
pushed changes
#
AngeloGladding
indeed
#
AngeloGladding
cool
#
AngeloGladding
while we're getting technical
#
rascul
thanks for the tips AngeloGladding and sknebel
#
AngeloGladding
p-job-title or p-role may be more appropriate than p-note for your, ahem, title
#
rascul
oh, sure
#
AngeloGladding
and yeah no prob
#
rascul
that one done
#
rascul
funny i had the jobtitle itemprop but the p-note
#
AngeloGladding
cool cool cool
#
rascul
so i guess the icons don't work without css but they're not really important
#
AngeloGladding
there's a page on the font pack's site about the accessibility issue
#
rascul
do you have a link?
#
rascul
i'm hoping that if one stares at my h-card for a minute then one would see where rascul comes from
#
AngeloGladding
put the content inside a <span> inside the <i> and display: none span w/ "i span { display: none; }"
#
rascul
ahh yeah that makes sense
#
rascul
whoa my touchpad went super crazy for a minute
#
AngeloGladding
your machine has been compromised
#
rascul
AngeloGladding ok made them last changes
#
rascul
links gets confused about irc links though heh
#
rascul
lynx appears to get it right
#
AngeloGladding
that goes a bit deeper if you're interested
#
AngeloGladding
i'll show you the output of my crawler tomorrowish
#
rascul
oh well i put the span inside the i, but oh well
#
rascul
w3c validator says it's fine
#
rascul
although the validator can't connect to my site, had to do direct input
#
rascul
probably it doesn't support tls1.2 or modern ciphers
#
AngeloGladding
great minimalist example
#
rascul
in due time there will be more than just an h-card at rascul.xyz
#
AngeloGladding
i hope you continue to add indieweb components in their simplest, purist form
#
rascul
this was mostly so there's "something" and so i can login to wiki
#
rascul
i prefer to do everything in the simplest form that makes sense
#
AngeloGladding
yeah there's a great divide between your camp and the wordpress folks
#
AngeloGladding
i'm desperately trying to strike a balance with my canopy
#
rascul
i'm not normally a fan of dynamic sites at all
#
rascul
unless they need to be, anyway
#
AngeloGladding
bash & rust static site generators? yeah.. evident
#
AngeloGladding
i think there's some room for static dynamism w/ your approach if you think outside the box
#
rascul
i've made many web sites and they're all as static as possible
#
rascul
static sites can be dynamically generated, though
#
AngeloGladding
exactly.. and some parts more frequently than others..
#
rascul
but if the content doesn't change, i see no reason for it to be dynamically generated per request
#
rascul
of course there's ways to help that, but they're just adding complexity to complexity
#
AngeloGladding
cache all the things
#
AngeloGladding
yes.
#
AngeloGladding
i'm prepping my site to be aggressively cached.. part of the reason i have a local supervisor watching a custom built nginx
#
rascul
my old site was generated directly from a git repo, but i didn't want to implement all the git stuff in the generator this time around
#
rascul
turned out to be a lot of work with unstable libs
#
AngeloGladding
there's still downsides but solid caching will go a long way to make a heavily dynamic site match performance parity w/ a static one
#
rascul
well caching is an interesting topic
#
rascul
on linux anyway, frequently accessed files will be cached in memory already
#
AngeloGladding
you just have to instruct the web server to bake your output to file
#
AngeloGladding
which is non-trivial
#
rascul
so if you're getting a lot of hits on your static site for a number of files, linux will already have those in memory and save the disk hists
#
rascul
*hits
#
AngeloGladding
well yeah if you're static you're good
#
AngeloGladding
but my point is you can take an aggressively dynamic site and make it look very close to static
#
AngeloGladding
just takes a bit of work
#
rascul
yeah, but then you're adding complexity to complexity like i said earlier
#
AngeloGladding
that's why someone like me figures it all out *cleanly* and bakes it into the platform
#
AngeloGladding
that's the idea at least
#
AngeloGladding
don't leave caching as an afterthought
#
AngeloGladding
my goal is to keep the entire platform under 10k sloc python
#
rascul
i like dynamically generated static sites whenever i can
#
AngeloGladding
django and wordpress are up over 250k
#
rascul
instead of regular dynamic web server -> app -> db and back
#
AngeloGladding
oh yeah i mean i've been there.. i definitely know what you're talking about.. but the freedom one has to hit refresh and get new content
#
rascul
i believe wordpress can do that though
#
rascul
if the content is actually dynamic, then a static page for it doesn't really make sense
#
AngeloGladding
like an administration panel.. that's an obvious use case for dynamic
#
rascul
a cached page might though, if the cache can be invalidated in a timely manner
#
AngeloGladding
but a blog post can and should be set to cache
#
AngeloGladding
yeah like i said i haven't implemented it yet but i look forward to using etag+last-modified
#
rascul
i made a site awhile back for the mud game i play, it was for trading characters, the only dynamic page on it was the listing of characters available
#
AngeloGladding
the tools are there
#
rascul
all the rest were generated and nginx served them directly
#
AngeloGladding
hmm.. then there's `sendfile`
#
rascul
we're doing it again
#
AngeloGladding
familiar?
#
rascul
i'm getting drunk and we're flooding the channel with drivel
#
AngeloGladding
hah
#
AngeloGladding
yes
#
rascul
just like last night
#
AngeloGladding
on that note
#
AngeloGladding
the chatter is not entirely in vain
#
rascul
i was going to do some more wiki editing but now i got drunk and i don't trust myself much with the wiki right now
#
AngeloGladding
i look forward to adverstising the simplicity of your site through my crawler's public interface
#
mblaney
expire all the caches
#
AngeloGladding
so keep on doing the static thing
#
mblaney
yessssssss
#
AngeloGladding
damn we were just about wrapped up
#
AngeloGladding
:)
#
mblaney
in Australia we're just getting started.
#
mblaney
s/we're/me
#
rascul
btw gitit is a fun wiki if you want a personal wiki and use git a lot http://gitit.net/
#
AngeloGladding
hello Australia
#
AngeloGladding
the wiki app ive begun work on for my platform has the simplest of features
#
AngeloGladding
a title, a body in markdown, and a hash of the two appended to the previous versions' hashes
#
AngeloGladding
a merkle tree
#
AngeloGladding
like in git
#
AngeloGladding
i'm all about reinventing wheels i suppose...
#
AngeloGladding
mblaney -- do you have an indieweb site w/ a representative hcard?
#
AngeloGladding
i'm collecting them all....
#
AngeloGladding
brb
#
mblaney
AngeloGladding: yes https://unicyclic.com/mal or just click on my name in the logs
#
mblaney
did you look at /irc-people? lots of sites with h-cards there.
#
AngeloGladding
ah i was foraging at http://indieweb.org/Special:ActiveUsers and misinterpreted your username
#
mblaney
yeah people with paths in their urls have trouble with the wiki
#
AngeloGladding
whoa that irc list has way more people..
#
AngeloGladding
are those all manual entries?
#
KevinMarks_
So why is mine failing? Because I have other h-cards?
#
Loqi
KevinMarks_: AngeloGladding left you a message 3 hours, 41 minutes ago: mf2util isn't considering your representative h-card because it's bundled with p-author -- see https://github.com/kylewm/mf2util/blob/master/mf2util.py#L91 -- who should patch? i want to get you in on the crawl :)
#
AngeloGladding
!tell KevinMarks_ yours is failing because the mf2util has been instructed to ignore an h-card that's provided in a p-author context
#
Loqi
Ok, I'll tell them that when I see them next
#
AngeloGladding
!tell KevinMarks_ i can submit a pull request for a change but I haven't researched on the wiki or asked kyle personally why he made the decision -- the cited docstring explicitly demonstrates the exclusionary approach
#
Loqi
Ok, I'll tell them that when I see them next
#
AngeloGladding
brb
#
AngeloGladding
added you to my crawl btw mblaney -- https://angelo.lahacker.net/people -- give it 30 to index
#
mblaney
AngeloGladding: yes /irc-people is all manual entries, people are encouraged to add themselves which creates the links seen in the logs.
#
rascul
AngeloGladding everyone i click on shows internal server error
#
mblaney
thanks what are you doing with the crawled data?
#
rascul.xyz
created /Caddy (+181) "init"
(view diff)
#
rascul
what is caddy?
#
Loqi
Caddy is an HTTP/2 web server, built for designers, bloggers and developers, with a simple configuration and automatic TLS https://indieweb.org/Caddy
#
rascul
i'm going to add fun things to that tomorrow
#
AngeloGladding
oops sorry
#
AngeloGladding
i'm DOING IT LIVE
#
AngeloGladding
*fixed*
#
AngeloGladding
mblaney at this point i'm indexing the indiewebsites on that list, crawling to their rel=me's and storing all parsed mf2 objects into json and storing in a database
KevinMarks joined the channel
#
AngeloGladding
now that i've added enough people i can reason about the various structures of mf2 implementations in the wild
#
AngeloGladding
the first UL is a "table of contents" for the second UL with a full presentation of the mf2 found
#
AngeloGladding
you just have an h-card
#
AngeloGladding
simple
#
AngeloGladding
click around to others and you see various nested hierarchies of h-card, h-entry, h-feed
#
AngeloGladding
very few events..
#
AngeloGladding
anyway.. once i've gotten a feel for what people are conveying and how i'll begin to add them to the various pages you see on the right -- event, location, ..
#
AngeloGladding
i'd really like to see more XFN data so that the person page will link to other person pages and .. well .. now we've got a decentralized social network
#
AngeloGladding
i'm getting 429 from youtube, 999 from linkedin and 404s from facebook
#
AngeloGladding
i'm likely going to have to add API requests to the crawler
#
AngeloGladding
not sure how far i'll be able to go but the indieweb will obviously possess no barriers
#
AngeloGladding
so .. early days .. but big plans?
#
AngeloGladding
:)
#
rascul
no more internal server errors on your /people :)
#
rascul
or i mean the links on it
#
AngeloGladding
yeah now that i've got the deploy automated and the various resources on the right added via remote git repos..
#
AngeloGladding
i need to build out a staging env
#
rascul
doesn't show my nickname though
#
AngeloGladding
and a testing architecture..
#
AngeloGladding
hmm..
#
AngeloGladding
im just dumping the data obtained from mf2py at the moment
#
AngeloGladding
you took the p-nickname out
#
AngeloGladding
and never replaced :)
#
AngeloGladding
and THAT'S why im starting out raw
#
AngeloGladding
i'm findind errors in /everyone's/ implementations
#
AngeloGladding
validate all the things
#
AngeloGladding
!
#
AngeloGladding
sorry....
#
rascul
oh i did oops
#
rascul
i'll fix that right now
#
rascul
ok fixed
#
AngeloGladding
just restarted the crawl
#
AngeloGladding
we'll see how long it takes
#
AngeloGladding
is hitting everyone's home page once every 30 minutes wrong?
#
sknebel
really shouldn't be an issue
#
sknebel
although probably overkill for many
#
AngeloGladding
i suppose i'll eventually implement cache awareness -- from the other end
#
sknebel
oh, and: great project! AngeloGladding++
#
AngeloGladding
thnx
#
rascul
30 mins should be fine
#
AngeloGladding
now loqi goes silent
#
AngeloGladding
:)
#
rascul
you could probably make it less if you wanted
#
rascul
but it's probably not necessary
#
sknebel
you could parse for feeds and PuSH hubs as well, that might be interesting data
#
AngeloGladding
rss feeds? i'd love to see all rss content implemented as h-entry
#
AngeloGladding
what do you mean by PuSH hubs?
#
rascul
i think someone made a thing for rss to h-entry
#
rascul
or something like that
#
sknebel
What is PuSH?
#
Loqi
PubSubHubbub (PuSH) is a notification-based protocol for publishing and subscribing to streams and legacy feed files in real time https://indieweb.org/PuSH
#
sknebel
rss/atom feeds, yes. a) to see how many people have them, b) if they actually work ;)
#
AngeloGladding
oh the crawl is complete
#
sknebel
(btw, feel free to add www.svenknebel.de to the list of sites you crawl if you want. I really should be working on it more ;))
#
rascul
that's not the one i remember, but it looks like it might do it
#
sknebel
there is a few
#
AngeloGladding
oh nice
#
AngeloGladding
ok
#
AngeloGladding
so its kind of like webmention
#
AngeloGladding
but more general
#
AngeloGladding
that's perfect
#
sknebel
for subscriptions, yes. push instead of pull
#
rascul
i just found it from https://indieweb.org/rss
#
AngeloGladding
how does granary differ from brid.gy?
#
AngeloGladding
i'm aware that these sites are available but as i believe aaron mentioned last HWC -- "the goal of brid.gy is to become obsolete"
#
AngeloGladding
do either of you remember technorati?
#
rascul
isn't brid.gy for making webmentions out of fb/twitter comments or something like that?
#
sknebel
I'm aware that technorati existed and screenshots seem vaguely familiar, but I couldn't tell you if I've ever used it
#
AngeloGladding
pretty sure brid.gy and granary are in the same boat.. middle-man services to facilitate indieweb sites while they independently build out similar features
#
AngeloGladding
technorati indexed blogs
#
AngeloGladding
made the blogosphere searchable
#
AngeloGladding
i'd like my canopy project to decentralize that
#
AngeloGladding
personal crawler indexes everything you care about
#
AngeloGladding
and leverages /other/ people's crawl index to enhance results beyond your scope of awareness
#
AngeloGladding
early days....
#
AngeloGladding
but i know there's a plethora of technologies to leverage
#
AngeloGladding
PuSH is great to know
#
sknebel
decentralized search is a really interesting problem. and not many projects around
#
sknebel
(YaCy and Pears are the only ones that come to mind, and the latter is really really early stages)
#
AngeloGladding
hard to go head to head with the giants
loicm_ joined the channel
#
AngeloGladding
but i see this as a unique opportunity to carve out a niche search space
#
AngeloGladding
to experiment with a lively developer community
#
AngeloGladding
interestingly enough.. snarfed of brid.gy and granary was not on the active wiki users list
#
rascul
searx is interesting but is a proxy not decentralized search
#
rascul
er, metasearch engine i guess is the right term
#
AngeloGladding
so much to read and learn
#
sknebel
activity on the wiki is last 30 days? thats pretty short
#
sknebel
esp since most article creation is via Loqi ;)
#
AngeloGladding
k now i see how that works
#
AngeloGladding
good to know
#
AngeloGladding
i'll expand the list aggressively w/ the irc-people list you gave me earlier sknebel
#
AngeloGladding
check this out
#
AngeloGladding
i don't have it complete yet
#
AngeloGladding
but the indieauth on my page
#
AngeloGladding
will do essentially the same thing that i'm doing manually
#
sknebel
mblaney suggested it ;) but yes, most people should be on irc-people
#
AngeloGladding
ah, yes
#
AngeloGladding
mblaney++ for likely doubling my crawl size
#
Loqi
mblaney has 15 karma (1 in this channel)
#
AngeloGladding
see now loqi's there for the sweet sweet karma
#
AngeloGladding
anyway..
#
AngeloGladding
when i add someone it is as if i am following them
#
AngeloGladding
when they log in to my site it is as if they are following me
#
sknebel
AngeloGladding++
#
Loqi
angelogladding has 2 karma (1 in this channel)
#
AngeloGladding
reciprocation puts the status into rel=acquaintence/friend
#
AngeloGladding
either way the graph is built out
#
AngeloGladding
thanks for that :)
#
AngeloGladding
i'm going to be incorporating my soccer mates into that list
#
AngeloGladding
none of which have a personal website
#
AngeloGladding
i'll see what kind of exposure they feel comfortable with
#
AngeloGladding
the graph will expand into convergent territory w/ walled gardens
#
AngeloGladding
because everyone is directly related to me i should be able to extract their info from fb, linkedin, et al w/o violating tos or rate limits
#
AngeloGladding
...amiright?
#
sknebel
violating ToS might be tricky ;)
#
sknebel
not sure
#
AngeloGladding
lol.. on second thought "get a lawyer"
#
sknebel
I bet many tools around here do stuff that you somehow could construe to violate ToS of various silos
#
sknebel
as long as it's small stuff it's just unlikely they'll notice or care
#
AngeloGladding
yeah they won't notice until other people begin to use my platform
#
AngeloGladding
so i'll be defensive in leveraging walled data
#
AngeloGladding
stick to the indieweb for now
#
AngeloGladding
as long as i can
#
AngeloGladding
so what site are you at sknebel?
#
sknebel
my site is www.svenknebel.de
#
AngeloGladding
ah, ok. i had you confused w/ mblaney
#
AngeloGladding
let me add you
#
sknebel
... and it has been nearly 3 months since I have done anything on it
#
sknebel
really need to build a posting interface, so I'll post more and have more reasons to do more things ;)
#
AngeloGladding
what language are you using?
#
AngeloGladding
and you forward to /posts/
#
AngeloGladding
is that a temporary thing?
#
AngeloGladding
so i'm limiting my crawl to pages that have a http://indieweb.org/representative_h-card
#
AngeloGladding
to keep the list clean
#
AngeloGladding
so i've been damn near harassing people to clean up their semantics
#
AngeloGladding
which again i'm surprised isn't more fiercely enforced.. i think thats with good reason though
#
AngeloGladding
standards should reflect the user and not be forced upon them
#
sknebel
it's python
#
AngeloGladding
nice
#
sknebel
and the redirect is there since I don't know yet if I'll add an explicit "front page" and wanted to keep the urls clean
#
sknebel
and the h-card should be representative
#
AngeloGladding
so check this out
#
AngeloGladding
i've been going back and forth a bit with KevinMarks with regards to his repr h-card
#
AngeloGladding
the python lib i'm using is mf2util
#
AngeloGladding
if takes a parsed tree from mf2py and can extract the "representative" h-card
#
AngeloGladding
it wasn't working for kevin
#
AngeloGladding
so i dug deep and found that for whatever reason mf2util is explicitly refusing to acknowledge an h-card found in the same context as p-author
#
AngeloGladding
which yours does
#
AngeloGladding
you're #2
#
AngeloGladding
so i need to get to the bottom of that
#
AngeloGladding
find out why kyle has chosen to do that
#
sknebel
ah, interesting
#
sknebel
my redirect is questionable as well, re-reading the spec
#
AngeloGladding
yeah you can definitely do w/o that
#
AngeloGladding
keep the /posts/.../...
#
AngeloGladding
but link from your /
#
sknebel
"If the page contains an h-card with uid and url properties both matching the page URL"
#
AngeloGladding
yup
#
sknebel
now it is an interesting question what the page URL is in this case ;)
#
sknebel
Indiewebify.me (which has bugs, but is often recommended for beginners) says my h-card is an acceptable representative h-card
#
sknebel
I could add a rel=me to trigger the second case
#
AngeloGladding
yeah again i think the library i'm using is buggy
#
AngeloGladding
but the docstring explicitly discusses *not* accepting an h-card next to a p-author
#
AngeloGladding
so i've got to see what kyle was thinking before i offer a pull request, etc..
#
AngeloGladding
so leave your code as it is for now
#
AngeloGladding
unless...
#
AngeloGladding
you want to try to route around the problme
#
AngeloGladding
have you ever heard of http://microformats.org/wiki/include
#
Loqi
include-pattern
#
AngeloGladding
i'm not even sure if my parser is aware of such.. i could contrive the case and test it out or you could try it on your end
#
sknebel
I suspect you'll find more pages that do <html class="h-feed"> and then have the h-card as a property
#
AngeloGladding
so yeah
#
AngeloGladding
i'm doing a lot of chatting
#
AngeloGladding
but i'm just about to start investigating others' semantic hierarchies
#
AngeloGladding
people are definitely nesting this way and that
#
sknebel
did you try searching in the chat archives? could be that it has already come up
#
AngeloGladding
but the mf2util is finding their reprs just fine
#
AngeloGladding
i have not.. kevinmarks didn't immediately understand the problem
#
AngeloGladding
i'm sure this is edge case territory
#
AngeloGladding
it may be documented in wiki
#
AngeloGladding
but i'd really like to go to the source (kylewm) before i get lost in wiki/chat logs
#
AngeloGladding
so i'll write your site down with pen and paper
#
AngeloGladding
and let you know when i resolve it
#
AngeloGladding
in the meantime work on getting your root set up
#
AngeloGladding
because it really is the correct place for your repr
#
AngeloGladding
leave /posts the way it is
#
AngeloGladding
and do something simple like rascul
#
AngeloGladding
https://rascul.xyz
#
Loqi
Ray Schulz
#
sknebel
you get the page at the root url, it has an representative h-card for the root url
#
sknebel
just checked, the rel=me is there
#
sknebel
so it is valid
#
AngeloGladding
hmm..
#
AngeloGladding
the redirect is throwing off some basic logic
#
AngeloGladding
my "crawler" is terribly naive
#
AngeloGladding
i'm almost reluctant to investigate further because it just seems wrong
#
AngeloGladding
<div style="display:none" class="h-card p-author">by <a class="u-url u-uid p-name" href="/">Sven Knebel</a></div>
#
AngeloGladding
google would write the heuristics to make that valid
#
AngeloGladding
i'm trying to err on the site of standards at this early stage
#
AngeloGladding
think of my crawler as a validator..
#
sknebel
what standard makes this not valid?
#
AngeloGladding
the fact that that code exists on /posts
#
AngeloGladding
i could be wrong
#
sknebel
all that says is that you can find me on http://www.svenknebel.de
#
sknebel
<div class="header_nav"><a href="/" rel="me">index</a>
#
sknebel
ah, wait, maybe I misread something
#
AngeloGladding
i see what you're doing
#
AngeloGladding
and i want to make it work
#
AngeloGladding
but frankly i'll have to reraise this conversation with the others and see if it holds up
#
AngeloGladding
on a side note -- semantics embedded within a "display:none;" is blasphemy
#
AngeloGladding
:)
#
AngeloGladding
and my mf2util is bonking on class="h-card p-author" anyway
#
AngeloGladding
so you're like three strikes at this point
#
AngeloGladding
lol
#
sknebel
now I just need some strange symbols in my name ...
#
AngeloGladding
so let me try to understand why you don't put up a page at your root
#
AngeloGladding
yes.. be the crawler's acid test
#
AngeloGladding
no that's what ChrisAldrich is for
#
AngeloGladding
*he's got like 200 rel=me's*
#
AngeloGladding
anyway..
#
AngeloGladding
consider putting a straightforward repr h-card at your root
#
AngeloGladding
and i'll ask tantek about your redirect issue
#
AngeloGladding
and i'll ask kyle about the h-card w/ a p-author
#
AngeloGladding
and i'll definitely get you on the crawl :)
#
AngeloGladding
but for now
#
AngeloGladding
i need to get some codering done
#
AngeloGladding
is that german?
#
AngeloGladding
:)
#
AngeloGladding
or russian...
#
AngeloGladding
or just generally offensive
#
AngeloGladding
the sweet sweet python stuff
#
AngeloGladding
https://github.com/angelogladding if you'd like to take a peak
#
AngeloGladding
peek*
KevinMarks_ and mblaney joined the channel
#
sknebel
just looked at the code of indiewebify.me. doesn't do anything interesting, except that the microformat search function it uses flattens the structure and thus finds the h-card in the property
#
mblaney
AngeloGladding: if you're looking at what people are trying to convey with their h-card, I also have rel=feed in mine. and if you want to go even further I also have indie-actions in there.
#
sknebel
and now I really have to go find breakfast -> afk
#
mblaney
but now I gotta go, so talk more later.
rMdes, chrisaldrich_, ChrisAldrich and rMdes_ joined the channel
#
petermolnar
!tell GWG this may interest you: http://wp-cli.org/restful/
#
Loqi
Ok, I'll tell them that when I see them next
tantek, kline and mindB joined the channel
tantek, singpolyma and KevinMarks joined the channel
#
tantek
for anyone that wants to add that to /Facebook or /notifications ^^^
#
tantek
re: max # of notifications
cmal, tantek_, gRegorLove and mindB joined the channel
#
gkbrk.com
edited /IRC_People (+47) "/* Nicknames */"
(view diff)
loicm_, miklb, bret, KevinMarks and AngeloGladding joined the channel
#
voxpelli
Quite happy with this solution, but it's probably very very much overkill: https://github.com/voxpelli/webpage-micropub-to-github/issues/4#issuecomment-240529329
#
voxpelli
ping miklb :)
#
voxpelli
(and now I have to document all of the overkillness :P)
#
miklb
voxpelli++
#
Loqi
voxpelli has 91 karma (5 in this channel)
#
miklb
guess I need to move to the new version :)
#
miklb
just need to look at how to move my syndicate-to links
AngeloGladding joined the channel
#
Loqi
Ray Schulz
#
rascul
just ray now? hrm
#
Loqi
Ray Schulz
#
Loqi
Ray Schulz
#
rascul
oh i see
#
aaronpk
that's what Loqi uses
#
rascul
i had my classes messed up
#
rascul
aaronpk why isn't it getting my p-nickname? and why all the space between ray and schulz?
#
rascul
could it be cached?
#
aaronpk
xray might not be looking for nickname at all, you could check in a regular mf2 parser
#
aaronpk
xray i think does cache also
#
rascul
ok, the cache explains the whitespace
#
aaronpk
oh i see why there's whitespace
#
rascul
hehe "Ray Schulz\n\t\t\t\t\t\t \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\trascul"
#
rascul
and tabs!
#
Loqi
Ray Schulz rascul
#
rascul
yay Loqi gets it
#
gRegorLove
p-name could also just go on that h3 I think
#
rascul
but then p-nickname wouldn't be included
#
gRegorLove
You want your name to appear "Ray Schulz rascul"?
#
rascul
hrm you have a point
#
gRegorLove
nickname will still parse in the mf2, but yeah it will display as part of the name, like in comments.
#
rascul
is all this schema.org crap i have really necessary?
#
gRegorLove
I vote no. heh
#
aaronpk
not necessary for anything to do with mf2
#
gRegorLove
But I've never done anything with schema
#
rascul
doesn't google use it or something? can google not use mf2?
#
gRegorLove
Yeah, I think Google uses some of it in search results.
#
gRegorLove
I don't think Google uses mf2 yet. Did use mf1 before, not sure if they do anymore.
#
gRegorLove
mf1 used to be in their recommendations iirc. Might still use it, but not be documented well.
#
@AaronGustafson
@arnorb @patrickbjohnson Yeah, build issue. I’m gonna delete and re-publish once I sort out the issue (timeout checking webmentions).
(twitter.com/_/status/766028976011767808)
#
miklb
aaronpk I wonder if that's related to your mention of webmention.io being slow.
#
miklb
Iknow my build times run long, but assumed it was something on my end
#
aaronpk
does he use webmention.io?
#
miklb
yes, his jekyll plugin uses it. It checks for received mentions on each build to cache locally
#
aaronpk
the site doesn't seem slow, but processing webmentions is definitely lagging
#
miklb
I use the same plugin.
#
miklb
albeit slightly modified
#
aaronpk
can you check if it's slow because it's waiting for webmention.io to respond?
#
miklb
not exactly sure how to do that, I know when I profiled my build times, it was due to checking for mentions. Takes about 5 minutes to process ~500 posts
#
miklb
granted some posts don't have links and some have several
#
@miklb
@AaronGustafson @arnorb @patrickbjohnson is the timeout on checking for webmentions to cache?
(twitter.com/_/status/766031435627106305)
#
aaronpk
i would be curious if that's the slow part
#
miklb
he just replied that it is one specific mention, thinking it might be an uncaught exception
#
aaronpk
i could try updating webmention.io to build out JSON files of the mentions, so that retrieving them would just be fetching files off the disk instead of a bunch of database queries
#
miklb
I don't know how many people use the plugin, or have a large collection of posts to check to know if it would be worth the work.
#
Loqi
[@AaronGustafson] @miklb Yeah, when URLs go away, they throw errors. The caching may need to be refactored.
#
Loqi
[@AaronGustafson] @miklb The question is: How often do you check a potentially rotten URL before you assume it’s never returning?
#
@aaronpk
@AaronGustafson @miklb If a tweak to webmention.io would help, I'm open to suggestions!
(twitter.com/_/status/766032757080285184)
#
@AaronGustafson
@aaronpk @miklb Pruning stale links from webmention.io would definitely reduce the lookups on our end, but…
(twitter.com/_/status/766033134538416132)
#
aaronpk
miklb: does that script go fetch the original source URL of the webmention?
#
miklb
it stores all links from each post in one cache file, then checks against each for received, then stores the mention in a different cache file.
#
miklb
oh, wait, nevermind, that's for sending
#
miklb
is now confused
#
aaronpk
me too
#
miklb
you can navigate up to the .cache folder to see the others
#
miklb
I don't know what he means by stale links.
mindB joined the channel
#
aaronpk
okay that is my confusion too
mindB joined the channel
#
@AaronGustafson
@miklb The we mention URL. So someone linkblogs a post of yours & webmention.io collects it. But when you try to pull it it 404s.
(twitter.com/_/status/766037109979357184)
mindB2 joined the channel
#
miklb
hmm. I think that's different than what I'm experiencing in slow build times. Mine might be mroe about the querying. I don't think I've experienced what he's talking about.
#
miklb
s/mroe/more/
#
miklb
domain not responding maybe
#
aaronpk
so he does go fetch the original source URL?
#
aaronpk
rather than just using the contents that webmention.io reports?
#
aaronpk
my intent was definitely to have webmention.io be the only site you need to get data from, so that your site wouldn't have to go fetch each webmention individually
#
miklb
I'm trying to read through the plugin and decipher exactly what is going on :)
#
miklb
not very well mind you
#
miklb
yes, seems checking original source
#
aaronpk
well removing that should speed it up significantly :)
#
aaronpk
all the data from the source should be available in the data you get from webmention.io
#
aaronpk
and if it's not, then it's a bug
#
@aaronpk
@AaronGustafson @miklb Do you get data from the source that's not in the webmention.io response? I tried to include all data in the JSON.
(twitter.com/_/status/766039838399209472)
#
@aaronpk
@AaronGustafson oh interesting. Have you found data at some pages that webmention.io missed? Could file bugs on it for that.
(twitter.com/_/status/766040673262809088)
#
loqi.me
created /WCAG (+111) "prompted by bear and dfn added by bear"
(view diff)
#
loqi.me
edited /WCAG (+24) "/* See Also */ new section"
(view diff)
#
loqi.me
edited /WCAG (+44) "KevinMarks1 added "http://leaverou.github.io/contrast-ratio/" to "See Also""
(view diff)
#
bear
aaronpk - clef login is causing IndieAuth to give me an invalid_state error
#
aaronpk
logging in where?
#
bear
the wiki
#
aaronpk
huh, have you deleted your indieauth.com cookies recently?
#
bear
it's working, the redirect from indieauth is going to https://indieauth.com/?error=invalid_state
#
bear
nope
#
aaronpk
try that, could be related to the cookie fiddling i was doing
#
bear
same error - tho this time clef did ask me to verify what clef site I was on
#
bear
no worries - it works if I go back in the browser
gRegorLove joined the channel