#btremThe takeaway is that using more than one file type in a project -- a supposed strong suit of 11ty -- is sort of, I dunno, broken is too strong a word. Maybe I can call it "rocky"? "Difficult"? My 2 cents.
#[tantek]hmm the discussion of archive or aggregation pages like for months, years, tags etc makes me wonder how would one "edit" those pages with Micropub
#[tantek]I suppose their top level object is an h-feed so you'd need an h-feed aware Micropub client?
include joined the channel
#aaronpkwhat content lives in the aggregation pages other than the collection of posts in that time period?
#aaronpkthat part should be all automatic and not require editing
#Loqi[porglezomp] #758 Permalink format engine depends on file being formatted, not the defining template
#[tantek]aaronpk I suppose then the challenge is how to distinguish an "automatic" page vs. an editable page, from the perspective of Micropub
#[tantek]since Micropub operates on "just" URLs for editing
#aaronpki wouldn't expect those kinds of automatic pages to be editable at all really
#aaronpkthey aren't editable on my site even aside from micropub for example
#[tantek]aaronpk, as you pointed out I think, you can pin a particular post to the top of a tag aggregation page. while minor, that pinning is a piece of content
#aaronpkhm true i do have pinned posts on tag pages...
#[tantek]how would you edit which post is the pinned post on tag page, via micropub?
#aaronpkinternally that's a setting on the pinned post
#aaronpki edit the post and say "please pin to this tag page"
#aaronpki suppose you could flip the logic around, but that would also assume you have some sort of internal storage object for the tag itself, which is often not the case with tags or date pages
#aaronpkand again i'm not even thinking about micropub yet
#[tantek]aaronpk, the way I think of that structurally is the h-feed has a u-pinned property which is the permalink of the pinned post
[KevinMarks] joined the channel
#[KevinMarks]I wouldn't expect a markdown page to be able to contain nunjucks syntax
#[tantek]similarly I could see wanting to edit the explicit p-name of the h-feed of such aggregation pages
#[KevinMarks]I mean, you can pass any string to the nunjucks processor, so it could be done, but I think in general ssg's separate posts and templates
#aaronpkh-feed with a pinned property seems reasonable, but it would for example take me a lot of internal refactoring to be able to store data associated with a tag page or date page
#aaronpkincidentally i did recently do some of that refactoring to be able to add more stuff to my date pages that isn't from individual posts
#aaronpk(that's where i'm now storing my time tracking logs, and where i will store daily step counts)
[schmarty] joined the channel
#[schmarty]I have it in mind to use micropub as the plumbing to automatically update tag and archive pages
#[schmarty](For a system I quickly got stuck on so who knows when or if I will get to it)
#[schmarty]But I figure sure why not let micropub add an h-entry to an h-feed
#[schmarty]We have add/remove capability with micropub edits. Don't recall there being any semantics for ordering or whatnot.
#aaronpki don't think any current h-entry properties are ordered
#[tantek]it does reflect content order, which may (often) have a semantic to the author, and thus is preserved
#aaronpki'm just saying ordering hasn't come up in micropub because most of the use is on single-value properties or properties where the order doesn't matter
#[tantek]order matters both in the source HTML, and thus the parsing spec maintains that in the mf2json output
#[tantek]micropub on your homepage h-card would absolutely matter about the name (or icon) for that matter, because folks consuming that h-card will likely always take the first value of those properties when representing you as an author somewhere else
#aaronpksure, but as far as i know nobody has even tried to use micropub to edit their home page h-card
#[tantek]I keep feeling like that discussion has come up several times, including from GWG (editing your homepage using micropub)
#btrem[KevinMarks] re: your comment about nunjucks and markdown: 11ty allows you to provide a njk layout for a md file. It also allows you to put frontmatter at the top of the md file to set the page title, article date, and permalink.
#btremThat's where the problems arise. I can use njk expressions to create a permalink in an njk file, but I can't use that same expression in an md file.
#btremEven if I tell 11ty to process the md file with the njk processor.
#btremIMHO, any cms/ssg should allow the site admin/author to create urls in a flexible and durable way. If the same expression to create permalinks fails on some files, then I need to have separate configuration files. That's a brittle situation.
#btremaaronpk I don't see that as a weakness, but maybe I don't understand the issues. ISTM if order is important, then you would use <ol class="e-instructions">. If order is not important, you could use <div> or <p> or whatever.
#aaronpkyou'd probably wrap the <ol> in a <div> so that the ol appears in the parsed microformats html, but yeah
#aaronpkotherwise the instructions property would be just the li elements inside
#aaronpkmy point is there are very few microformats properties where order actually matters in practice, and of those, we haven't really seen any of them used in micropub
#btremRight, like I said, I don't understand the issues, because I know practically nothing about micropub.
#btremAnd when I added h-recipe classes, I at first ditched the wrapper <div> and put e-instructions on the <ol> tag. Then I checked the markup in a parser, and realized, "Oh, that's why that wrapper is there." And promptly put it back in. ;-)
#aaronpkthis thread started because of the question of how would you reorder values in a micropub edit, and i was explaining why this hasn't ever come up before
#btremI did see the earlier part of the thread. In a broad way what you're saying makes sense. As to the details, as I said, I really don't know much about micropub. I suppose I probably should have minded my own business. So sorry for the noise.
#[KevinMarks]It does come up in other editors - both the medium and buzzfeed editors let you drag ordered things around.
KartikPrabhu and btrem joined the channel
#lahackerso i'm circling back to micropub now and in favor of micropub'ing all the things i'd like to store my /about as a top-level h-card and create a micropub profile editor
#lahackeris it something about the x-www-form-urlencoded format that doesn't allow one to provide their own ordering?
#lahackeri can see at least order of name, tel and email mattering
[tantek] joined the channel
#[tantek]KevinMarks, both those editors are editing all of a post's content, i.e. e-content. Not multiple properties or values of properties.
KartikPrabhu, treora and [KevinMarks] joined the channel
#jeremycherfasWhat do people do for rpi backup? Given how long it takes to read and write the SD card, I'm considering getting a spare card, and whenever I take a backup, immediately write it to the spare card, so I can just swap them out when I need to.
#petermolnarI gave up on using rpis as servers for a longer period; I somehow tend to destroy sdcards. However, I'd probaby set up two rpis, two different manufacturer cards, one of them logging turned off, etc, and automatically sync between the two.
#jeremycherfasI don't think I need that kind of redundancy, to be honest. I got caught today by a power outage, and the rpi was not plugged into my UPS. Would not reboot. So I am currently waiting for the image I created ages ago to be written to the card, and will then need to update all the things.
#jeremycherfasJust trying to avoid having to wait so long next time.
#jeremycherfasAlthough I have now plugged the pi into the UPS.
#sknebelkeeping a second identical card around sounds like a good idea
#sknebel(newer pis also can boot from usb drives, which are more reliable. and one can do things to keep important parts read only etc, but that's a bit of configuration that needs to be thought through)
#petermolnarI don't want to sadden you, but if it's an sd card wearout, the ups won't help
#sknebelproblems due to power failure/power issues are more likely than actually wearing it out
#jeremycherfasI understand that. But what is a wearout? Something technical, or just a way of saying broken?
#petermolnarand I second sknebel recommendation about the usb thing. In an ideal world, it's get an m.2 -> usb3 adapter and plug an actuall ssd in the rpi, using that as anything writable, and the sdcard as read-only.
#sknebelsomehow your typical SD card just is unreliable if theres any power issue at all, at work we pretty much treat them as disposable
#sknebelpetermolnar: the newer pis can actually boot directly from us
#jeremycherfasInstructions seem reasonably clear, but everything requires a usable SD card to start off with, so I'll just wait for dd to finish doing its thing.
#sebbui saw people using nitter instead of twitter api
#sebbuor old leaked auth token that still works using v1 api, even for suspended accounts
#jeremycherfasHah. Of course, all my spare USB drives are USB 2.0. May as well go shopping while I wait for the restore to finish.
[schmarty] joined the channel
#sebbujeremycherfas, reminds me that my NAS rebuild the RAID at a speed of 60MB/s