I noticed that, after the import into Drupal, the "more" tags were stripped out of posts, even though I've verified that they remain in the WordPress XML file.

Is this normal behavior? Is there an easy way to get the "more" tags back?

Thanks!

Comments

mikeryan’s picture

Status: Active » Postponed (maintainer needs more info)

Can you explain what you mean by "more tags"? Is this a paging feature of WordPress?

spacegoat1701’s picture

mikeryan’s picture

Title: More tags stripped out » Break out teaser according to <!--more--> tags
Category: support » feature

OK, so the idea is that in the Drupal context, if there's a <!--more--> tag in the body, the content before the tag would become the Drupal teaser, right? Shouldn't be too hard to implement that...

mikeryan’s picture

Component: Miscellaneous » Code
Status: Postponed (maintainer needs more info) » Active
spacegoat1701’s picture

The simplest thing might be just to replace

<!--more-->

with

<!--break-->

mikeryan’s picture

Status: Active » Fixed

Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

ambient.impact’s picture

Issue summary: View changes

Hi there. I can see that this was apparently committed to the module three years ago, it doesn't seem to be working for me. All the imported nodes are still using the default trim value, without a teaser break set. When I look at the body contents, I can find the WordPress <!--more--> tag, which I assumed was supposed to be converted to Drupal's <!--break-->? I'm using the following module versions:

Migrate 7.x-2.8
Migrate Extras 7.x-2.5
WordPress Migrate 7.x-2.3+4-dev

And my blog posts from WordPress are being imported into the WP blog post content type provided by the WP Blog module, if that's in any way relevant.