#dev 2016-10-25

2016-10-25 UTC
#
gregorlove.com
edited /Nominatim (+24) "IndieWeb Examples heading, heading size, "for example" in dfn"
(view diff)
singpolyma, KevinMarks_ and KevinMarks joined the channel
#
david.shanske.com
edited /WordPress/Data (+222) "/* Microformats data */"
(view diff)
tantek, KevinMarks, KevinMarks_ and loicm joined the channel
#
www.boffosocko.com
created /accessibility (+2859) "stub of a page to support our people-centric and UX/UI first principles"
(view diff)
gRegorLove joined the channel
#
GWG
I have a microformats storage problem. I currently store just a URL in properties like in-reply-to and metadata on the URL in a key called cite. snarfed made me think about moving from a string to an array for things like in-reply-to, but what do I do with the metadata?
#
tantek
what sorts of metadata are you storing?
KevinMarks joined the channel
#
KartikPrabhu
might be of general dev interests: http://www.webbloatscore.com/
#
aaronpk
hahaha
#
aaronpk
"a surprising number of pages would be faster if Tim had created a pixel transfer protocol."
#
Loqi
nice
#
KartikPrabhu
yeah it is pretty tongue-in-cheek, but also a decent measure of bloat
#
KartikPrabhu
wow! tantek's homepage is an amazing 0.249!
#
Loqi
tantek has 1 karma in this channel (308 overall)
#
tantek
wait is that good?
#
tantek
what's the range / scale / comparison to others?
#
KartikPrabhu
yeah it means your screenshot is bigger than your HTML :P
#
KartikPrabhu
WebBS = HTML size / screenshot size ;)
#
KartikPrabhu
webfonts seem to be the major hurdle to staying below WebBS = 1
#
tantek
The NOSCRIPT add-on blocks webfonts by default
#
tantek
so much nicer to get pages faster than some designer's sense of an important detail. so few pages actually benefit in any appreciable way from the marginal improvement
#
KartikPrabhu
sure. WebBS does count them though
#
KartikPrabhu
lol! GooglePlus comes in at a whopping 16.2 ! This is without login
KevinMarks_ joined the channel
#
tantek
sounds like they need a leaderboard of best/worst
#
KartikPrabhu
TBL's page would be best I suppose 0.204 or something
#
ben_thatmustbeme
BTW, anyone with any more bug reports or fixes for https://inklings.io/inkstone/
#
bear
1.06 for my home page and 2.15 for my web log
#
ben.thatmustbe.me
created /inkstone (+824) "creating inkstone page"
(view diff)
#
ben.thatmustbe.me
edited /inkstone (+51) "fix dfn, include link"
(view diff)
#
ben_thatmustbeme
what is inkstone
#
ben_thatmustbeme
what is inkstone?
#
Loqi
Inkstone (formerly MobilePub) is a web app for posting various items to your website using micropub https://indieweb.org/inkstone
#
ben.thatmustbe.me
edited /inkstone (+18) "make URL readable"
(view diff)
#
ben.thatmustbe.me
edited /mobilepub (-1) "Redirected page to [[inkstone]]"
(view diff)
#
ben.thatmustbe.me
edited /MobilePub () "(-1080) redirect"
(view diff)
#
ben.thatmustbe.me
edited /User:Ben.thatmustbe.me (-283) "rename mobilepub"
(view diff)
KevinMarks joined the channel
#
KartikPrabhu
ben_thatmustbeme: the <title> of Inkstone still says "MobilePub"
#
ben_thatmustbeme
thanks KartikPrabhu
#
ben.thatmustbe.me
edited /inkstone (+1) "minor cleanup"
(view diff)
#
ben.thatmustbe.me
moved /inkstone to /InkStone "consistent naming"
#
ben.thatmustbe.me
edited /mobilepub (+0) "consistent naming"
(view diff)
#
ben.thatmustbe.me
edited /MobilePub (+0) "consistent naming"
(view diff)
#
ben.thatmustbe.me
edited /User:Ben.thatmustbe.me (+0) "consistent naming"
(view diff)
#
KartikPrabhu
ben_thatmustbeme: I meant at the URL https://inklings.io/inkstone/#/login the <title> element still says "MobilePub"
#
ben_thatmustbeme
i just updated that
#
ben_thatmustbeme
hmm, its still doing that though
#
ben_thatmustbeme
KartikPrabhu: i corrected it in all the spots in the code now
#
ben_thatmustbeme
should be good, seems caching is still keeping it on some of them for me
#
ben_thatmustbeme
i think i may remove mp-type from the list of default options
#
ben_thatmustbeme
since it is a bit controversial
KevinMarks joined the channel
#
GWG
tantek: Title of Article, Publication Date, Summary, Author HCard...
KevinMarks_ joined the channel
#
tantek
GWG those sound like a parsed microformat cache of the URL
#
tantek
and I would advise separating (or at least distinguishing) cache from storage
#
GWG
tantek: So, not store it in the post object itself?
#
GWG
I'm not sure I intend to retrieve it again. It is more of a point in time.
#
GWG
Distinguish how?
#
tantek
that's up to you. point being it's information *from* somewhere else, not something you wrote or created.
#
tantek
being a cache, it's not strictly necessary for export/import, reconstruction of your posts etc.
#
KartikPrabhu
ben_thatmustbeme: <title> shows up correctly for me now
#
tantek
caching it is an optimization of sorts, not having to continuously re-retrieve that information from the web every time you want to display it on your site
#
tantek
you can also treat that cache as a snapshot (archive) of that parsed microformat information from that URL as of the time you retrieve it which is likely close to when you posted your response about / in-reply-to it
#
tantek
then you can later decide how important (or not) is it for you to keep that original snapshot vs. allowing it to disappear / be reretrieved / or updated later
#
GWG
That is going to be difficult to change though. But I'll think about how I might move it out of post meta and where it might go. Or I may just keep storing it in Post Meta and figure out a different key for it.
#
tantek
sure, you can keep it together as you currently do
#
tantek
my point was to *not* try to cluster / collapse it further together
#
tantek
and if you're changing anything like that, tend towards separation, since the source of the information is separate
#
tantek
(and potentially a vulnerability, something you want to filter etc., e.g. if that parsed "title" ends up being a megabyte or something)
#
gRegorLove
Nice logo, ben_thatmustbeme
#
tantek
BTW that "potentially" is one of the problems I've been thinking about needing/wanting to solve as part of supporting any degree of parsing other people's stuff (including supporting receiving / displaying webmentions)
#
GWG
tantek: WordPress has a feature regarding that. They have a function that limits the return to a safe amount.
KevinMarks joined the channel