Skip to main content
Aggregate Drupal.org Planet Drupal 17 Aug 2026 - 05:01

#! code: Drupal 11: Migrating From Jadu Into LocalGov Drupal: Part 2

RSS 官方收录 · 可信分层展示

关键摘要

Drupal 11: Migrating From Jadu Into LocalGov Drupal: Part 2 This is the second article in a series of articles looking at migrating from Jadu into a LocalGov Drupal (LGD) site for Central Bedfordshire.…

  • In the first article we looked at the Jadu API and setting things up s…
  • In the last article I mentioned something about the Jadu API that caus…
  • The API contains most of the information for a page, but critically, t…

摘要引擎:抽取

正文提要

Drupal 11: Migrating From Jadu Into LocalGov Drupal: Part 2

This is the second article in a series of articles looking at migrating from Jadu into a LocalGov Drupal (LGD) site for Central Bedfordshire. In the first article we looked at the Jadu API and setting things up so that we could make calls to the API and parse the XML data using the migration systems available.

In the last article I mentioned something about the Jadu API that caused me a lot of headaches. The API contains most of the information for a page, but critically, the Jadu API contains no information about the path of a page. There is basically no way to get the URL of a page in Jadu from the XML API.

I'm quire sure that this makes creating anything useful in the API a real pain since referring back to the site needs to be done with manually placed links, but it's clearly like this by design. I couldn't find any documentation on why it is like this, but it almost feels like vendor lock-in. Please correct me if I'm wrong here.

If you migrate a page from one system to another then it is highly important that you maintain the URL structure of the site. If you change the URL of a page then you need to add in a step that adds a redirect from the old system to the new so that all of your search engine results, the existing links from other sites, and any user bookmarks that have been created work correctly. This is critical to get right for a public facing council site like this.

Since I was migrating into a LGD site, it made sense to use the Drupal path auto system and LGD path management plugins to manage the paths on the Drupal site. We therefore needed to know the existing Jadu URLs so that we could create these redirects.

To get the URLs during the migration caused quite a bit of experimentation, but I did solve the issue with a solution that had a high success rate.

philipnorton42
打开官方原文 站点原文页 可信分区 本信源更多 今日简报 分享图 RSS 稍后再看列表