#Loqi[Marty McGuire] This Week in the IndieWeb Audio Edition • May 6th - 12th, 2017
#[eddie]This is unfortunate. While I’ve been working on grabbing Podcast info from web pages for some semi-automation on my ‘u-listen-of’ posts, If I start at an overcast URL (which is what I get from the overcast player, I can use the permalink to get to the huffduffer page, but then there is no way for me to get back to your original page ?
tantek joined the channel
#[eddie]This is unfortunate primarily because unless I missed something, that’s the only podcast feed you provide is through huffduffer, correct?
[sebsel] joined the channel
#[sebsel]Zegnat++ for working at the Kirby Toolkit Link-header fix instead of sleeping :D
#Loqizegnat has 5 karma in this channel (48 overall)
#aaronpki *think* the foursquare api is giving me unicode code point offsets rather than emoji character offsets
#aaronpkso for this JSON string "\ud83c\udf78 \u2014 with Joschi, Amber" (? — with Joschi, Amber) it says Joschi's name is from [10,16] and Amber is from [18,23]
#aaronpki might have to make some test checkins with more ZWJ emoji to really be sure
#schmarty!tell [eddie] thanks for the heads-up. I can add "originally posted" links to my huffduffer copies in the future.
#Loqischmarty: [eddie] left you a message 4 hours ago: Something weird I’ve noticed with HuffDuffer for podcasts. It doesn’t ever link back to the original post: https://huffduffer.com/schmarty/407720
#aaronpkconfirmed, it's definitely telling me code points
#aaronpkso "\ud83d\udc69\ud83c\udffc\u200d\ud83c\udf73 \u2014 with Asha" (??? — with Asha) says the name starts at offset 15
#ZegnatI would not be surprised if many string parsers are very happy about that, aaronpk
#aaronpki can't figure out how to find the right spot!
#cweiskeaaronpk, didn't you say your server will have the iwc-video after livestreaming?
#Zegnataaronpk, mb_substr can’t cut in the right place using some alternative encoding? Forced 8bit encoding?
#aaronpkcweiske: i recorded the last demo sessions to my laptop, but otherwise they're all up on youtube
#cweiskeI thought I had heard that first your blog would show the live stream, and when that's over and the server finished converting the video, it would be replaced with a video post
#aaronpkyeah, i have that mostly working, but i used youtube this weekend instead
#sknebelI feel like a big thing with private webmention is that there is no clear identity of the receiver
#sknebelwhich I think clouds my thinking here right now. and is completely different from e.g. a wiki bot
#Zegnataaronpk: I just ran mb_substr($input, $offset['indices'][0], $offset['indices'][1], $encoding) for every mb_list_encodings(). It is easy to extract Asha’s name in GB18030, CP936, BIG-5, CP950, and UHC. If you are looking for an even more horrendous hack.
#Loqizegnat has 6 karma in this channel (49 overall)
#sknebelwouldn't one expect something called "mb_substr" to work on codepoints, when the correct encoding is given? or am I missing a distinction again?
#Zegnatsknebel, mb_* is “too clever”. It understands that some codepoints come together to form a single character. So that’s how it will count them when you give the proper encoding. But Swarm apparently doesn’t count characters for their indices. So you need a way to access the codepoints behind the characters.
#ZegnatIf that makes sense (based on my understanding)
#ZegnatMost of the converted multibyte strings do what you would expect. Give you the letter “a” as that is the character on the Swarm specified offset. Note, most. EUC is interesting for returning the last two characters: http://zegnat.net/media/aaronpk.php
sebsel, KevinMarks and KevinMarks_ joined the channel
#tantektrying again with more debugging (Bridgy Publish that is)
#gRegorLoveAnother XML feed criticism... when the GUIDs change and all of the old item show up as new again. Particularly frustrating with podcast feeds when your iPod tries to download all of them again. :)
#tantekthe folks assuming "IDs fix all the things!" will not change their faith about that until there are sufficient counter-examples
#gregorlove.comedited /RSS (+553) "/* Issues */ === Items appearing as new again === + screenshot placeholder" (view diff)
#tantekwell this helps a bit (in my Bridgy debugging)
#tantek"Bridgy Publish photo to Twitter http code:400 { "error": "Publish is not enabled for your account. Please visit https://brid.gy and sign up!" }"
#gRegorLoveI'm mostly making an educated guess there. In this instance I haven't been paying attention to the GUIDs in the feed, but I've definitely noticed it with friends switching their site from one CMS to another
#gRegorLoveAnd I've caused it to happen with my own Atom feed before too
#[jeremycherfas]gregorlove I had that myself just this morning, with a podcast episode from a couple of years ago suddenly downloaded again. But just one.