#dev 2019-07-22
2019-07-22 UTC
KartikPrabhu, [dogeared], ben_thatmustbeme, [Michael_Beckwit, wagle, [xavierroy] and [tonz] joined the channel
# Zegnat !tell GWG,jgmac1106 I did experiment with having all posts (per mont) as fragment URLs: https://grapefruit.zegnat.net/
# @noservershere Weekly Platform News: CSS ::marker pseudo-element, pre-rendering web components, adding Webmention to your site http://jsfeeds.com/details/weekly-platform-news-css-marker-pseudo-element-pre-rendering-web-components-adding-webmention-to-your-site-5d31d59014ff049718102535?s=rss (twitter.com/_/status/1153183243329515522)
[Rose] joined the channel
[tonz] joined the channel
# @Matthiasgeslin Weekly Platform News: CSS ::marker pseudo-element, pre-rendering web components, adding Webmention to your site https://css-tricks.com/weekly-platform-news-css-marker-pseudo-element-pre-rendering-web-components-adding-webmention-to-your-site/ (twitter.com/_/status/1153234558437007360)
# Loqi GWG: Zegnat left you a message 5 hours, 17 minutes ago: I did experiment with having all posts (per mont) as fragment URLs: https://grapefruit.zegnat.net/
# jeremycherfas What's the difference between PHP CGI and PHP FastCGI? And would it matter which I was using? I'm having trouble after upgrading Known and phpinfo says I have 7.0.32 while Dreamhost cpanel says I have 7.2 CGI
# jeremycherfas It was on plain CGI. I just switched to FCGI. But I am confused by the mismatch between phpinfo and cpanel.
[grantcodes] joined the channel
# jeremycherfas All seems good now, thanks.
[Rose] and eli_oat joined the channel
# @mattbd Just stumbled across the Micropub (https://indieweb.org/Micropub) and Microsub (https://indieweb.org/Microsub), and really want to implement them. Will need to investigate to see how plausible that is for a static site... (twitter.com/_/status/1153289156606537728)
[grantcodes] joined the channel
# [grantcodes] !tell [jgmac1106] Have you seen this? https://plaudit.pub/ I think it has webmentions hidden in there somewhere
[jgmac1106] joined the channel
# [jgmac1106] grantcodes I have not but I will reach out, ORCID to DOI would allow for some interesting stuff
# Loqi [jgmac1106]: Zegnat left you a message 7 hours, 41 minutes ago: I did experiment with having all posts (per mont) as fragment URLs: https://grapefruit.zegnat.net/
# [grantcodes] I found it from a node webmention library, so looks like it either uses webmentions or it will in the future in some way
# [jgmac1106] searching the code though I didn't find any use of endpoints
# [grantcodes] I got there from here: https://gitlab.com/Flockademic/webmen
# [jgmac1106] sweet
# [jgmac1106] reaching out to them now
# [grantcodes] It's amazing how little I understand what any of that stuff actually means. So much jargon and acronyms!
# [jgmac1106] ORCID=person unique identitider, a DOI is a docuements unique identifier
# [jgmac1106] My ORCID is 0000-0003-1035-389X
[snarfed], [schmarty] and [manton] joined the channel
# [manton] Some platforms (like WordPress or Micro.blog) have standalone "pages" that are treated differently than normal blog posts. Is there a convention for this in Micropub? This seems a little different than what people do for post types. WordPress's XML-RPC API has separate endpoints for "pages", which MarsEdit uses.
# [grantcodes] What do you actually want to do with micropub that is different from other posts?
# KartikPrabhu how about if no "type" is specified it becomes a page?
Vincent joined the channel
# [grantcodes] Hmm I guess that would have to depend on the server implementation at the moment. Lots of options though. I would probably just set a category and have that handled specially
# [schmarty] it's interesting because micropub relies on microformats and a "page" is... kind of meaningless?
# [grantcodes] featured
# [schmarty] lol grantcodes was just typing that
# [grantcodes] jynx
# KartikPrabhu u-url ;P
# [schmarty] kartikprabhu++
# KartikPrabhu status=page ?
# [grantcodes] dont disagree but published=false definitely sounds like it should not be published
# KartikPrabhu I have seen pages that display "last edited on .... " to indicate how 'fresh' the content is
# Loqi page is short for webpage on the IndieWeb, and can by default be marked up with h-entry (like body class=h-entry) for link-preview purposes unless the page serves a more specific purpose like a homepage or an event https://indieweb.org/page
# [grantcodes] Maybe visibility might make sense? It's not so far off an unlisted post?
# [schmarty] since the list of differences from an h-entry is so small, maybe a "page" is still an h-entry ?
# [grantcodes] Actually that makes more sense to me, because unlisted pages definitely aren't a thing (private maybe...), but pages can definitely have a `post-status` of published, or draft, so that is a definite conflict
# [schmarty] the differences sound more CMS-based
# [schmarty] like "a page doesn't appear in feeds" (except on some people's sites they do)
# [schmarty] i'm not hearing any differences in micropub terms
chrisaldrich joined the channel
eli_oat joined the channel
# [grantcodes] If I used micropub for pages I would definitely want drafts for pages. Also backed up by the majority of wordpress sites I work on having draft pages
gRegorLove and [snarfed] joined the channel
# aaronpk in any case, there's been enough discussion here that it's worth capturing all the current examples on https://indieweb.org/page
# [grantcodes] 🤔 random one, what if that was just how you handled micropub entries that are marked as unlisted but with a defined slug?
# KartikPrabhu what's "marked as unlisted" in micropub?
# aaronpk visibility=unlisted https://indieweb.org/Micropub-extensions#Visibility
# KartikPrabhu oh
# [grantcodes] visibility and post-status could probably be one property tbh. I can't see any overlap myself
[eddie] joined the channel
KartikPrabhu joined the channel
# [grantcodes] I think this is probably the point where implied post type discovery falls down. Wouldn't be an issue if you could explicitly set a post type, which sounds like what eddie suggested
# [grantcodes] Might just be my view of it, but I see a micropub server as a consumer of mf2, and this problem is the server attempting to discover if is a post or page
# j4y_funabashi[m] Wouldn't PTD come into play when a client wants to query for all "pages"?
# [grantcodes] But agreed, there is no need to know if it is a post or page for most other consuming cases.
# [grantcodes] But there is an experimental post-type query for micropub that j4y_funabashi might be thinking of
# j4y_funabashi[m] If I q=source type=page my server needs to determine which posts are pages
# j4y_funabashi[m] So an mp* would help with the publishing side but not the querying side
# [grantcodes] I will say now that I've added post type queries to my reader and server I would totally set up pages as a post type just for the UI benefits. I've sort of done it for my journal posts and it's awesome
[tantek] and [fluffy] joined the channel
# [tantek] the date issue is a matter of user presentation preference. that is, whether or not a page "has" a date is *purely* presentational. from a *literal* (physics) perspective, a page absolutely has both a date when it is first published, and if/when it is changed, a date of when that (latest) change occured
laureng|Microspo, [JWvdPol], [jgmac1106], Magnus[m]1, [schmarty] and leg joined the channel
# [tantek] Zegnat, do you markup your resume with h-resume? http://microformats.org/wiki/h-resume
# KartikPrabhu I have an HTML resume and then I print it into a PDF when needed :P
leg1 and [manton] joined the channel
# [jgmac1106] My resume is h-resume. I had to use to different stylesheets bc I couldn't figure out how to write a print media query where <details> defaults open
# KartikPrabhu [jgmac1106]: oo that is an interesting print CSS case!
# [jgmac1106] Kinda funny when ever we talk tracking annual progress the IT staff jealous about how well ny vita parses
# [jgmac1106] Yeah someone linked to an existing issue in the CSS repo and I wasn't exactly sure if you can't do it or if I didn't know how
# [jgmac1106] Off topic from original h-resume thread but print query and detail auto open should be a thing, if it is, please point it to me so I can write a print query rather than two stylesheets
# [jgmac1106] What I thought. And looks like issue already open in GitHub
# [jgmac1106] My intern is working on a vita builder in Kirby that will produce an h-resume
# KartikPrabhu My first guess was to use ::after pseduo-element but you can't access the contents of the <details> from CSS
# [jgmac1106] Zegnat harkens back to the APA h-cite stuff we star5ed with
# [jgmac1106] @kartikPrabhu yeah and that gets way past my CSS knowledge in general
[KevinMarks] joined the channel
# [KevinMarks] You can set details to open in css though not sure if you can dynamically
# KartikPrabhu yeah, this I want to know
# KartikPrabhu its open
# [KevinMarks] Details open
# KartikPrabhu you can toggle that with JS, but how in CSS?
# KartikPrabhu yeah
# [fluffy] oh https://blog.teamtreehouse.com/use-details-summary-elements seems to be a good starting point
# KartikPrabhu right. CSS can find if details is open using details[open] selector. but you can't use that to set things to open by defualt
# Zegnat This is probably the issue jgmac1106 was referring to, touched on several things that are hard to style about details: https://github.com/w3c/csswg-drafts/issues/2084
# [fluffy] https://github.com/w3c/csswg-drafts/issues/2084#issuecomment-351177835 was exactly where my brain was heading before I read that thread, so thanks
# [KevinMarks] Could you wrap the non summary part of details in an element and make that display block for print , or would the details override that?
[snarfed] joined the channel
# KartikPrabhu [KevinMarks]: no, the <details> element actually controls the display!
# KartikPrabhu I tried targetting the children of <details> and setting the display property but no luck
# KartikPrabhu sknebel++ that works!!
# KartikPrabhu you can get rid of the indicator on summary with display: inline or inline-block too
# KartikPrabhu and now it depends on the display: contents support :P
# @stackpile Weekly Platform News: CSS ::marker pseudo-element, pre-rendering web components, adding Webmention to your site https://sb.gl/2YW1pee (twitter.com/_/status/1153407891493273602)
[grantcodes] and [chrisaldrich] joined the channel
# [chrisaldrich] I'll have to follow the details conversation more closely when I'm back in the office as it may have the solution, but I remember having an issue with it working in conjunction with fragments a few weeks back.
KartikPrabhu, [fluffy], AndrewB7794[m] and [KevinMarks] joined the channel