▲ 14 ▼ Piefed finally fixes Lemmy’s ugly post URLs (lemmy.dbzer0.com) submitted 1 year ago by Davy_Jones@lemmy.dbzer0.com to c/lemmy@lemmy.ml 21 comments fedilink hide all child comments
[–] rimu@piefed.social 7 points 1 year ago (10 children) Can you see this? https://piefed.social/c/lemmy@lemmy.ml/p/1384152/piefed-finally-fixes-lemmys-ugly-post-urls permalink fedilink source parent hideshow 10 child comments replies: [–] Die4Ever@retrolemmy.com 4 points 1 year ago* (6 children) It worked in Boost, but on Lemmy UI it doesn't linkify the whole thing You would think markdown would work, but no, these somehow have the same issue: https://piefed.social/c/lemmy@lemmy.ml/p/1384152/piefed-finally-fixes-lemmys-ugly-post-urls https://piefed.social/c/lemmy@lemmy.ml/p/1384152/piefed-finally-fixes-lemmys-ugly-post-urls permalink fedilink source parent hideshow 6 child comments replies: [–] rimu@piefed.social 4 points 1 year ago* (3 children) Ok we're now generating links like this instead https://piefed.social/c/politics/p/1385905/will-the-supreme-court-hand-government-contractors-blanket-immunity permalink fedilink source parent hideshow 3 child comments replies: [–] Die4Ever@retrolemmy.com 1 point 1 year ago (2 children) That does work! What about if it's a remote community? Does it just use the post ID number to determine what instance it's actually from? permalink fedilink source parent hideshow 2 child comments replies: [–] rimu@piefed.social 4 points 1 year ago (1 child) The only part of the url that actually does anything is p/1385905 which functions the same way piefed.social/post/1385905 does. So that /c/politics bit has no effect on which post is displayed and it could be any string of gibberish. There are communities called 'politics' on many instances and this url scheme doesn't differentiate between them, but I'm ok with that. permalink fedilink source parent hideshow 1 child comment replies: [–] Die4Ever@retrolemmy.com 1 point 1 year ago I think that's pretty standard for URL slugs permalink fedilink source parent [–] rimu@piefed.social 3 points 1 year ago* (last edited 1 year ago) (1 child) Oh, interesting. I think having a '@' in the url is going to be a problem for a lot of different software. I'll remove that part. permalink fedilink source parent hideshow 1 child comment replies: [–] mapto@feddit.it 2 points 1 year ago Maybe the @ could be replaced by "at", just for legibility and transparency? Of course, there's always URL escapes, but that's for clients to do permalink fedilink source parent [–] nokturne213@sopuli.xyz 1 point 1 year ago* (2 children) @sjmarf@lemmy.ml @ericbandrews@lemmy.ml I get the following error when clicking this link in Mlem: Optional(No entity returned in response.) permalink fedilink source parent hideshow 2 child comments replies: [–] sjmarf@lemmy.ml 3 points 1 year ago (1 child) Thanks, we’ll add support for the new link format 👍 permalink fedilink source parent hideshow 1 child comment replies: [–] rimu@piefed.social 4 points 1 year ago I have removed the @ now, perhaps that'll make it easier for you. permalink fedilink source parent
[–] Die4Ever@retrolemmy.com 4 points 1 year ago* (6 children) It worked in Boost, but on Lemmy UI it doesn't linkify the whole thing You would think markdown would work, but no, these somehow have the same issue: https://piefed.social/c/lemmy@lemmy.ml/p/1384152/piefed-finally-fixes-lemmys-ugly-post-urls https://piefed.social/c/lemmy@lemmy.ml/p/1384152/piefed-finally-fixes-lemmys-ugly-post-urls permalink fedilink source parent hideshow 6 child comments replies: [–] rimu@piefed.social 4 points 1 year ago* (3 children) Ok we're now generating links like this instead https://piefed.social/c/politics/p/1385905/will-the-supreme-court-hand-government-contractors-blanket-immunity permalink fedilink source parent hideshow 3 child comments replies: [–] Die4Ever@retrolemmy.com 1 point 1 year ago (2 children) That does work! What about if it's a remote community? Does it just use the post ID number to determine what instance it's actually from? permalink fedilink source parent hideshow 2 child comments replies: [–] rimu@piefed.social 4 points 1 year ago (1 child) The only part of the url that actually does anything is p/1385905 which functions the same way piefed.social/post/1385905 does. So that /c/politics bit has no effect on which post is displayed and it could be any string of gibberish. There are communities called 'politics' on many instances and this url scheme doesn't differentiate between them, but I'm ok with that. permalink fedilink source parent hideshow 1 child comment replies: [–] Die4Ever@retrolemmy.com 1 point 1 year ago I think that's pretty standard for URL slugs permalink fedilink source parent [–] rimu@piefed.social 3 points 1 year ago* (last edited 1 year ago) (1 child) Oh, interesting. I think having a '@' in the url is going to be a problem for a lot of different software. I'll remove that part. permalink fedilink source parent hideshow 1 child comment replies: [–] mapto@feddit.it 2 points 1 year ago Maybe the @ could be replaced by "at", just for legibility and transparency? Of course, there's always URL escapes, but that's for clients to do permalink fedilink source parent
[–] rimu@piefed.social 4 points 1 year ago* (3 children) Ok we're now generating links like this instead https://piefed.social/c/politics/p/1385905/will-the-supreme-court-hand-government-contractors-blanket-immunity permalink fedilink source parent hideshow 3 child comments replies: [–] Die4Ever@retrolemmy.com 1 point 1 year ago (2 children) That does work! What about if it's a remote community? Does it just use the post ID number to determine what instance it's actually from? permalink fedilink source parent hideshow 2 child comments replies: [–] rimu@piefed.social 4 points 1 year ago (1 child) The only part of the url that actually does anything is p/1385905 which functions the same way piefed.social/post/1385905 does. So that /c/politics bit has no effect on which post is displayed and it could be any string of gibberish. There are communities called 'politics' on many instances and this url scheme doesn't differentiate between them, but I'm ok with that. permalink fedilink source parent hideshow 1 child comment replies: [–] Die4Ever@retrolemmy.com 1 point 1 year ago I think that's pretty standard for URL slugs permalink fedilink source parent
[–] Die4Ever@retrolemmy.com 1 point 1 year ago (2 children) That does work! What about if it's a remote community? Does it just use the post ID number to determine what instance it's actually from? permalink fedilink source parent hideshow 2 child comments replies: [–] rimu@piefed.social 4 points 1 year ago (1 child) The only part of the url that actually does anything is p/1385905 which functions the same way piefed.social/post/1385905 does. So that /c/politics bit has no effect on which post is displayed and it could be any string of gibberish. There are communities called 'politics' on many instances and this url scheme doesn't differentiate between them, but I'm ok with that. permalink fedilink source parent hideshow 1 child comment replies: [–] Die4Ever@retrolemmy.com 1 point 1 year ago I think that's pretty standard for URL slugs permalink fedilink source parent
[–] rimu@piefed.social 4 points 1 year ago (1 child) The only part of the url that actually does anything is p/1385905 which functions the same way piefed.social/post/1385905 does. So that /c/politics bit has no effect on which post is displayed and it could be any string of gibberish. There are communities called 'politics' on many instances and this url scheme doesn't differentiate between them, but I'm ok with that. permalink fedilink source parent hideshow 1 child comment replies: [–] Die4Ever@retrolemmy.com 1 point 1 year ago I think that's pretty standard for URL slugs permalink fedilink source parent
[–] Die4Ever@retrolemmy.com 1 point 1 year ago I think that's pretty standard for URL slugs permalink fedilink source parent
[–] rimu@piefed.social 3 points 1 year ago* (last edited 1 year ago) (1 child) Oh, interesting. I think having a '@' in the url is going to be a problem for a lot of different software. I'll remove that part. permalink fedilink source parent hideshow 1 child comment replies: [–] mapto@feddit.it 2 points 1 year ago Maybe the @ could be replaced by "at", just for legibility and transparency? Of course, there's always URL escapes, but that's for clients to do permalink fedilink source parent
[–] mapto@feddit.it 2 points 1 year ago Maybe the @ could be replaced by "at", just for legibility and transparency? Of course, there's always URL escapes, but that's for clients to do permalink fedilink source parent
[–] nokturne213@sopuli.xyz 1 point 1 year ago* (2 children) @sjmarf@lemmy.ml @ericbandrews@lemmy.ml I get the following error when clicking this link in Mlem: Optional(No entity returned in response.) permalink fedilink source parent hideshow 2 child comments replies: [–] sjmarf@lemmy.ml 3 points 1 year ago (1 child) Thanks, we’ll add support for the new link format 👍 permalink fedilink source parent hideshow 1 child comment replies: [–] rimu@piefed.social 4 points 1 year ago I have removed the @ now, perhaps that'll make it easier for you. permalink fedilink source parent
[–] sjmarf@lemmy.ml 3 points 1 year ago (1 child) Thanks, we’ll add support for the new link format 👍 permalink fedilink source parent hideshow 1 child comment replies: [–] rimu@piefed.social 4 points 1 year ago I have removed the @ now, perhaps that'll make it easier for you. permalink fedilink source parent
[–] rimu@piefed.social 4 points 1 year ago I have removed the @ now, perhaps that'll make it easier for you. permalink fedilink source parent