-
-
Notifications
You must be signed in to change notification settings - Fork 292
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
Ability to pass a title for the link and/or automatically generate title #941
Comments
It definitely sounds like something nice to have. Regarding the title autogeneration, I would probably make it disabled by default, allowing users to opt in through installation config or env vars, as many other features. Just to avoid adding a new behavior for users updating from older versions. |
Hey @ajtatum. I have already started to implement this, and there's one use case that I'm not sure how to resolve. It's related with the edition of short URLs. Currently Shlink allows to edit the long URL to which a short URL points, together with a few other properties. My question is, what should happen with the title when the long URL is changed?
I tend to think the third one should be the proper one, so in case you originally provided a custom title during creation, it will be preserved, but updated in any other case. What do you think? |
Are there plans to add a |
Services like Bitly and Rebrandly offer the ability to pass in a title for a link, thus making reporting/UI look a bit cleaner. It's far easier to glance over a page/report and see the titles of pages rather than the long URL, but that may be just a personal preference. Either way, I think it would be nice if a title could be passed in.
For further background, for both services mentioned, if the link title isn't passed in the services use the page title. I'm not sure if they grab it from the title tags or the og:title tag. Either way, it's nice that it if it isn't provided it's automatically generated.
Let me know if you need further information or clarification.
Thank you,
AJ
The text was updated successfully, but these errors were encountered: