#Loqi[jhsheridan] This is the error I'm getting: "There was an error posting the photo to your website. Please check that you're handling the expected parameters and returning the "Location" header and try again."
#GWGsnarfed: This individual gave me access to their site. But this issue is tricky.
[manton], dougbeal|mb1, [jgmac1106], [tantek], mblaney, [kim_landwehr], [chrisaldrich] and [snarfed] joined the channel
#dougbealaaronpk: will Quill request a media scope even if there is no media endpoint?
tantek__ and KevinMarks joined the channel
#dougbealaaronpk: Ah, the wp scope fix fixed everything
[ryan339] joined the channel
#[ryan339]whoa I just realized i’ve been using ngrok like a chump this whole time… i didn’t know anything about config files and not having to reboot every 8 hours with their free plan
#GWGdougbeal: I need someone with write access to approve.
#iambismarkaaronpk: question about quill, its correctly posting the image to my media endpoint, but then once i post the note, it just does a multipart post with the image...
jgmac1106 joined the channel
#GWGdougbeal: Are you running the dev version of Micropub?
#aaronpkdougbeal: possibly yes, since there shouldn't be a problem requesting a scope the server doesn't recognize since the server should just ignore it
#[cleverdevil]There isn't much in the way of metadata to determine if a "post" is a status update or a photo or an event, etc.
#[cleverdevil]I've written a quick script that uses some heuristics in the form of regex against the "title" property to determine what I am looking at.
#[cleverdevil]With that, I've been able to convert like ~70% of the content into workable MF2 JSON.
#[cleverdevil](Mind, this is only for *my wife's* Facebook export... not any arbitrary export).
#[snarfed]or, actually, i guess it is. [cleverdevil]'s too. we just then remove those post types
#tantek__the relationship stuff is interesting because it's shared with another profile, joint posts, or perhaps the result of a confirmation
[ryan339] joined the channel
#[ryan339]aaronpk: just double checked against micropub.rocks, all the media endpoint tests pass. when I use https://quill.p3k.io/editor, I get the upload to the media endpoint but then it sends the image as a data url upon publish. https://quill.p3k.io/new uploads to the media endpoint but then posts a multipart/form-data
#aaronpkHm I don't think the editor cares about that
#aaronpkThe note interface does that query to preload an image like if you post something to your media endpoint from your phone, it's a handy trick
#[ryan339]the location urls i’m returning from `POST /path/to/media/endpoint` do resolve (they weren’t before but i patched that up to pass micropub.rocks), but i never see any GET requests for them from quill so i dont see how that would make a difference…
eli_oat, donblanco, [xavierroy], jeremycherfas and [kevinmarks] joined the channel
#jgmac1106If I want to style something and include CSS do I do it after the mf2 or is better to use span and leave mf2 alone? <a class="p-author h-card" href="https://jgregorymcverry.com" style="display:none">J. Gregory McVerry</a>
#sknebeldoesn't really matter, mf2 doesn't look at anything outside its class names and contents
#sknebelonly mportant thing is that it's a bad idea to apply styling directly to mf2 classes
#jgmac1106okay I remember [gRegorLove] Sharing how to mf2 and css at same time post, just can’t remeber what wiki it lives on
#jgmac1106I think I may stick with using spans in case people copy/paste hoping just to grab the mf2…not like anything is consuming learning events yet…..
#gRegorLove!tell jgmac1106 I don't recall the post you're referring to, but if you're asking about mixing mf2 classes with CSS classes, that's fine. Recommended to put CSS classes first in the space-separated list, to discourage styling based on the mf2 classes.
#[cleverdevil]How might one go about capturing the photo metadata in the MF2 JSON?
#LoqiIt looks like we don't have a page for "photo post" yet. Would you like to create it? (Or just say "photo post is ____", a sentence describing the term)
#LoqiA photo is a post whose primary content is a photograph or other image, with an optional caption. With multiple photographs it becomes a multi-photo post https://indieweb.org/photo
#KartikPrabhuso each photo is a h-entry, if you want an album structure then the album is its own h-entry with the photo property having nested photo h-entry s
#[cleverdevil]It'd be nice if elements in the 'photo' properties array could be JSON dictionaries with a URI and a comment.
#[cleverdevil]Yeah mostly concerned about getting High-fidelity migration to Micro.blog here.
#[cleverdevil]So, I’d really want to do something that Micro.blog actually supports.
[jgmac1106] and [ryan339] joined the channel
#[ryan339]does anyone know of a library/tool for “baking” embedded tweets? i.e. running a tweet through a headless browser so their javascript does all of its formatting, etc so that you can then dump the final html in to a static page without loading their javascript?
#[cleverdevil]Ah that’s super helpful KartikPrabhu! Now I just need to see if Micro.blog will actually support that.
#KartikPrabhu[cleverdevil]: also if you use "u-photo h-entry" then the "value" becomes the URL which you might want
[manton] joined the channel
#[manton]Micro.blog won't support that kind of structure inside the photo element. I think your best bet is to generate HTML with all the captions and photos. You lose some metadata but you could include MF2 class names in the HTML as well.
[eddie] joined the channel
#snarfed[ryan339]: starting with a tweet url or id?
#aaronpkyeah i'd say your best bet right now is to treat the album as a "blog post" (article), include html img tags in the contents of the article, and also include mf2 classes so that you can still extract the original info in a machine readable way
#[manton]Yep, that will work. Later if Micro.blog or other Micropub servers supported more structured albums, they could be converted. But I think just using HTML is pretty good for this because it's compatible with everything.
#[manton]You'll end up with something similar to what Sunlit does for story posts, maybe.
#aaronpkthere's a couple experiments with collections/albums right now, but none of that is very thoroughly developed yet, so "html+microformats" in a blog post is probably the best/most compatible
jeremych_, gRegorLove, jgmac1106_ and KevinMarks joined the channel
#[cleverdevil]I'll likely do a first pass that converts everything to more "standard" and "correct" MF2 JSON, and then have a second pass that takes that, and does formatting and such that makes it publishable to Micro.blog.
#aaronpkmaking "photo" an h-entry is a pretty drastic change
#aaronpkif you do insist on that, make sure the "value" of that object is the plain photo URL since "value" is intended to be used as a fallback when the consumer doesn't recognize the nested object
#[cleverdevil]Ah, I thought it was something standard-ish based upon the earlier conversation.
#aaronpki've never heard of anyone setting the value of "photo" to an h-entry
#[cleverdevil]So, that leaves two options that I can think of:
#[cleverdevil]1. KartikPrabhu's approach of overloading the photo property with an array of h-entries.
jgmac1106_ joined the channel
#[cleverdevil]2. Exporting to an array of MF2 "items": one for each photo, and then a last one that refers to the photos and bundles them together into an album.
#[manton][gregorlove] Nope. Apps like Sunlit that have album-like collections ("stories") just publish as HTML with img thumbnails and surrounding text.
#[cleverdevil]I could generate it *without* the "content" on the album in the first pass.
#[cleverdevil]Then, loop through the "children" in pass two to upload the photos to the media endpoint, and generate the content in that phase, before publishing the album post.
#[cleverdevil](I won't have the URL to each photo until after I've uploaded them to the media endpoint... sort of the biggest chicken/egg challenge here).
#[cleverdevil]One question I have is time zone related. In the export from Facebook, everything just has a timestamp (in seconds), but there is no data about the time zone.
#[cleverdevil]Should I assume its in UTC, or should I assume its in local time for where the post was created?
#[manton]How long are the videos? Videos are the next step, but want to have some limits and I'm not sure what they should be yet. (Not trying to recreate YouTube.)
#jgmac1106_[manton] research on learning says optimal video time <6 min
#Loqijgmac1106_: gRegorLove left you a message 3 hours, 36 minutes ago: I don't recall the post you're referring to, but if you're asking about mixing mf2 classes with CSS classes, that's fine. Recommended to put CSS classes first in the space-separated list, to discourage styling based on the mf2 classes.
#jgmac1106_but on YouTube most videos <2 min get the most engagemenet
snarfed joined the channel
#jgmac1106_either way if shooting h.264 1080p that still can put you at a over a gig if you split difference and end up at 5 minutes
[kim_landwehr] joined the channel
#[kim_landwehr][manton] is there any update on getting micro.blog to work with Monocle. I am still getting the following error when I try to log in using my micro.blog connected website.
#[manton][kim_landwehr] To be honest I'm still not sure I understand how all of this is connected or what is trying to verify the token.
#[manton]You can sign in to Monocle just fine, right, and then it discovers your Microsub endpoint and then Aperture is trying to verify the token...? ([aaronpk] can hopefully jump in here too.)
#aaronpkI though that got sorted out before? The problem was a few extra link tags in the micro.blog filter
#[kim_landwehr]still getting this error. Monocle appears stuck on loading the channels and when I try Together it comes up but no channels load. So the problem appears to be loading the channels
#[manton][aaronpk] Nope. That must be it. There's no GET for verification. Let me add that and then we can re-test, I guess.
[ryan339], leg1, tantek__, jjuran, KevinMarks, gRegorLove and [chrisaldrich] joined the channel
#@eicker„#Webmentions: Enabling Better #Communication on the #Internet. Over 1 million Webmentions will have been sent across the internet since the #specification was made a full #recommendation by the #W3C ... in early January 2017.“ http://j.mp/2LaGsJC (twitter.com/_/status/1022590131230912513)
#@eickerBEratungRT eicker: „#Webmentions: Enabling Better #Communication on the #Internet. Over 1 million Webmentions will have been sent across the internet since the #specification was made a full #recommendation by the #W3C ... in early January 2017.“ http://j.mp/2LaGsJC #eicker (twitter.com/_/status/1022590232183689216)
tantek, KevinMarks and [kim_landwehr] joined the channel
#[kim_landwehr]sorry it was time for dinner, [manton] should I retry it
donblanco and [manton] joined the channel
#[manton][kim_landwehr] Not yet. I'm going to try to update this later tonight.
#[manton]You can try later or to be safe maybe in the morning. Sorry about the delay! Glad we found out it's my fault, though.
#[kim_landwehr]ok no problem, thanks for working on it [manton]. I know how busy you must be