~cadence

https://cadence.moe

Trackers

~cadence/bibliogram-issues

Last active 6 days ago

~cadence/tube

Last active a month ago

~cadence/bliz

Last active 1 year, 2 months ago

#44 Favicons 13 days ago

Comment by ~cadence on ~cadence/bibliogram-issues

Awesome, let me know if there's anything else I can do here in future.

REPORTED RESOLVED INVALID

#44 Favicons 13 days ago

Comment by ~cadence on ~cadence/bibliogram-issues

The feed URLs should be correct. The rss.xml and atom.xml documents are XML, which means some characters in them are escaped. & holds special meaning in XML, it can trigger the representation of strange characters. But in the image URLs, we want a literal & which must be represented as & in the XML document. When a program reads this document, it will automatically convert & back to & - or, it will if it's programmed properly!

Here's an example of extracting the real image URL from a feed using a program that understands XML. I'm using the local instance localhost:10407 here so that I don't have to worry about rate limiting for my example. The packages get-stream and fast-html-parser are available if you run this in your Bibliogram installation directory, so cd there and this example should work for you too.

curl -Ss localhost:10407/u/hannes_becker/atom.xml | node -e '
     fhp = require("fast-html-parser")
     gs  = require("get-stream")
     gs (process.stdin).then(xml =>
         console.log(fhp.parse(xml).querySelector("logo").text))'

The result is:

http://localhost:10407/imageproxy?userID=174143945&url=https%3A%2F%2Finstagram.fchc1-1.fna.fbcdn.net%2Fv%2Ft51.2885-19%2Fs150x150%2F123121653_751524578912307_2164506004797818307_n.jpg%3F_nc_ht%3Dinstagram.fchc1-1.fna.fbcdn.net%26_nc_cat%3D1%26_nc_ohc%3DoeRaQ5cGGyUAX9E28zZ%26edm%3DAAuNW_gBAAAA%26ccb%3D7-4%26oh%3D00_AT9sD3fdwkd8Qql27-j314OsDD3kjeNBqjFT4awWZFelzg%26oe%3D61E59C51%26_nc_sid%3D498da5

And if I open this URL in my browser, I see the picture.

#44 Favicons 14 days ago

Comment by ~cadence on ~cadence/bibliogram-issues

How do I set a different favicon for each feed?

#46 Accessibility issues a month ago

Comment by ~cadence on ~cadence/tube

I believe I have addressed all of the issues that you raised.

REPORTED RESOLVED IMPLEMENTED

#46 Accessibility issues a month ago

Comment by ~cadence on ~cadence/tube

Cadence Ember referenced this ticket in commit 893c22a.

#46 Accessibility issues a month ago

Comment by ~cadence on ~cadence/tube

Cadence Ember referenced this ticket in commit 4bd832e.

#46 Accessibility issues a month ago

Comment by ~cadence on ~cadence/tube

Cadence Ember referenced this ticket in commit bec802f.

#46 Accessibility issues a month ago

Comment by ~cadence on ~cadence/tube

Cadence Ember referenced this ticket in commit e97d1b9.

#46 Accessibility issues a month ago

Comment by ~cadence on ~cadence/tube

Cadence Ember referenced this ticket in commit 5a5901d.

#46 Accessibility issues a month ago

Comment by ~cadence on ~cadence/tube

Sadly, YouTube does not appear to give any data regarding the language of a video or its metadata. (I checked the HTML tree and the yt-dlp JSON output, and didn't find anything.)

I did notice it does have a lang attribute on its website, however, this reflects the currently selected language of the interface, rather than the language of the content within.

Even if there was data for the current video it would still be mismatched for other data like the titles of recommended videos.

I won't include a lang attribute in my pages so that the screen reader software can decide whatever is best. There is more text in title, description, and recommendations, than there is in the CloudTube user interface. And who knows, maybe the reader software would be smart enough to pick up that some elements are using a different language than other elements.

Once again, thanks for your review.