this post was submitted on 30 Jul 2023
5 points (100.0% liked)

Photon

2 readers
8 users here now

The community for the Photon Lemmy client.

https://photon.xylight.dev

founded 1 year ago
MODERATORS
 

I've removed SSR in v0.4.7, so you should no longer see a flash between a different instance and your current instance.

top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 1 year ago (1 children)

I think this is probably the right choice... but it now means the title is no longer embedded in the HTML. So programs that just fetch a post such as this one, will not be able to know the title because it requires JavaScript to process it.

I had a bot that would extract titles from URLs, but it now no longer works with Photon links :|

[–] [email protected] 1 points 1 year ago (1 children)

I can revert the change if it's a net negative.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

Nah, I've managed a workaround. What would help though is if you added a metadata entry to identify the page as Photon. Right now it has the catchphrase "An alternative lemmy client with a sleek design" in the description. Maybe change that to "Photon - An alternative lemmy client with a sleek design", or add another meta data attribute that clearly says it is "Photon".

For instance, Voyager has the following description:

Voyager is a beautiful mobile web client for Lemmy. Enjoy a seamless experience browsing the fediverse.

It has has the following title:

Voyager for Lemmy

Something like that would make it easier to detect if it is Photon or not.

Update: oops, it looks like lemmy stripped the embedded HTML tags.

[–] [email protected] 2 points 1 year ago (1 children)

Added in latest git commit.

[–] [email protected] 1 points 1 year ago

Perfect, thanks!