Log of /contributions/modules/import_html/walkthough.htm
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.4.4.1
Sat Mar 14 04:45:41 2009 UTC
(8 months, 2 weeks ago)
by
dman
Branch:
DRUPAL-6--1
Changes since
1.4: +0 -0 lines
FILE REMOVED
These files should have been removed before the HEAD branch :(
Revision
1.4.2.1
Sat Mar 14 03:26:03 2009 UTC
(8 months, 2 weeks ago)
by
dman
Branch:
DRUPAL-5--2
Changes since
1.4: +0 -0 lines
FILE REMOVED
Refactored files into subdirectories
Revision
1.2 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Dec 13 13:32:27 2006 UTC
(2 years, 11 months ago)
by
dman
Branch:
MAIN
Changes since
1.1: +184 -179 lines
Diff to
previous 1.1
Updated support for CCK.
Input can either be id="byline" or id="field_byline" to populate a CCK 'byline' field.
Also support for HTML/non-HTML input text areas
Revision
1.1 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Dec 3 11:18:59 2006 UTC
(2 years, 11 months ago)
by
dman
Branch:
MAIN
Started supporting CCK
If your input contains ANY classes at all, the content of those classes
becomes available for absorbing into the node.
If the input contains any ID elements, those too are added to the node
object before saving.
most of these extra blocks do not get serialized, as there is no handler
for them
BUT
If you are importing to CCK, AND can manipulate your input so as to
define ids of the form field_* - this block will be put in that cck
field.
So...
if your input contains
...
[div id='footer'][b]blah[/b][/div]
...
and yo have a CCK node definition that includes a field called 'footer'
- you need to work on your XSL import massager to make a conversion to
[div id='field_footer'][b]blah[/b][/div]
Once that is, done, the import_html process can detect that this is a
ver special ID in the source document, and inject it into the CCK object
as
$node->field_footer[0][value] = "[b]blah[/b]";
and things become good
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.