#dev 2017-11-20
2017-11-20 UTC
KartikPrabhu, tantek, [keithjgrant], snarfed, bengo and [miklb] joined the channel
#
aaronpk !tell Zegnat I updated the docs for Caterpillar, including a new section on running as a system service: https://github.com/aaronpk/Caterpillar#running-as-a-system-service Let me know if that helps! There's also a folder with an example of how all the code fits together.
renem, [manton], [chrisaldrich], [miklb] and tantek joined the channel
#
@frankmeeuwsen @ChrisAldrich @disqus I still need to work on a migration to webmentions! (twitter.com/_/status/932492878412156928)
KartikPrabhu and cweiske joined the channel
#
@tamssokari Yet another beauty of the web is in discovery of shared interests by someone whose paths have crossed with yours.
(last RT was discovered through a comment / webmention on @adactio's blog) (twitter.com/_/status/932512565023952896)
amz3 joined the channel
#
@tamssokari Yet another beauty of the web is in discovery of shared interests with someone whose path has crossed yours.
(last RT was discovered through a comment / webmention on @adactio's blog) (twitter.com/_/status/932512805659594752)
[pfefferle], [jeremycherfas], loicm and [kevinmarks] joined the channel
#
Zegnat [kevinmarks], cweiske, https://cyber.harvard.edu/rss/encodingDescriptions.html seems to suggest you just get the content of <description> and decode HTML entities once to get to the HTML content of an RSS item
#
Loqi Zegnat: aaronpk left you a message 9 hours, 21 minutes ago: I updated the docs for Caterpillar, including a new section on running as a system service: https://github.com/aaronpk/Caterpillar#running-as-a-system-service Let me know if that helps! There's also a folder with an example of how all the code fits together.
#
ancarda I saw something the other day about calculating the length of a Tweet, was it this library? https://github.com/twitter/twitter-text I seem to remember it had a commit about t.co links being https:// soon. Am I mis-remembering?
[kevinmarks] joined the channel
#
[kevinmarks] The content:encoding thing is including an external xml module from the RDF fork of rss http://web.resource.org/rss/1.0/modules/content/
#
[kevinmarks] The rss spec is short because it does not cover this kind of complexity
#
Zegnat [kevinmarks], I feel like https://cyber.harvard.edu/rss/encodingDescriptions.html is pretty clear about encoding
#
[kevinmarks] so <content:encoded><![CDATA[ in RSS needs the xmlns:content="http://purl.org/rss/1.0/modules/content/" header
#
[kevinmarks] so it's actually an <encoded> tag from that namespace
#
[kevinmarks] <content><![CDATA[ in Atom is a native element defined to be full text
#
[kevinmarks] rather <content type="html"><![CDATA[
#
[kevinmarks] you can do the thing tantek does, and put xhtml in there without escaping, but it often confuses parsers
#
[kevinmarks] you can also put <content type="text"> and either CDATA it or just use xml escaping.
#
[kevinmarks] no, that is quixotic and likely to make your feed fail if you accidentally get it wrong
#
[kevinmarks] feedparser has a lot of code to deal witg this kind of thing
eli_oat and tantek joined the channel
KartikPrabhu joined the channel
#
petermolnar Zegnat you mean systemd unit files?
[manton] joined the channel
#
petermolnar poke me if you get stuck, but it should be rather straightforward
[kevinmarks] joined the channel
#
aaronpk there's /etc/init/, /etc/init.d/, and /etc/systemd/, and I can never remember which is the "right" one to use
#
Zegnat I was going to go with https://mozilla.github.io/server-side-tls/ssl-config-generator/ until I learned that nginx can’t handle separate settings per vhost, so I need to decide on one.
#
ancarda If you use `systemctl install foo.service`, AFAIK systemd will symlink to that from /etc/systemd/system/foo.service
#
petermolnar aaronpk 'systemctl [action] [stuff]'
#
petermolnar or 'service [stuff] [action]'
#
petermolnar don't use the directory links
#
petermolnar systemctl enable x
#
petermolnar oh, you mean new unit files?
#
petermolnar for that you need the paths, yes, but that's /lib/systemd/system on debian imo
#
aaronpk omg there's /lib/systemd on ubuntu too.
#
aaronpk not whatever /etc/init/ is?
#
petermolnar as init system? that's the de facto at this point in time
#
petermolnar /etc/init is ancient
#
aaronpk it's newer than /etc/init.d/
#
petermolnar /etc/init.d is the old place for bash scripts
#
petermolnar sorry, that's etc/inittab
#
petermolnar the ancient one
#
petermolnar yeah, it's a bit messy
#
sknebel petermolnar: afaik /lib/systemd/system is for system provided units, /etc/systemd/system for administrator added/overrides
#
aaronpk also the docs are super confusing, because the first result for "ubuntu systemd" is this page with a pretty good URL https://wiki.ubuntu.com/systemd which has this giant warning at the top "The information on this page is severely out of date. Don't use it!"
#
petermolnar I has root, I use /lib :D
#
Loqi [cweiske] phubb: PHP PubSubHubbub server. Mirror of http://git.cweiske.de/phubb.git/
KartikPrabhu joined the channel
#
petermolnar the archlinux wiki is usually very good for understanding things
#
petermolnar but it differs from ubuntu here and there
#
petermolnar however, to simple get a basic understanding, it's usually the best source
#
sknebel aaronpk: on there, specifically the "The systemd for Administrators Blog Series" and then the man pages e.g. https://www.freedesktop.org/software/systemd/man/systemd.unit.html# + of course serverfault ;)
#
petermolnar a note to the @ unit files: you can't use invalid usernames with that, eg. I forced usernames to match domain names - systemd doesn't accept that with @, so in that case, use the user id
#
sknebel Zegnat: that "@ trick" is the idea of "instances" http://0pointer.de/blog/projects/instances.html
#
petermolnar the @ is how I run multiple spotify instances on the same server
#
petermolnar btw if you need tricky dependencies, such as timestamp change on file -> restart X, I still use monit
#
petermolnar so whenever the ssl certs are regenerated, it automatically restarts the relevant services
#
aaronpk you'll end up implementing https://github.com/aaronpk/Caterpillar/blob/master/src/Caterpillar.php#L105 and https://github.com/aaronpk/Caterpillar/blob/master/src/Caterpillar.php#L51 directly
snarfed and [miklb] joined the channel
#
aaronpk oh I see what's going on, that's showing up inside the h-cite instead of on the h-entry https://pin13.net/mf2/?url=https%3A%2F%2Fmiklb.com%2F2017%2F11%2Fchristian-heilmann-web-truths-the-web-is-better-than-any-other-platform-as-it-is-backwards-compatible-and-fault-tolerant%2F
KartikPrabhu joined the channel
[kevinmarks] joined the channel
#
loqi.me edited /Facebook (+85) "[kevinmarks] added "We Can't Trust Facebook to Regulate Itself - New York Times http://nzzl.us/6FLIrHJ" to "See Also"" (view diff)
KartikPrabhu joined the channel
tantek joined the channel
[miklb] joined the channel
snarfed joined the channel
#
petermolnar I'm going to ask the unholy question: are there any proper xml namespace hacks/includes to serve atom AND rss in the same file? :D
[miklb] and dougbeal|mb1 joined the channel
#
Loqi It looks like we don't have a page for "target mismatch" yet. Would you like to create it?
[manton] joined the channel
[cleverdevil] joined the channel
#
[cleverdevil] drama--
snarfed joined the channel
#
Loqi It looks like we don't have a page for "netdna-ssl.com" yet. Would you like to create it?
#
Loqi It looks like we don't have a page for "netdna-ssl" yet. Would you like to create it?
tantek and [kevinmarks] joined the channel
#
[kevinmarks] dgold You could use the unmung template, it's jinja2 so close to the Hugo style
#
[kevinmarks] Oh, maybe not, the template is doing the name mapping https://github.com/kevinmarks/unmung/blob/master/hfeed.html
#
[kevinmarks] I forgot I did it that way
amz3 and KartikPrabhu joined the channel
#
@CodingItWrong The #indieweb is a return to the original vision of the web; I want to make an 88x31px “Works With Webmentions” badge (cc @keithjgrant) (twitter.com/_/status/932731732985565187)
tantek joined the channel
[keithjgrant] and [kevinmarks] joined the channel
KartikPrabhu joined the channel
#
tantek.com edited /jargon (+120) "expand with indieweb examples to relate to indieweb, add word as new acronym usage as well" (view diff)
#
tantek here it is - the poorly named "Semantic Scripting" for how I figured how to make a file that is both HTML and Javascript simultaneously http://tantek.com/log/2002/11.html#L20021121t1730
#
tantek The example, rather than the backstory: http://tantek.com/log/targetsheet.html
#
tantek.com edited /wikifying (+640) "/* Define jargon */ Definitions include indieweb relevance" (view diff)
