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

Redirector links created relative to wrong root #20

Open
davisagli opened this issue Nov 16, 2011 · 6 comments
Open

Redirector links created relative to wrong root #20

davisagli opened this issue Nov 16, 2011 · 6 comments

Comments

@davisagli
Copy link
Member

I'm trying to use funnelweb to migrate content from a subfolder of one site to a subfolder of another site. Funnelweb is creating redirector aliases from the old paths, but it's not rooting them at the subfolder where they originated, so they don't work properly.

@djay
Copy link
Member

djay commented Nov 16, 2011

yes I noticed the other day that the redirect are set assuming the _path starts from the root of the site.

I not convinced just rerooting the redirects is the right way to fix this however.
What you could do is move the paths via transmogrifier rather than just specify a target location thats not at the root of the site.

@djay
Copy link
Member

djay commented Nov 16, 2011

maybe a prefix arguement to the ploneremote redirector code?

@davisagli
Copy link
Member Author

That would be perfect. I just hardcoded the prefix in temporarily to get through my migration today.

This was my first real look at funnelweb btw. Used it to migrate 450 pages and images from an old Plone site. Good stuff!

@djay
Copy link
Member

djay commented Nov 17, 2011

On 17/11/2011, at 11:02 AM, David Glick wrote:

That would be perfect. I just hardcoded the prefix in temporarily to
get through my migration today.

This was my first real look at funnelweb btw. Used it to migrate 450
pages and images from an old Plone site. Good stuff!

You would lose a lot of metadata using funnelweb. Have you looked at
roks jsonmigrator?
http://gihub.com/collective/collective.jsonify

@davisagli
Copy link
Member Author

Not important in this case. Thanks for the pointer to the jsonify thing though!

@djay
Copy link
Member

djay commented Nov 17, 2011

On 17/11/2011, at 11:42 AM, David Glick wrote:

Not important in this case. Thanks for the pointer to the jsonify
thing though!

Forgot to include the rest

https://github.com/collective/collective.jsonmigrator

In terms of using funnelweb for plone to plone or drupal to plone. One
thing I could improve with funnelweb is potentially including prebuilt
extractors for certain systems such as plone theme classic, standard
drupal theme, wordpress etc.

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

No branches or pull requests

2 participants