#indieweb 2017-04-16

2017-04-16 UTC
#
miklb
the quotes in Post Kinds is mostly geared towards twitter quotes, but you can customize the quote-kinds template however you want markup wise
#
miklb
s/quote-kinds/quote-kind/
[kevinmarks] joined the channel
#
[kevinmarks]
I added a list of instances to http://www.unmung.com/mastoview
tantek and nitot joined the channel
#
miklb
so if i have h-entry on the body tag of the singe page view of an article, and the note doesn't have a title, should the content also be p-name?
#
tantek
miklb, yes that is correct, in genereal notes don't have titles
#
tantek
let's check the "how to" for your q
#
tantek
and wow /note is both missing a "How to markup" section as well as "How to" at all!
#
tantek
miklb++ for uncovering a pretty big hole in /note documentation
#
Loqi
miklb has 21 karma in this channel (23 overall)
#
KartikPrabhu
miklb: you don't need to put a p-name on the note content since mf2 parsing auto-generates a p-name, but you might want an explicit p-name to exclude random things in the note showing up in the autogenerated name
#
miklb
I've actually been looking at my reply markup, and I'm getting extra there, without a title, but used note as an example.
#
tantek
miklb, short answer, yes, on /note posts, you should put "p-name" explicitly on the same element as your "e-content" or "p-content"
#
miklb
without explicit p-name on the content when no title
#
tantek
which is an especially good reason why we need to document this explicitly
#
Loqi
[superfeedr] "Day 9: Previewing Mastodon instances as h-feed #100DaysOfIndieWeb" by Kevin Marks on 2017-04-16 http://known.kevinmarks.com/2017/day-9-previewing-mastodon-instances-as-h-feed-100daysofindieweb
#
miklb
we almost need a site like html5doctor IMO http://html5doctor.com/nav-element/ as an example. Explanation of spec, and simple markup examples
#
tantek
miklb, yes for typical /reply markup the same is true: you should put "p-name" explicitly on the same element as your "e-content" or "p-content"
#
Loqi
Semantic navigation with the nav element Wednesday, July 15th, 2009 by Tom Leadbetter. Tweet
#
miklb
mf2doctor
#
tantek
miklb - we do have markup examples in (most?) other post types, e.g. https://indieweb.org/RSVP#Publish_an_RSVP
#
tantek
I think it's just that /note and /reply were both written before we started doing that consistently, and their markup was more "obvious" at the time (to folks who discussed it clearly, not to new folks), so such examples were unintentionally neglected
#
tantek
but your general point is correct, each post type (or any format) should have simple markup examples
#
miklb
what is p-name
#
Loqi
It looks like we don't have a page for "p-name" yet. Would you like to create it?
#
Loqi
[superfeedr] "? This Week in Google #400: Toot, Not Tweet" by Chris Aldrich on 2017-04-14 http://boffosocko.com/2017/04/14/this-week-in-google-400-toot-not-tweet/
#
tantek
miklb I'll take a look at writing those up (how to markup for both /note and /reply, and p-name definition) tonight
#
miklb
tantek++
#
Loqi
tantek has 213 karma in this channel (332 overall)
[mko], mlncn, wolftune and KevinMarks joined the channel
#
GWG
Does anyone have single comment displays?
nitot joined the channel
#
GWG
I'm setting up comment permalinks and they have to go somewhere.
KartikPrabhu joined the channel
#
[mko]
You could use permalinks that link to the entry they're commenting on and then the page position (i.e. `#anchor-fragment`).
#
GWG
[mko]: That is one option.
#
[mko]
My updated site treats them as primitives similar to how Medium handles replies/comments.
#
GWG
How does Medium do it?
#
[mko]
Atomic objects with single comment displays aggregated at the bottom of the entry's page.
tantek joined the channel
KevinMarks and wolftune joined the channel
#
GWG
Interesting
#
GWG
Wonder how to mark that up...
#
[mko]
I just treat the `comment` as an `in-reply-to` `h-entry`.
#
GWG
[mko]: That is interesting.
#
[mko]
I haven't rewritten my `inreplyto` entry layout yet in my new site. This is how I did it before, though:
#
[mko]
{{#if entry.inreplyto}}
#
[mko]
<div class="reply-header"><i class="icon fa fa-reply"></i><span class="text">In Reply To</span></div>
#
[mko]
<section class="reply-context">
#
[mko]
<div class="reply-context-detail">
#
[mko]
{{#each entry.inreplyto}}
#
[mko]
</div>
#
[mko]
<a href="{{this}}" class="u-in-reply-to h-cite{{#compare entry._t "like" operator="=="}} u-like-of{{/compare}}{{#compare entry._t "favorite" operator="=="}} u-favorite-of{{/compare}}" rel="in-reply-to" target="_blank">{{truncurl this}}</a>
#
[mko]
{{/each}}
#
[mko]
<div id="replyembeds"></div>
#
[mko]
</section>
#
[mko]
<section class="main e-content entry-content p-name entry-title">
#
[mko]
<p>{{tweetify entry.content}}</p>
#
[mko]
</section>
#
[mko]
Not sure if that code-block works in IRC, so here's a gist of it: https://gist.github.com/mko/157436bd8c25c5994481ac81476b9983
#
GWG
[mko]: I have to explore how people will parse it. But as an in-reply-to entry may be a parsing issue due the fact it is someone else's in reply on my site.
#
[mko]
I'm using a variety of handlebars helpers in there, but if you strip out that stuff, it's pretty straightforward and parsed properly when displaying them on my site previously.
#
[mko]
It shouldn't be a problem, since you're setting that user as the author `h-card` in the entry markup.
#
[mko]
Now, if you're not allowing true "comments" but are actually only allowing comments by way of `webmention`, then it's a different story. Then you wouldn't want the permalink of the comment to be on your site but rather on their site where they *should* have the `u-in-reply-to` implemented referencing your site.
#
GWG
[mko]: I can't really do that, except by markup on the page.
#
GWG
The issue comes that I need permalinks so someone can webmention a webmention, basically.
#
[mko]
Right. I guess I'm not seeing the issue here.
#
GWG
[mko]: Trying to implement a flexible solution for WordPress. I try to be as general as possible.
#
[mko]
Let me run through the scenario:
#
[mko]
1. You have a standard entry called "Entry 1". This is Permalink 1 and on your site.
#
[mko]
3. You reply to that webmention with your own webmention called "Comment 2". This is Permalink 3 and on your site.
#
[mko]
2. Someone comments with a webmention called "Comment 1". This is Permalink 2 and on some other site.
#
[mko]
At this point, you have a standard entry with a set of comments below it. If a user clicks on "Comment 1", it takes the user away from your site to the one referenced by Permalink 2. On their site, assuming they have proper webmention comment displays, the user can then click on their representation of "Comment 2" to visit Permalink 3 and return to your site.
#
[mko]
And on the permanent post page for "Comment 2" you could either only show the immediate previous `u-in-reply-to` context or you could walk the chain of `u-in-reply-to` contexts by parsing each subsequent `u-in-reply-to` until you've reached the furthest parent. Not really a computationally efficient way to do it, but it's always an option.
#
[mko]
The "show only the immediately previous `u-in-reply-to` context" is effectively how Medium has it implemented.
#
GWG
Yes. I'm going to have to think more.
wolftune, nitot, snarfed, barpthewire, kerozene, Lana and KartikPrabhu joined the channel
#
@jkphl
Today 1 year ago we had the 1st @indiewebcamp in Nuremberg. Join us for the 2nd one, May 20-21, it'll be fun again!… https://twitter.com/i/web/status/853512073413890049
(twitter.com/_/status/853512073413890049)
Guest79232, mlncn, tantek, doubleloop and miklb joined the channel
#
sknebel
good morning!
catsup joined the channel
#
doubleloop
sknebel: .o/
nitot and [jeremycherfas] joined the channel
#
[jeremycherfas]
Good morning
KevinMarks and barpthewire joined the channel
#
sknebel
anyone else working on some indieweb project? I'm trying to complete micropub.rocks ;)
[jeremycherfas] joined the channel
#
[jeremycherfas]
Right now I’m just writing up a visit I made this morning. Maybe later, if there’s time, I’ll do some indieweb.
nitot, KevinMarks and [kevinmarks] joined the channel
#
[kevinmarks]
I did my mastodon thing
#
Zegnat
[kevinmarks]: what stopped you from grabbing the https://instances.mastodon.xyz/list list dynamically?
#
[kevinmarks]
I got a 54 error when I tried
#
[kevinmarks]
(connection reset by peer)
#
[kevinmarks]
Wonder it it is that appengine fetching appengine thing?
#
[kevinmarks]
Or maybe they block default useragents
#
Zegnat
Ah, alright, odd that.
[jeremycherfas], miklb, John_Duh and amdt joined the channel
#
amdt
A many people running personal instances of Mastodon?
#
amdt
This list of over 800 instances is giving me anxiety.
#
plindner
It'll be 801 when I add mine...
#
amdt
I thought mstdn.jp might be a good choice since it’s supporting many users and I’m in Japan.
#
Zegnat
The idea of Federation is that it shouldn’t really matter what instance you pick :)
#
amdt
This server's admin's profile says (translated) 'I'm running an instance for the time being, although we lost the data twice'.
#
@hardfire
@jkphl @indiewebcamp Awesome! And I'd always wanted to organize a conference :D have done a lot of meetups and hackathons.
(twitter.com/_/status/853619883577180160)
#
petermolnar
re Zegnat: I gather the old audioscrobbler stuff from docs I've found around, but there is nothing on the current version; I also couldn't name it anything-audioscrobbler because it's a trademark
mlncn, davidmead and wolftune joined the channel
#
Loqi
[superfeedr] "By: WordPress Digest" by WordPress Digest on 2017-04-15 https://twitter.com/DigestWordpress/status/853334972102459392
davidmead, tantek and [kevinmarks] joined the channel
#
[kevinmarks]
well, it makes a difference in what timeliens yu see by default in mastodon
#
[kevinmarks]
@amdt this is a sample of the local timeline: http://www.unmung.com/mastoview?url=mstdn.jp&view=local - so if you're comfortable with japanese it may suit you
#
Loqi
[superfeedr] "Liked this tweet: ChrisAldrich on Twitter: &#8220;Outline of how I used #Indieweb technology to let Twitter users send @mentions to me on my own website. #WordPress https://t.co/IVY7GEVnkJ&#8220;" by Scott Kingery on 2017-04-16 http://techlifeweb.com/15852-2/
davidmead, wolftune and ben_thatmustbeme joined the channel
#
aaronpk
whoa, there's a new "Verified" tab on twitter
#
aaronpk
i think it's showing me replies and likes from only verified accounts
snarfed and barpthewire joined the channel
#
@josemurilo
A dinâmica do #opensocial: @ntbxp descreve o cenário #indieweb onde se desenvolve a mais nova revolução da Internet… https://twitter.com/i/web/status/853682652402126848
(twitter.com/_/status/853682652402126848)
#
sknebel
aaronpk++ for micropub.rocks, while it is taking me a lot longer than planned it is satisfying to see green checkmarks appear :)
#
Loqi
aaronpk has 491 karma in this channel (1284 overall)
#
sknebel
(also found a bug in mp.rocks, github issue opened)
#
aaronpk
i saw, thanks!
Lana, wolftune, doubleloop, awolf, thisiswolftune, barpthewire and amz3` joined the channel
#
amz3`
io
wolftune, snarfed, awolf, kerozene and Wayny joined the channel
#
Wayny
Hi. I'm looking to start my 1st website!
tantek joined the channel
#
miklb
Wayny howdy! have you looked at https://indiewebify.me ?
#
miklb
IndieWeb doesn't advocate a particular platform, but there are users here from all types, so feel free to ask away.
awolf joined the channel
#
KartikPrabhu
Wayny: do you already have a domain name?
tantek and wolftune joined the channel
#
Wayny
Hi miklb & KartikPrabhu. Yes I have but at the mo. I'm looking from the very beginning & yes I do have a domain name. Never ever done anything like this b4!
#
KartikPrabhu
Wayny: any particular thing you want to do with your website?
#
Wayny
Yes. Social media. The full works!
#
Wayny
I would prefer to not use webhosting site!
#
KartikPrabhu
Wayny: do you have content on your website already or are you looking to start completely from scratch?
#
Wayny
Looking to start completely from scratch!
KevinMarks_ joined the channel
#
KartikPrabhu
Wayny: you might want to take a look at WithKnown to start of https://indieweb.org/known It can be installed on your own server if that is what you'd like to do
#
KartikPrabhu
Wayny: there are also various indieweb plugins for Wordpress https://indieweb.org/WordPress#Getting_Started
#
Wayny
Like I said I am new to this. This is one of few things I don't know to do. I have no knowledge apart from I would like to get this up & running as soon as I can.
#
Wayny
To say I'm green on this or wet between the ears is an understatement!
#
Wayny
I would also like it very secured because of some of the issues that would be covered!
#
Wayny
When you say server. Would that be my internet server?
#
Wayny
errmm. That would be BT then. Not good!
#
KartikPrabhu
Wayny: to host any website you would need a server that sends your files around
#
Wayny
Well OK that would be a start. I'll face the music as & when it comes as long as I don't loss my website.
#
Wayny
The next step would be as I have a server?
#
KartikPrabhu
Wayny: or some place to "host" your website
#
KartikPrabhu
I would still recommend trying out WithKnown to start with. THey seem to have guides on how to install it on various hosting services https://withknown.com/guides/
#
Wayny
Example of some other place to host my website?
#
KartikPrabhu
what is hosting?
#
Loqi
Web hosting can be the primary regular cost in maintaining an IndieWeb site; this page lists several options from free on up depending on your publishing needs, like a static, shared, private, or dedicated server https://indieweb.org/hosting
#
KartikPrabhu
see that link ^
#
Wayny
Thank you very much for all this & your time. I will come back tomoro after I've done some studying on this links. It's much appreciated.
#
KartikPrabhu
Wayny: no problem, feel free to kee asking questions on this channel
#
Wayny
Ok thanks I will! x
wolftune joined the channel
#
Wayny
P.S. I.e. www.domain.com that give me total control without it being taken down for some reason!
KevinMarks joined the channel
#
KartikPrabhu
Wayny: you can use any domain name provider and hosting service that you'd like
#
KartikPrabhu
except then you might need to do some technical stuff to install things that they might not support out-of-the-box
KevinMarks and wolftune joined the channel
#
miklb
is there a mf2 class for a wrapper of the content you are replying to? I know u-in-reply-to on the actual link, curious if something like "p-in-reply" exists.
#
aaronpk
i think you're looking for h-cite
#
miklb
oh, neat. tantek added some markup to /reply-context#Markup is what I was looking for. cheers
#
miklb
er, added to /reply, but /reply-context is what I was looking for