#dev 2018-03-14
2018-03-14 UTC
snarfed and [tantek] joined the channel
eli_oat and [cleverdevil] joined the channel
#
[cleverdevil] As a validator for my own micropub endpoint, I think it still may be worth it.
#
[cleverdevil] And people are free to start using new terms, it won't break validation 🙂
eli_oat joined the channel
#
[cleverdevil] Old terms in new ways? I should likely greatly loosen my schema in that case.
snarfed joined the channel
tantek and snarfed joined the channel
#
@Inkwater_Masha How to Use Brand Names in Your Fiction
http://ow.ly/KiNl30iFGyt
#writetip #amwriting #indieauth #selfpub (twitter.com/_/status/973746800220831745)
renem, eli_oat, eli_oat2, eli_oat53, KartikPrabhu, eli_oat82 and [cleverdevil] joined the channel
#
[cleverdevil] Okay, as promised -> https://github.com/cleverdevil/punyauth
#
[cleverdevil] micropub -> https://github.com/cleverdevil/punypub
#
[cleverdevil] media endpoint -> https://github.com/cleverdevil/punymedia
#
[cleverdevil] feels embarrassed at how likely screwed up these all are, but take a look anyway, and give me feedback!
#
[cleverdevil] Thanks 🙂
#
[cleverdevil] Its all Python 3.6.
#
[cleverdevil] And not well documented, yet.
#
[cleverdevil] The IndieAuth stuff is most documented -> https://github.com/cleverdevil/punyauth/blob/master/punyauth/controllers/indieauth.py
#
[cleverdevil] The Micropub server uses TinyDB, for now -> https://tinydb.readthedocs.io/en/latest/
snarfed, tantek, [miklb], cweiske, [tantek] and jeremycherfas joined the channel
#
loqi.me edited /giving-credit (+193) "Zegnat added "[http://curatorscode.org/ The Curator’s Code] tried to get people to “attribute discovery” and standardise on hat-tip and via as terms. (With unicode symbols ↬ and ᔥ respectively.)" to "See Also"" (view diff)
[kevinmarks] joined the channel
#
[kevinmarks] [cleverdevil] mf2['properties']['content'] = [{
#
[kevinmarks] }]
#
[kevinmarks] 'value': post.get('content')
#
[kevinmarks] Might want to make that post.get('content', '') unless you handle None carefully
AngeloGladding, leg and Kyle-K joined the channel
#
@swentel Tagged the first alpha release of the Indieweb module for Drupal 8. Includes webmentions, publishing, microformats, comment creation and micropub. Let's get the party started! https://www.drupal.org/project/indieweb #indieweb #drupal (https://realize.be/notes/1245) (twitter.com/_/status/973910639537254400)
#
aaronparecki.com edited /Microsub-spec (+1162) "/* Timelines */ mark read and remove entries" (view diff)
barpthewire and [kevinmarks] joined the channel
marcthiele joined the channel
#
aaronparecki.com edited /Microsub-spec (+503) "/* Posts */ add _id and _is_read properties" (view diff)
#
aaronparecki.com edited /Microsub-spec (+293) "/* Channels */ note boolean unread tracking" (view diff)
#
[kevinmarks] do you do video too for enclosures?
#
[kevinmarks] twit.tv have them
#
[kevinmarks] lots of subscribe options https://twit.tv/shows/this-week-in-google
#
sknebel example: https://adlerweb.info/blog/feed
#
[kevinmarks] you can put preload=none on the <video> tags
eli_oat joined the channel
#
[kevinmarks] hm, I'm not seeing video, but my bandwidth might be bad
#
[kevinmarks] hah, works on mobile data but not wifi
raretrack and [cleverdevil] joined the channel
#
[cleverdevil] Thanks for the feedback [kevinmarks], I fixed that issue.
#
[cleverdevil] Also, thanks for pointing out the test suite for microformats.
#
[cleverdevil] I wrote up a quick script last night that walks through and runs all of the samples through the validator, and its results are currently:
#
[cleverdevil] ```Results
#
[cleverdevil] Failures: 17
#
[cleverdevil] Total: 80```
#
[cleverdevil] Successes: 63
#
[cleverdevil] So, I have some things to fix 😛
#
[kevinmarks] well, the suite has some errors too
#
[kevinmarks] I am looking at integrating it with the python parser
tantek joined the channel
#
KartikPrabhu [kevinmarks]: I was also looking at the test-suite foruse with mf2py
#
KartikPrabhu the vocabulary specific tests don't seem very useful though
#
[cleverdevil] Wouldn't be too hard, Zegnat.
#
[cleverdevil] I'll see if I can get to it tonight.
#
[cleverdevil] I should really push whatI have up to GitHub, but its ... pretty rough 🙂
#
[cleverdevil] Oooh, that's a fancy Loqi feature I wasn't aware of.
#
[cleverdevil] Loqi++
#
[cleverdevil] Maybe I can get to it over lunch in a few hours.
#
Loqi An enclosure is a file attached to an entry in an Atom/RSS feed, used, among other things, for podcasts https://indieweb.org/enclosure
#
[cleverdevil] One challenge I did see that surfaced in the test suite for the way I've done the schema is when parts of the document are *multiple* types at the same time.
#
[cleverdevil] The `education` property has an item that is of `type` `['h-event', 'h-card']`.
#
[cleverdevil] Not entirely sure how to represent that as a possibility in JSON Schema.
#
[cleverdevil] Same.
#
[cleverdevil] nods.
#
[cleverdevil] Seems like it would be much smarter to have the h-card embedded in the h-event 😕
#
[cleverdevil] (FWIW, I think I'm fine just straight up rejecting this sort of content...)
#
[cleverdevil] (Or, perhaps adding a case to accept it without vocabulary validation)
#
[kevinmarks] not sure who made that example
#
sknebel http://microformats.org/wiki/h-resume doesn't clearly say if thats how its meant or not
#
[kevinmarks] http://microformats.org/wiki/h-resume is a bit unclear
#
[kevinmarks] is that h-card supposed to be the location of the event?
#
[kevinmarks] <div class="h-resume">
#
[kevinmarks] <p class="p-name">Tim Berners-Lee</p>
#
[kevinmarks] <div class="p-contact h-card">
#
[kevinmarks] <p class="p-title">Director of the World Wide Web Foundation</p>
#
[kevinmarks] </div>
#
[kevinmarks] <p class="p-summary">Invented the World Wide Web.</p><hr />
#
[kevinmarks] <p class="p-education h-event">
#
[kevinmarks] <span class="p-location h-card"><span class="p-name p-org">The Queen's College, Oxford University</span></span>,
#
[kevinmarks] <span class="p-description">BA Hons (I) Physics</span>
#
[kevinmarks] <time class="dt-start" datetime="1973-09">1973</time> –
#
[kevinmarks] </p>
#
[kevinmarks] <time class="dt-end" datetime="1976-06">1976</time>
#
[kevinmarks] </div>
#
[kevinmarks] would make more sense, then the h-event is valid
#
petermolnar h-resume is weird; I've tried handcrafting my own: https://petermolnar.net/about.html
#
[kevinmarks] "an education h-event event, years, embedded h-card of the school, location."
#
[kevinmarks] how about "an education h-event event, years, embedded p- location h-card of the school,"
#
aaronpk so this example is definitely wrong then https://github.com/microformats/tests/blob/master/tests/microformats-v2/h-resume/education.json
#
[kevinmarks] yeah, bad test, but also unclear spec writing and insufficient examples
#
Loqi A resumé or curriculum vitae (CV) is a document that represents a person's background and skills, commonly used to secure employment https://indieweb.org/resume
#
petermolnar does
#
tantek petermolnar: perhaps add yourself? https://indieweb.org/resume#IndieWeb_Examples
#
petermolnar it regularly confuses recruiters (but... but... this is not a pdf or a word doc!!)
#
petermolnar regardless the print css it has
#
[cleverdevil] Also, I have no idea what this is all about -> https://github.com/microformats/tests/blob/master/tests/microformats-v2/h-as-note/note.json
#
[cleverdevil] https://indieweb.org/h-as indicates that this is not something that is really in use.
leg joined the channel
#
[cleverdevil] Is h-news actually a thing in practice?
#
[cleverdevil] Heh
#
Loqi It looks like we don't have a page for "h-news" yet. Would you like to create it? (Or just say "h-news is ____", a sentence describing the term)
iasai joined the channel
#
[cleverdevil] shrugs
#
Zegnat http://microformats.org/wiki/h-news doesn’t exist either
#
[cleverdevil] Yeah, I am gonna ignore it.
#
Zegnat Same with http://microformats.org/wiki/h-org ...
#
[cleverdevil] Yup, fully 9 of the 17 failures are things I plan on ignoring.
#
[cleverdevil] Nope, there are definitely a few things I missed.... but not many.
#
[cleverdevil] I think I can fix them all over lunch.
AngeloGladding joined the channel
#
[kevinmarks] so we should delete the tests then?
#
[kevinmarks] hresume has a long list of adopting sites, though I bet most of them are gone now
#
[cleverdevil] I'd suggest deleting the irrelevant ones (h-news, h-org, h-as-*, et al) and then fixing h-resume.
#
[kevinmarks] yes hResume has a lot, h-resume has 3, one of which is csarven who has removed it
#
[kevinmarks] OK. I'll have a look tonight. If you want to file bugs against the tests repo, I will go through them.
#
[kevinmarks] I'd really like that repo to be useful across parsers.
#
[kevinmarks] heading to the tube now
#
[cleverdevil] :thumbsup:
#
[cleverdevil] [bear] that's amazing 🙂
[pfefferle] joined the channel
#
[pfefferle] ZenPress and sempress still using h-as
[eddie] joined the channel
#
[eddie] !tell aaronpk: Before I disappeared the other day, I mentioned my webmention notifications are duplicating. Because of salmention and because I literally just forward every webmention my webhook recieves into the micropub API for that microsub channel. I guess probably what I need to do is just append the source url of any post received and sent into a file, and then check for that url in the file and if it’s found don’t send it again in the
raretrack joined the channel
tbbrown joined the channel
#
tantek hmm I wonder if there's some indieweb opportunity in this "opening up" https://www.theverge.com/2018/3/14/17114494/google-maps-location-games-jurassic-world-walking-dead
#
[cleverdevil] Okay, after tinkering a bit on lunch -> https://cleverdevil.io/s/g5bUw6YowD.png
#
[cleverdevil] The only tests that fail now are ones that we agreed need to be removed or altered 🙂
#
bear ok, so according to my data, the following sites all use some form of h-as-* ['mlncn.withknown.com', 'acegiak.net', 'boffosocko.com', 'dym.cx', 'notizblog.org', 'david.shanske.com', 'www.tombruning.com', 'raretrack.uk', 'achangeiscoming.net', 'tombruning.com', 'kartikprabhu.com', 'unrelenting.technology', 'caseorganic.com', 'jeena.net', 'www.ashersilberman.com', 'www.marcus-povey.co.uk', 'marcus-povey.co.uk', 'glennjones.net', 'tantek.com', 'j4y.co',
#
bear 'ehlovader.com', 'jenson.org', 'www.raretrack.uk', 'ben.thatmustbe.me', 'ashersilberman.com', 'techlifeweb.com', 'jihais.se', 'davidjohnmead.com', 't37.net', 'iamshane.com', 'rawlinson.us', 'dunlaps.net', 'miklb.com', 'werd.io', 'davidpeach.co.uk', 'waterpigs.co.uk', 'kylewm.com', 'davidized.com', 'wagle.io', 'veganstraightedge.com', 'snarfed.org']
#
KartikPrabhu I dropped mine too I think
#
[cleverdevil] And, for the purposes of my schema, I only care about mf2 *producers*, not in-the-wild published content.
#
KartikPrabhu most producers are mf2 parsers at the moment
#
KartikPrabhu slowly steps away as this might lead to more mf2 validation stuff
#
[cleverdevil] Hehe
#
[cleverdevil] I haven't tried, yet.
#
[cleverdevil] I need to find some good documentation for it before I take a crack.
#
[cleverdevil] @Zegnat do you know of any documentation?
#
[cleverdevil] Thx.
#
[cleverdevil] Got it.
#
[cleverdevil] I don't see this as in scope necessarily for the schema.
#
[cleverdevil] My primary motivation is to use the schema to validate data that would be published to a micropub endpoint.
#
KartikPrabhu [cleverdevil]: is some brainstorming about what this validation checks for etc...
#
KartikPrabhu what is microformats validation?
#
Loqi It looks like we don't have a page for "microformats validation" yet. Would you like to create it? (Or just say "microformats validation is ____", a sentence describing the term)
#
KartikPrabhu what is json schema?
#
Loqi It looks like we don't have a page for "json schema" yet. Would you like to create it? (Or just say "json schema is ____", a sentence describing the term)
#
KartikPrabhu [cleverdevil]: ^
#
[cleverdevil] My understanding from what I am reading is that `rel-urls` would primarily show up in MF2 JSON as the result of parsing HTML, not created by a Micropub client.
#
KartikPrabhu what happens if a micropub client does send rels and rel-urls?
#
KartikPrabhu is that invalid?
#
Zegnat JSON Schema is a format for describing and validating JSON data structures. http://json-schema.org/
#
loqi.me created /JSON_Schema (+127) "prompted by KartikPrabhu and dfn added by Zegnat" (view diff)
#
KartikPrabhu aaronpk: aah ok
#
[cleverdevil] microformats validation is the process of inspecting a document that is marked up with microformats2 to see if it complies with the specification for the format, and potentially with the known vocabularies...
{{cleverdevil}} is working on an attempt to make this easier here https://github.com/cleverdevil/microformats2#
loqi.me created /microformats_validation (+347) "prompted by KartikPrabhu and dfn added by [cleverdevil]" (view diff)
#
KartikPrabhu wait so it is inspecting a document?
#
KartikPrabhu not the JSON given by micropub clients?
#
KartikPrabhu "document that is marked up with microformats2" suggests parsing an HTML page in which case the mf2 will be valid by definition
#
[cleverdevil] Yeah, phrased wrong.
#
[cleverdevil] Inspecting a JSON document.
#
[cleverdevil] Not an HTML page.
#
[cleverdevil] Will revise.
#
Zegnat microformats validation <<
{{martijnvdven}} has a [[JSON Schema]] for a JSON [[microformats2]] object [https://gist.github.com/Zegnat/65ed9a9fb0546fb8c4aa0c0b790b8a40 available as a Gist].#
Loqi ok, I added "
{{martijnvdven}} has a [[JSON Schema]] for a JSON [[microformats2]] object [https://gist.github.com/Zegnat/65ed9a9fb0546fb8c4aa0c0b790b8a40 available as a Gist]." to a brand new "See Also" section of /microformats_validation#
loqi.me edited /microformats_validation (+181) "Zegnat added "
{{martijnvdven}} has a [[JSON Schema]] for a JSON [[microformats2]] object [https://gist.github.com/Zegnat/65ed9a9fb0546fb8c4aa0c0b790b8a40 available as a Gist]." to "See Also"" (view diff)[tantek] and cweiske_ joined the channel
marcthiele and [eddie] joined the channel
tantek joined the channel
[cleverdevil] joined the channel
#
[cleverdevil] One other thing I did over lunch was get my new IndieAuth / Micropub projects working with Quill 🙂
#
[cleverdevil] The one weird thing is right now my Micropub server just stores the raw JSON, and serves it back up again.
#
[cleverdevil] So, its a bit weird redirecting to a JSON blob.
#
Loqi It looks like we don't have a page for "blob" yet. Would you like to create it? (Or just say "blob is ____", a sentence describing the term)
#
[cleverdevil] Not sure what the strategy would be for a CMS built on top of this.
#
[cleverdevil] I suppose there should be a way for the Microsub server to ping the frontend/cms, and have it generate the HTML for the published content, and then redirect there.
marcthiele joined the channel
tbbrown and [pfefferle] joined the channel
#
vanderven.se martijn edited /pgp (+182) "Another security person who wants to leave GPG behind (unarchivable link)" (view diff)
[eddie] joined the channel
cweiske left the channel
[cleverdevil] joined the channel
#
[cleverdevil] Might be valuable to instead have channels that are "virtual."
#
[cleverdevil] And channels that can be groups of channels.
#
[cleverdevil] Virtual channels wouldn't show up in the list of channels by default
#
[cleverdevil] (Hidden)
#
[cleverdevil] What can I say, I'm wearing a suit in my gravatar.
#
[eddie] I’ve had the Facebook timeline feed in a general “Facebook” channel for awhile (so it’s already fetched a bunch of stuff). I added the same feed url to a Family Facebook after adding my required keywords as my Family member’s names and bingo! It’s literally just a feed of my family’s stuff
#
[eddie] The Facebook Atom feed puts the words “X shared X” when someone reposts something on Facebook. So on my overall Facebook feed, I just added to exclude the word “Shared”. There might be some false positive posts lost where someone actually uses the word shared in their post, but it’s worth it since Facebook is really just for me to skim through occasionally
#
Loqi rust is a systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety https://indieweb.org/rust
#
KartikPrabhu what's a "systems" programming language?
#
KartikPrabhu hmm
#
KartikPrabhu sounds complicated
#
[cleverdevil] Pretty much. Systems programming languages value things like safety above all else.
#
[cleverdevil] Making them... well... less fun to work in 🙂
#
[cleverdevil] (That too)
#
aaronpk kind of a site death? http://digg.com/reader
#
Loqi Digg is a news aggregator site that also offers a reader service, Digg Reader https://indieweb.org/Digg
tbbrown joined the channel
#
gRegorLove Pretty short notice
[kevinmarks] joined the channel
#
[kevinmarks] this one (from the tests) has an as-note (not h-as-note) class view-source:http://tantek.com/2015/152/t2/proud-withknown-indieweb-user-empathy
#
Loqi It looks like we don't have a page for "collector.githubapp.com" yet. Would you like to create it? (Or just say "collector.githubapp.com is ____", a sentence describing the term)
#
tantek can't seem to load https://github.com/microformats/h-event/issues/2
[tantek] joined the channel
eli_oat joined the channel
