stalla icon indicating copy to clipboard operation
stalla copied to clipboard

Podcast Pingback namespace support

Open mpgirro opened this issue 3 years ago • 4 comments

Podcast Pingback is a method for reporting listening activity back to a podcast publisher. The namespace is https://podping.info/specification/1.

Examples:

<channel>
  <pingback:receiver>pingback-receiving-server</pingback:receiver>
</channel>
<item>
  <pingback:receiver>pingback-receiving-server</pingback:receiver>
</item>

The latest analysis results show that 1,2% of feeds declare the receiver element in the <channel> and < 0,0% in an <item>.

mpgirro avatar Apr 22 '21 12:04 mpgirro

and < 0,0% in an <item>.

Is this correct? Sounds odd :)

rock3r avatar Apr 22 '21 12:04 rock3r

I'm afraid it's correct. Had the glorious idea to use this formatting rule:

when (percentage) {
    0.0 -> "0"
    100.0 -> "100"
    else -> percentage.round(1)
} + "%"

So we only know that 0% < frequency < 0,1% for receiver 😅

mpgirro avatar Apr 22 '21 12:04 mpgirro

Ok, now that I've written this, I should have used < 0,1% in the first place...

mpgirro avatar Apr 22 '21 12:04 mpgirro

Ahaha yeah would've been a bit clearer, but that's ok, thanks for explaining :)

rock3r avatar Apr 22 '21 13:04 rock3r