#indiewebcamp 2012-08-28

2012-08-28 UTC
billyoc` and billyoc joined the channel
#
@indiewebcamp
Less than 2 weeks to the first ever @IndieWebCampUK in Brighton 9/9: http://t.co/odyrliOK via @t (ttk.me t4Ke1) #indieweb
dascher_ joined the channel
#
@indiewebcamp
@mxuribe @titanous *camp comes from @barcamp. Tent.io has a good #indieweb pitch
#
@indiewebcamp
@mxuribe @titanous yet tent.io reinvents existing openly developed+implemented protocols. Like tent.io pitch? get http://t.co/n02fQePa today
dascher and tantek joined the channel
#
tantek
aaronpk - I know you said you were working on a different post for marking up dates for blog posts - but do you mind changing the <abbr> markup in your post? The primary problem is that that use, with title="2012-08-12T09:00:00-0700", is a known accessibility/usability problem.
#
tantek
and we've been working hard in #microformats to steer folks away from that use of abbr (out of date wiki pages not withstanding :( )
#
tantek
as your post has been quite well referenced / debated (e.g. on HackerNews), I'm worried even leaving that markup snippet there may lead to it being copy/pasted by others
#
@andybudd
Believe we should be in charge of our own data? Come to IndieWebCamp this Sep in Brighton, arranged by @t - http://t.co/CjImdUCn
dascher and edrex joined the channel
#
@mxuribe
@indiewebcamp I hear ya! Thx!
Alex_Lykos joined the channel
#
Alex_Lykos
hello
#
Alex_Lykos
i found this chat in a google search, and i'm curious, what is indie web camp?
dascher_ joined the channel
#
@indiewebcamp
@adactio: Publishing words on my own blog about publishing words on my own blog. http://t.co/js2ETLxx”. See you @IndieWebCampUK 2012-09-09!
#
@indiewebcamp
@andybudd: Believe we should be in charge of our own data? IndieWebCamp in Brighton 9/9, arranged by @t” & @adactio! http://t.co/lw3JBgzi
tantek joined the channel
#
tantek.com
edited /2012/UK/Guest_List (-3) "update count/remaining, sort participants by full name"
(view diff)
#
tantek
Hi Alex_Lykos, IndieWebCamp is probably best described by the summary at the top of http://indiewebcamp.com
#
tantek
feel free to ask any questions about it!
#
Alex_Lykos
oh, i see, so it basically is a collaboration of web developers who have the desire to own their own content?
#
Alex_Lykos
i'm a photographer and aspiring writer, so i can see where you're coming from
#
tantek
Alex_Lykos, Yes. Web developers, designers, UX/visual etc.
#
tantek
do you have your own site?
#
Alex_Lykos
i can't afford a domain, but i run a site at gfnet.webs.com
#
Alex_Lykos
however, most of my photography is kept on imgur, photobucket, or another site
#
Alex_Lykos
please excuse the ugliness of the design, i have been neglecting my website for years
#
Alex_Lykos
been running it since 2005
#
tantek
one of our goals is to develop open source solutions that make it easier and cheaper to do so (own your own domain, hosting, etc.)
#
tantek
no problem at all - it is good that you're doing it somewhere at all! and then just keep incrementally improving it :)
#
tantek
all of us have stuff on our own sites that we know needs improvement
#
tantek
but that's ok, because we're all in it together, developing in the open, encouraging each other
#
tantek
where are you based?
#
Alex_Lykos
i'm in no way an excellent web designer, haha. in fact most of my site i got designed by a guy free, and i've just been altering the design over the years
#
Alex_Lykos
i have a reasonable amount of knowledge in Photoshop, and took a high school class on HTML
#
tantek
either way, great to have you here, and hope we can help.
#
Alex_Lykos
it's funny, cause i live just outside of one of the technical hubs of the world: Boston @_@
#
tantek
we do have some folks in that area too
#
tantek
hope to do an IndieWebCamp in Boston, maybe sometime next year
#
Alex_Lykos
hope we get a cold winter this year, last year was so miserable
#
Alex_Lykos
we got like....a total of 6 inches of snow :/
#
tantek
if you're ever out here on the west coast, consider coming to IndieWebCamp 2013: indiewebcamp.com/2013
#
Alex_Lykos
as a poor college student, doubt that will happen in the next 5 years xD
#
Alex_Lykos
especially Cali, oh god the heat @_@
#
tantek
Portland is pretty nice in the summer
#
erinjorichey.com
edited /2012/UK/Guest_List (+316) "/* Creators */"
(view diff)
#
aaronpk
tantek: I'm updating the post, what is the simplest value-class-pattern date?
#
aaronpk
Can I do <span class="dtstart"><span class="value" title="2012-08-12T09:00:00-0700">12 hours ago</span></span> or can I do something with just one element?
#
tantek
do you have a preference as to the text display of the absolute date and time?
#
aaronpk
in this example, yes
#
tantek
are you trying to demonstrate the problem with only displaying the "… ago" text?
#
aaronpk
I'm just trying to replace the example on my post
#
tantek
re-reads the context
#
tantek
a-ha: "If you insist on using relative dates, at least mark it up with the…"
#
tantek
got it
#
tantek
so what you want is the time element for just this one
#
aaronpk
so I'm giving two examples, one with the <time> element and one with <span>s
#
tantek
e.g. <time class="dt-published published" datetime="2012-08-12 09:00:00-0700">12 hours ago</time>
#
tantek
since it's in hAtom
#
tantek
dtstart is for hCalendar :)
#
aaronpk
so for the non-<time> version, it would be <span class="published"><span class="value" title="2012-08-12T09:00:00-0700">12 hours ago</span></span>
#
tantek
the equivalent without <time>, with only <span>, uses the microformats value-class-pattern:
#
tantek
almost
#
tantek
you don't want such an unlistenable tooltip showing up on the span
#
tantek
so to do that, the key is to use the value class pattern value-title
#
tantek
e.g. in your example
#
tantek
<span class="dt-published published"><span class="value-title" title="2012-08-12T09:00:00-0700"> </span>12 hours ago</span>
#
tantek
the element with class="value-title" MUST be the first child of the element you're using for the microformats property, and in order for the tooltip to not display / be spoken, you must put only a plain space " " in that first child span. The plain space *is* required for maximum robustness with various markup transformation systems/services, e.g. Tidy, some CMSs etc.
#
tantek
make sense?
#
aaronpk
a little bizarre, but yea
#
tantek
took a lot of iterating / testing by BenWard and myself to figure all that out as far as what would work in actual implementation/production/user situations
#
tantek
any suggestions for how to improve the documentation would be appreciated, as always
#
tantek
I included both the hAtom microformats and h-entry microformats2 property class names to help start encouraging people in the microformats2 direction
#
tantek
presumably you don't mind one extra class name like that
#
tantek
to ensure better forward compat
#
tantek
future-friendliness and all
#
aaronpk
well I tend to use docs as a reference rather than a tutorial, so organizing things by use case is helpful. i.e. having a section dedicated to displaying dates with microformats would be better than having information about dates scattered across a couple pages and sections
#
tantek.com
edited /2012/UK (+383) "/* Posts About */ add Jeremy's blog post and Brighton Digital Festival listing"
(view diff)
#
aaronpk
I didn't notice the date example in "#using_value-title_to_publish_machine-data" until you linked me to it, because I assumed the "#Date_and_time_values" had all the info I needed
#
tantek
aaronpk - ah, you're wanting grouping by use-case, rather than grouping by technology/technique
#
tantek
that makes sense
#
tantek
or perhaps grouping by use-cases first, and then in later sections, the individual technologies can be described in more precise detail (e.g. for parsers)
#
aaronpk
ah yes, there's definitely a difference in how you'd want to read it for content creators vs parsers
#
Alex_Lykos
i have an apple!
#
tantek
reads
#
tantek
looks good with only 2 minor nits
#
tantek
1. use class="dt-published published" instead of "published dt-published" - putting the prefixed version of the classname first helps identify both of them as microformats class names.
#
tantek
2. the <time> element example still has only class="published" - that should be class="dt-published published"
#
tantek
oh and just caught one more reference
#
tantek
3. in "What next?" replace the second bullet with a recommendation to use the <time> element, and if you can't use HTML5, then use value-class-pattern as you've documented.
#
aaronpk
ah great
#
Alex_Lykos
that apple was tasty
#
tantek
refreshes aaronpk's blog post
#
aaronpk
still trying to figure out how to get the code snippets to scroll horizontally when they are too wide. adding all those classes made the lines too wide :)
#
tantek
aaronpk - I typically wrap attribute underneath each other, e.g.
#
tantek
and put class first
#
tantek
since it's kind of a "subclass" of the element itself
#
tantek
<time class="dt-published published"
#
tantek
datetime="2012-08-12T09:00-0700">
#
tantek
12 hours ago
#
tantek
</time>
#
tantek
(lines up in a fixed-width font)
#
aaronpk
that avoids my css problem nicely
#
aaronpk
alright you can refresh now!
#
tantek
examples look great!
#
tantek
now just tweak the second/last bullet of your final section "What's next?" :)
#
aaronpk
right. there we go.
#
tantek
awesome!
#
aaronpk
thanks for the help!
Alex_Lykos, barnabywalters and dascher joined the channel
#
barnabywalters
Alex_Lykos: just seen previous discussion in the logs. Welcome!
#
barnabywalters
I have recently been in a similar situation regarding funds, so I totally get not buying web hosting
dascher_ joined the channel
#
@mxuribe
Thanks so much for the mention! indiewebcamp http://t.co/kssrDeXY
#
@mxuribe
Thanks so much for the mention! indiewebcamp http://t.co/Qdw5Fxp4
#
Alex_Lykos
thank you barnaby
#
Alex_Lykos
speaking of funds, right now, i am actually about to go and pack my computer away for college
#
Alex_Lykos
so i'll see you in a few hours maybe
dascher, barnabywalters and tantek joined the channel
#
barnabywalters
PHP people: I'm pulling together some indieweb-related php classes as composer packages for easy installation and use.
#
barnabywalters
Any thoughts on vendor name?
#
aaronpk
could do "indieweb"?
#
barnabywalters
aaronpk: was thinking that, but packagist says use the library name apart from in certain circumstances
#
barnabywalters
it's all a bit vauge
#
barnabywalters
just wondering if anyone could spot long-term problems with using indieweb as the vendor name
#
barnabywalters
meh. "indieweb" is cleaner and reflects the github URI so I'll go for that
#
barnabywalters
it doesn't change how it's used in code anyway
dascher joined the channel
#
barnabywalters
First indieweb composer package available here: http://packagist.org/packages/indieweb/push
#
barnabywalters
currently just has a publisher client in, please let me know/push any other PuSH classes there too
#
barnabywalters
the idea is to have a repo and package for things like PuSH, Salmon, etc
#
barnabywalters
with assorted different classes inside
#
aaronpk
ah, great idea
#
barnabywalters
all PSR-0 autoloadable and nice
#
barnabywalters
PHP can be a really pleasant language to work in if interfaces, namespaces and autoloading are used!
#
aaronpk
yea it's really not that bad
#
barnabywalters
I'l still wanting to diversify into node.js for realtime stuff and possible give ruby a go, but PHP is still my mainstay
#
aaronpk
ruby is nice because there's a lot of code available as gems
#
barnabywalters
aaronpk: yep, that's my main reason for wanting to give it a go
#
aaronpk
it also results in slightly cleaner looking code, but that alone isn't enough of a reason for me to use it
#
barnabywalters
not rails though. Too big and bulky for my taste and current work
#
aaronpk
yea rails is meh
#
aaronpk
nice for prototyping a site that has the kind of structure rails provides, but most sites don't follow that pattern especially personal sites
#
barnabywalters
as far as I can see, if you want to build a site that works in exactly the way rails works, it's great. otherwise, meh
dascher joined the channel
#
barnabywalters
woo hoo! Managed to move almost all of my dependencies to composer. So much cleaner.
tantek, dascher, spinnerin and josephboyle joined the channel
#
tantek
barnabywalters - re: PHP code/classes - what kind of functionality did you code up that you want to share?
#
tantek
curious how much (if any) could be ported to being CASSIS (rather than classes)
#
tantek
!tell barnabywalters - what kind of PHP code/classes/functionality are you working on sharing? I'm curious how much (if any) could be redone/refactored as functional CASSIS (rather than classes). See http://cassisproject.com/ for more info on CASSIS.
#
Loqi
Ok, I'll tell them that when I see them next