Active
Project:
Import HTML
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Jul 2012 at 17:16 UTC
Updated:
20 Jul 2012 at 14:11 UTC
Jump to comment: Most recent file
just trying out the D7 version of this; first issue is this error when hitting import files button after seelcting files to import:
Call to undefined function taxonomy_term_path()
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | import_html-taxonomy_term_uri.patch | 895 bytes | liquidcms |
Comments
Comment #1
liquidcms commentedreplaced this function with taxonomy_term_uri()
now i dont get that error but i do get:
for each file imported... more digging...
Comment #2
liquidcms commentedoh yes, and i do get nodes created with proper titles but no body.
Comment #3
dman commentedGood catch. Most of the 'extras' didn't get tested on the D7-dev upgrade. I've replaced & committed taxonomy_term_path with taxonomy_term_uri per your patch.
Thanks.
The 'taxonomy_indexes' extra feature is optional, special-case and generally shouldn't be turned on until you know you need it.
The rest - can't quite say. Not getting content is going to be a matter of tuning the scraper patterns...
Comment #4
liquidcms commented@dman... i don't think i had enabled anything; so that error was pretty much out of the box... and yes... i am now getting content.. very cool module. loving it.
with a little code in import_html i have:
- import folder -> taxonomy term
- img -> img field
- content to custom body field
not much left; just trying to figure out now how to remove some pieces (i.e. the img from content that i put into img field).. i would have thought in hook i could unset items in $node->import_html, but i guess $content is built already by that point. is there a hook after parsing but before rendering?