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."
[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
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...
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]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.
[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
[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…
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>
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.
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
[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?
[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.
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.
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.
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]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]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.
[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.)
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.
[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]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.)
[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
@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