For my current use case, I don't have a content type called "page". I'd like to import content into one with an arbitrary machine name that I've created.

I thought I'd be able to enter the machine name for the content type to import to in a custom profile, but there's no such option. It looks like "page" is always hard-coded.

I'll probably work on this unless I can find an easier way to do it. The data in the variable table is serialized so I can't easily edit it.

Comments

dman’s picture

Status: Active » Closed (works as designed)

That is certainly one of the first options you should find in the import HTML settings. It is most certainly not hard-coded.

See
admin/structure/import_html/ "Manage settings"
* REPLICATION OPTIONS
How and where the imported content is reproduced on this site.
* Node Type for new pages
= Basic Page

It does only do content types (no arbitrary entities) but it does all content types you have...

colan’s picture

Thanks for that. I must have skimmed over it when I was searching through the form. Sorry! I see it now. :)