Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing post name/URL not updating on the Mastodon side #237

Open
wakest opened this issue Jan 14, 2020 · 1 comment
Open

Changing post name/URL not updating on the Mastodon side #237

wakest opened this issue Jan 14, 2020 · 1 comment
Labels

Comments

@wakest
Copy link

@wakest wakest commented Jan 14, 2020

easiest just to show this as a screenshot.

image

I am following my blog scream.today/daily from my mastodon instance social.wake.st/@liaizon

I have mistitled a blog post so I changed the title and the slug. I load my profile in mastodon and it has the old title and url. so if I click the link it 404's because I changed it. if I search the updated url from mastodon it does not show the new data.

Version or last commit:
scream.today running
writefreely v0.11.2

social.wake.st running
mastodon 3.0.1

@thebaer thebaer modified the milestone: 0.12 Jan 14, 2020
@thebaer

This comment has been minimized.

Copy link
Member

@thebaer thebaer commented Jan 14, 2020

Thanks for the report!

I'm not sure if fediverse platforms support updating post URIs (most completely ignore the Update activity), so the right fix could mean sending out ugly ID-based URLs for posts in the fediverse instead of their slug-based URLs.

Another solution (probably a good middle-ground) would be to send out ID + slug (Medium style) URLs to the fediverse, and only parse the ID on the WF end to retrieve the post. That would keep semi-pretty URLs, at least.

Otherwise, the least-ideal solution would be to just track slug changes and redirect people on the WF side. This isn't ideal, because as soon as a new post uses an old (redirecting) slug, that redirect gets removed.

We'll need to see how much work this'll involve and then we can get it in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.