#indieweb 2017-01-22

2017-01-22 UTC
#
GWG
!tell miklb Pushed an update to the github repo. Can you test re omit link?
#
Loqi
Ok, I'll tell them that when I see them next
aegibsonme, nitot and wagle joined the channel
#
miklb
GWG tested, this time no link, but didn't post any content, just site title. I'll investigate that on my end.
#
Loqi
miklb: GWG left you a message 27 minutes ago: Pushed an update to the github repo. Can you test re omit link?
#
GWG
miklb: Should I push the change to stable or do you want to check more?
#
miklb
well, it didn't send the content of the post, so I wouldn't push anything yet
#
GWG
miklb: Well, the content of the post is determined by Bridgy itself.
#
GWG
Although now if the option to send the Excerpt to Twitter is set, it will use the excerpt if set.
#
miklb
I understand that.
#
miklb
but for some reason, it only picked up my site title for content
#
GWG
miklb: I thought about adding a metabox, but I figured this less intrusive option would satisfy most.
#
GWG
miklb: Got link?
#
Loqi
[miklb] Miklb's Mindless Ramblings
#
miklb
hmm, so Loqi parsed it same
#
GWG
miklb: You are setting an explicit name.
#
GWG
"In general, Bridgy prefers to use p-summary if available, then the full e-content, and finally p-name, in that order. The one exception is original tweets (not @-replies) on Twitter: for those, it prefers p-name before e-content. "
KevinMarks and wagle joined the channel
#
miklb
not sure I understand "setting an explicit name"
#
miklb
because the H1 in the header is p-name?
#
aaronpk
the h1 has a class of p-name
#
aaronpk
and since that's inside the h-entry it makes it look like the h-entry's p-name
#
aaronpk
that's why loqi used it above too
#
miklb
inside h-entry?
#
aaronpk
yeah the h-entry tag is on the <body>
#
aaronpk
s/tag/class
#
miklb
Ah, I see that now.
#
miklb
maybe I copied over the changes to underscores improperly
#
miklb
thanks
#
GWG
miklb: The problem is WordPress theming plus plugins plus mf2 is hard.
#
GWG
It is why I changed the description of the plugin to emphasize it is a UI for Bridgy Publish and that Bridgy Publish parses the webpage. So, there is a limit to what I can do on the plugin side without overriding all the other stuff.
nitot joined the channel
#
miklb
yeah, that's cool. I'll dig through the markup. Guess can push to stable
#
GWG
miklb: I am hoping that the focus on the editor and more flexible content creation might produce some answers in this area.
#
miklb
you are more optimistic than I am ;-)
KevinMarks joined the channel
#
miklb
oh, I read it. I'm just skeptical of motives other than to benefit wp.com in crowded market
#
GWG
miklb: I am too. But I am hoping that we can piggyback on developments made for other things.
#
miklb
genuinely glad to see optimism. I should take a page out of your book
#
GWG
miklb: Hope for the best, prepare for the worst.
snarfed, KevinMarks_, wolftune, funwhilelost, wagle, nitot, aegibsonme, KevinMarks and leg joined the channel
#
miklb
GWG what was the thinking in adding h-entry to the body class, just want to make sure I don't overlook any scenarios
#
GWG
miklb: There was a debate about that. That on a single page, h-entry goes on the top-level element, and on an archive page, h-feed goes on the top level element. But there was some debate.
KevinMarks and nitot joined the channel
#
aaronpk
Whoa apparently Facebook iOS is testing new features in the menu at the bottom
#
aaronpk
"merch" and "live video"
#
aaronpk
instead of messenger and requests
nitot, mblaney and KevinMarks joined the channel
#
KartikPrabhu
"merch" sounds like merchandies
nitot joined the channel
#
Loqi
[indieweb] "Comment on Featured Posts by Justin Johansson" by Justin Johansson on 2017-01-21 http://boffosocko.com/#comment-33555
#
Loqi
[indieweb] "By: Justin Johansson" by Justin Johansson on 2017-01-21 https://twitter.com/jbjohansson/status/822644622379909122
begriffs and nitot joined the channel
#
aaronpk
Yeah the text box prompt is asking what you're selling
Pierre-O joined the channel
aegibsonme1, catsup, Kopfstein and Hory joined the channel
#
Loqi
[indieweb] "This stream now on the mothership" by Jeremy Cherfas on 2017-01-19 https://vaviblog.com/2017/this-stream-now-on-the-mothership
nitot joined the channel
#
Zegnat
Good morning IndieWeb!
#
voxpelli
Good morning!
#
sknebel
Good morning Zegnat!
nitot and gluytium joined the channel
#
Zegnat
So much tinkering with my new habit tracker. Is anyone else tracking habits?
nitot joined the channel
#
sebsel
Good morning!
#
sebsel
what is habit tracking?
#
Loqi
It looks like we don't have a page for "habit tracking" yet. Would you like to create it?
#
sebsel
I actually have two pieces of paper with a 7-day grid for 100 days, I'm marking crosses :)
#
sebsel
I only crossed out the first two days though.
#
sebsel
I first was thinking about a seblog.nl/goals or /quests page, and then posts h-entry:s with u-completion-of
#
sebsel
But then I thought: neh, let's not abuse Mf2+Webmentions for this.
#
Zegnat
That would be cool. I m still looking for a way to update my habits page.
#
sebsel
I actually had that /quests page for a while, with bars and stuff. But I was uneasy with having it all out in the open.
#
sebsel
Zegnat++
#
Loqi
zegnat has 31 karma in this channel (33 overall)
#
sebsel
as an abstraction: if a /checkin for a location is a 'checkin', and a /checkin for a book is a /read, can we use /checkin for goals too?
#
sebsel
(maybe that's too abstract)
#
Zegnat
You checkin to books?
#
Zegnat
I should start a reading habit. But not sure how to quantify the daily goal.
#
Loqi
yea!
#
sebsel
well if it means 'I was at', I could be in a book :P
#
sebsel
what is media checkin?
#
Loqi
Media check-in is a somewhat controversial concept that refers to a type of virtual check-in post, where the "location" is an item of consumable media such as a book, audio, video, or realtime media such as a radio or TV broadcast https://indieweb.org/media_checkin
#
Zegnat
was at Miss Peregrine's Home for Peculiar Children
#
Zegnat
Not sure that would work...
#
sebsel
The textual representation is different, but the meaning is quite similar.
#
sebsel
what is ticcit?
#
Loqi
It looks like we don't have a page for "ticcit" yet. Would you like to create it?
#
sebsel
that was what aaronpk called 'Things I can checkin to', but not sure if he actually named it that way.
#
Loqi
[aaronpk] "ticcit" => "things i can check in to"
#
Zegnat
For his storage, yeah, I remember. Now I am curious if aaronpk is going to have media checkins stored in there!
moredhel joined the channel
#
sebsel
what is a habit tracker?
#
Loqi
It looks like we don't have a page for "habit tracker" yet. Would you like to create it?
#
sebsel
a habit tracker is a tool to track one's progress in adopting new habits
#
sebsel
what is habit tracking?
#
Loqi
It looks like we don't have a page for "habit tracking" yet. Would you like to create it?
#
sebsel
habit tracking is [[habit tracker]]
nitot and leg joined the channel
#
miklb
regretting decision to switch to WordPress already
sebsel joined the channel
#
aaronpk
oh dear
nitot joined the channel
#
KevinMarks
If you check into a cinema, Swarm lets you choose which film, which combines the location and media
Pierre-O, moredhel, userXYZ, nitot and John_Duh joined the channel
#
GWG
miklb, your state wounds me
#
miklb
not your fault.
CherryPuffs joined the channel
#
miklb
I just need to decide if the effort to get WP to the point I had with static site would be better spent improving what I had.
#
GWG
miklb, I was looking forward to your participation, not taking it personally.
KevinMarks, wolftune, nitot and KevinMarks_ joined the channel
#
miklb
oh, hey, removing the p-name on the h1 on single pages worked. That lightens my frustrations greatly.
#
miklb
tests Loqi
nitot joined the channel
#
aaronpk
i think now you need p-name on the same element as e-content
#
miklb
are you saying class="e-content p-name"?
#
aaronpk
otherwise the parser makes an implied p-name that includes all the content of the h-entry which is kind of a mess
#
miklb
so I need to write a function that checks if the title is empty (where the p-name markup is), then add p-name to the e-content. That's simple
#
GWG
miklb, tell me if I can do anything to ease your suffering.
#
miklb
just frustration with the mf2 and getting bridgy to post the note. That works, now just need to refine the markup for other parsers
#
GWG
miklb, trying to address that has always been an issue for me.
#
GWG
Either way, next on the block is Syndication Links. It only needs some minor fixes.
#
GWG
Then Post Kinds, then I figure out next big project.
wolftune, nitot and [dgold] joined the channel
#
[dgold]
is there a microformat property appropriate to use when a 'post' is a 'link-post' style entry, with the 'post' title being a link to original off-site content?
#
aaronpk
what is a bookmark?
#
Loqi
A bookmark (or linkblog) is a post that is primarily comprised of a URL, often title text from that URL, sometimes optional text describing, tagging, or quoting from its contents https://indieweb.org/bookmark
#
aaronpk
like that?
#
[dgold]
thanks, aaronpk
#
[dgold]
I'd been looking over the specs, but clearly hadn't searched 'linkblog'
#
aaronpk
you were close! "link-post"
#
[dgold]
:slightly_smiling_face:
#
Loqi
[Tantek Çelik] h-entry is a simple, open format for episodic or datestamped content on the web. h-entry is often used with content intended to be syndicated, e.g. blog posts. h-entry is one of several open microformat standards suitable for embedding data in HTML/H...
#
aaronpk
it'd be u-bookmark-of. i suspect it's still considered "experimental"
#
[dgold]
but thank you - guess I should be looking at locations other than just mf.org
#
aaronpk
yeah we tend to experiment with more kinds of properties and vocabularies in indieweb and then they eventually migrate to microformats.org as they mature (see http://microformats.org/wiki/h-entry#change_control)
#
Loqi
[Tantek Çelik] h-entry is a simple, open format for episodic or datestamped content on the web. h-entry is often used with content intended to be syndicated, e.g. blog posts. h-entry is one of several open microformat standards suitable for embedding data in HTML/H...
#
[dgold]
trying to implement indie formats in Hugo. Hurty-head making, but worth it
nitot joined the channel
#
aaronpk
what is hugo?
#
Loqi
Hugo is a static site generator written in Go https://indieweb.org/hugo
#
aaronpk
feel free to add yourself and any notes there!
#
[dgold]
:sungla
#
[dgold]
:sunglasses:
#
aaronpk
i've gotta get the slack bridge translating those emoji names back to emoji for irc :)
#
voxpelli
realizes that IRCCloud already converts those emoji names to emojis for me – neat
begriffs joined the channel
#
voxpelli
[dgold]: if you want some more pain, you can always check out how I added link-posts in Jekyll: https://github.com/voxpelli/voxpelli.github.com/blob/master/_includes/post-content.html#L32 Hugo and Jekyll should be pretty similar
nitot joined the channel
#
[dgold]
Its similar enough that its useable, voxpelli, thanks
#
[dgold]
golang, particularly its golang-templates, have some _interesting_ design choices
#
voxpelli
Liquid with it's string filters makes for some rather interesting lines as well: https://github.com/voxpelli/voxpelli.github.com/blob/master/_includes/post-content.html#L73 ;)
tantek, nitot, leg1, snarfed and CherryPuffs joined the channel
#
KevinMarks_
Does this qualify for 100 days? http://www.womensmarch.com/100
[dgold] joined the channel
#
[dgold]
what is a note
#
Loqi
A note is a post that is typically short unstructured* plain text, written & posted quickly, that has its own permalink page https://indieweb.org/note
#
[dgold]
so, p-name for a note would be p-content from the permalink note page
#
aaronpk
yeah, since notes don't have their own name, you just set the p-name to the same as the content
#
[dgold]
i wandered off base for a while there, doing a few kludgey scripts to convert all my old gplus posts to notes
#
[dgold]
but, yeah, it makes sense that a 'note' with no title needs p-name from other than title
tantek, KevinMarks and KevinMarks_ joined the channel
#
KevinMarks_
Dgold: I made an indieweb theme for Hugo
#
KevinMarks_
It's used on lifewithalacrity.com
KevinMarks and [kevinmarks] joined the channel
#
[kevinmarks]
dgold hope that helps
#
[dgold]
thanks kevinmarks. that's hugely instructive
nitot joined the channel
#
KevinMarks
I didn't focus on notes though, as Christopher mostly writes articles
userXYZ and CherryPuffs joined the channel
#
aaronpk
there seem to be a couple of presentational differences between recipes and articles/notes but they share a lot of the same things too
#
KartikPrabhu
one could think of them as enhancements on notes/articles
#
KevinMarks
They have 2 distinct sections for ingredients and methods, though some have more interpolated text
#
KevinMarks
I have seen some that effectively have sub recipes - separate sauces and so on
#
miklb
hmm, using a reply post kind and POSSE to Twitter needs some work.
#
GWG
miklb: Agreed. I just got the second part working. The first part needs more work.
#
aaronpk
the other difference is photo placement
#
miklb
GWG second part?
#
GWG
miklb: POSSE to Twitter. I've been using SNAP and the work I did got me closer to retiring it in favor of Bridgy. The first part, replying to a Tweet, is still a bit cumbersome.
#
miklb
GWG the problem I just experienced was that it wanted to post the full reply, including the context, rather than just my response
#
GWG
miklb: Yes. I've been trying to figure out how to address that. Most themes don't have a place to add the context other than inside the theme. I have some solutions on the theme side that work.
#
GWG
1. Make the theme post kinds aware by calling the context outside of the content block
#
GWG
2. Put the e-content inside the content block by adding it in using a filter to the_content at a high priority(like 0)
#
miklb
I follow #2, but not 1
#
GWG
Oops, wrong link
#
GWG
Those were some knobs
#
GWG
This is from mf2_s, the old needs to be updated theme I worked on.
#
GWG
Basically, it put the e-content inside the_content so any plugin or otherwise which added to the_content would be outside e-content
#
miklb
gotcha. I want to look closer at that template_types function
#
GWG
It is basically a Post Kinds with fallback to Post Formats function
#
miklb
guess I need to dig further into "post kinds templates"
#
GWG
miklb: I wrote a theme that supported them. But they are generally unsupported. Needs more work.
nitot joined the channel
#
miklb
oh, I was just going by the comment for the function.
#
GWG
miklb: It is get_content_part.
#
KartikPrabhu
probably this extended discussion is better for #-dev?
#
GWG
I'm game for -dev
#
aaronpk
okay i decided there were enough presentational differences for recipes to warrant using a new base template instead of tweaking my normal base template
#
KevinMarks
Are you using it for cocktails too?
#
GWG
aaronpk: Where are these templates?
#
aaronpk
it's just internal p3k code
tantek joined the channel
#
Zegnat
h-recipe for cocktails? That sounds like a good thing!
#
aaronpk
KevinMarks: yeah once i get the templates done i'm going to convert a bunch of my past plaintext recipe posts into h-recipes
nitot joined the channel
#
KevinMarks
At one point Google was parsing cocktails and making them metric, which wax funny
#
Zegnat
What? Cocktails are officially metric … the IBA lists all ingredients in cl IIRC
#
KevinMarks
These were American recipes
leg joined the channel
#
aaronpk
huh. i haven't seen this twitter behavior before. two celebrities having an argument where instead of @-replying each other they're using quoted tweets
#
KevinMarks
Oh wait, it's the other way round. They translate the iba ones from Wikipedia to fluid ounces a bit too literally
#
KevinMarks
How to make a dark and stormy: Ingredients: 3 1/3 oz Ginger Beer, Couple dashes of bitters, 2 oz Dark Rum
#
KartikPrabhu
all cocktail reciepes are about proportion, it doesn't really matter wht units you use
#
KartikPrabhu
everything is X-parts of something
#
KartikPrabhu
aaronpk: I have been seeing that behaviour lately
snarfed, nitot, KevinMarks_, tantek, KevinMarks and aegibsonme joined the channel
#
sebsel
seems like I sort of made it through week 1 https://seblog.nl/category/100daysofindieweb
#
sebsel
had to cheat a bit on the importing-old-posts thing.
#
sebsel
also had to drop the writing :( will come back to that though!
#
sebsel
I intend to finish the 100daysofindieweb even more now
#
sebsel
starting posts with 'day X' helps.
#
KartikPrabhu
anyone has a display of posts by tag? Do you display all the posts on one page or paginate by year/month or something else?
#
aaronpk
sebsel: that's awesome! congrats
#
aaronpk
KartikPrabhu: i paginate my tag pages the same way i paginate all my other pages
#
aaronpk
hm do we have a wiki page with links to examples of tag pages?
#
KartikPrabhu
what is tag?
#
Loqi
tags or tagging refers to categorizing or labeling content, your own or others (tag-reply), with words, phrases, names, or other information, optionally linked to specific people, events, locations, such as the practice of tagging posts being about certain people (person-tag), like tagging people or other items where (area-tag) they're depicted in a photo https://indieweb.org/tag
#
sebsel
KartikPrabhu yeah I just have the same feed as the rest of my site, and I filter it by tag.
#
KartikPrabhu
sebsel: do you paginate it in some way? also link please
#
sebsel
that's a tag-page
#
sebsel
considers to change urls to /tag/
#
KartikPrabhu
sebsel: yeah it seems that microformats uses "category" but "tags" is more popular now
KevinMarks joined the channel
#
sebsel
yeah in Wordpress a 'category' has more weight than a 'tag'
#
sebsel
I'm no longer on wordpress for quite a while, but the feeling remains
#
KartikPrabhu
distinguishing them seems useless to me, I just think of them are equivalent names for the same thing
#
sebsel
I feel like there is a limited list of categories, whereas I can always create new tags.
#
sebsel
yeah, true