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

URL transformation #219

Open
audi5 opened this issue Sep 29, 2021 · 3 comments
Open

URL transformation #219

audi5 opened this issue Sep 29, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@audi5
Copy link

audi5 commented Sep 29, 2021

We need a URL transformation service that transforms and changes URLs across locales / languages and even instances.

Within Adobe.com we have multiple AEM instances setup. This setup helps us keep each individual cloud separate and there by helping us manage their roadmaps separately.

So, we have a separate instance cluster for CC, DC, Dx, etc. All these instances localize their own content independently. However, there are links on the content that point to each other's pages / products.

We need a URL transformer that understands this setup and changes the URLs of hyperlinks on pages when those links are pointing to pages on different instance cluster and when the page gets translated.

Requirements:
Transform URLs across instance clusters
Transform URLs across multiple content trees
Have some sort of config when ran through the localization workflow - for this content path - the output should be this path.
Links can exist between any server and not just acom / aem based instances.

I believe the logic is, if [www.adobe.com/[pagename].html|http://www.adobe.com/[pagename].html] and localized to Japanese, insert /jp. So the URL would them be [www.adobe.com/jp/[pagename].html.|http://www.adobe.com/jp/[pagename].html.] Authors wouldn't have to use relative links and could insert absolute links, as long as they were www.adobe.com URL's.

We have these content trees (so far):

/content/cc/
/content/cct/
/content/www/
/content/acom/
/content/offers-homepage/
/content/offers-miniplans/
/content/offers-plans/
/content/dx-dc/
/content/doc-cloud/

@audi5 audi5 added the enhancement New feature or request label Sep 29, 2021
@audi5 audi5 changed the title URL transformation URL transformation (Draft) Sep 29, 2021
@audi5 audi5 changed the title URL transformation (Draft) URL transformation Oct 1, 2021
@rofe
Copy link
Contributor

rofe commented Oct 12, 2021

I think this should be handled on the delivery side, either in the pipleine or the client-side code rendering the page. Authors would not have to worry about URL transformation, it would happen automatically based on defined patterns.

Given the project-specific nature of this requirement, I would recommend keeping the logic client-side for the start. Similar to the language detection and link generation (author page, topic page, etc) we currently have on blog.adobe.com.

Later on we could offer a table-based feature which already performs the transformations in the pipeline (see metadata.xlsx).

@kptdobe
Copy link
Contributor

kptdobe commented Oct 12, 2021

The current translation tool is running as a pilot on the Fedpub project. This is something we could work with @narcis-radu and @mokimo.

@kptdobe
Copy link
Contributor

kptdobe commented Oct 12, 2021

Before implementing the client solution, I'll check if I cannot append it client side to the translation tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants