All add-ons currently require PHP 7.4 or greater.

On July 4th 2024 PHP 8.2 will be the new minimum requirement for all add-ons. Expect any add-on released after that date to require 8.2 or greater. Some releases may not immediately take advantage of 8.x specific features in PHP, which means you might, be able to continue using new releases in PHP 7.4, however, if you experience an error the first thing you should do is update to PHP 8.2 then create a support ticket if the error persists.

Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: URL_TITLE changes underscores to dashes.

Status Resolved
Add-on / Version DataGrab 5.2
Severity
EE Version 7.3.15

John Brillon

Jan 24, 2024

No matter how I try, in the URL for an entry underscores are being converted to dashes. It is using the slug I have in the file, but just converting those underscores. I would prefer to not try to correct the URL_TITLE. I have content that has dashes in the URL_TITLE (that an editor manually put in) but the majority of content has underscores in the URL_TITLE. I have thousands of entries. And legacy links from article to article will cause a 404 if those underscores are replaced.

I have used Datagrab successfully in the past and did not encounter this problem.

Here’s a bit of the XML file I use to import

<item>
<title><![CDATA[Improving supply chain management drives a turnaround in tumultuous times]]></title>
<link>https://www.scmr.com/article/driving_a_turnaround_in_tumultuous_times</link>
<pubDate>Wed, 22 Sep 2010 15:37:00 -0500</pubDate>
<dc:creator><![CDATA[SCMR Staff]]></dc:creator>
<guid isPermaLink="false">https://www.scmr.com/article/driving_a_turnaround_in_tumultuous_times</guid>
<description><![CDATA[For PolyOne Corp., the secret to survival and success is in the supply chain. They were burdened by excess inventory and production, poor on-time delivery performance, and a sharp downturn in key markets. A series of targeted supply chain improvement initiatives took these challenges head on — and got them back on the path to profitability.]]></description>
<excerpt:encoded><![CDATA[At PolyOne, the secret to survival and success is in the supply chain.]]></excerpt:encoded>
<url_slug:encoded>driving_a_turnaround_in_tumultuous_times</url_slug:encoded>
<content:encoded><![CDATA[<p>Three years ago, PolyOne Corp., was weighed down by excess inventory, poor on-time performance and over-reliance on equity earnings from commodity joint ventures. In addition, the recent economic downturn hit hard in some of the company’s key markets, including automotive and building and construction. Certain analysts and investors believed that PolyOne—a premier global provider of specialized polymer materials, services and solutions (such as metallic-look vinyl used in home appliances, the soft-touch plastic on the handle of your razor, and medical-grade polymers for tubing)—might have to file for bankruptcy. </p>...

I have also tried to place the URL_TITLE like this:

<wp:post_name>driving_a_turnaround_in_tumultuous_times</wp:post_name>

and this

<wp:postmeta>
        <wp:meta_key>_slug</wp:meta_key>
        <wp:meta_value><![CDATA[]]>driving_a_turnaround_in_tumultuous_times</wp:meta_value>
        </wp:postmeta>

I even tried leaving it blank and the URL_TITLE was auto-generated from the title, but with dashes, despite having the site settings set to prefer underscores.

 

 

#1

BoldMinded (Brian)

Comment has been marked private.

Login to reply