I'm trying to import a set of pages defined by a cck node type. Looking at the xslt code the way to do this appeared to be by changing the node type which I changed to
However the node type created was still "Page" and I see that this is also the case in the original code in html2drupal.xslt despite the fact that it says that it is creating a node of type "story".
It may be I am misunderstanding the way of doing it, but the facility appears not to be working.
(I've attached files.)
Chris
| Comment | File | Size | Author |
|---|---|---|---|
| reviews2.xslt | 1.74 KB | chris55 |
Comments
Comment #1
dman commentedCCK support was highly experimental at the 4.7 time, as indeed was CCK itself.
Checking the code we see:
dirty patch for you would be adjust _import_html_process_html_page() where it goes
But I doubt the actual imports will get into the right fields, as that code isn't there. Docs or discussions you may have found RE CCK support apply to later releases. :-(
You'll only get the 'body' and some meta-structure. Your transformed document looks exactly right ... for a version 5 import ... but 4.7 won't capture your isbn etc sorry.
There was a lot of learning involved in getting CCK field definitions to play right. Back in Oct 2006, it was still undocumented. This would be a horrid backport to try.
Upgrade.