Hey guys,
Back on the document importer system asset.
I'm able to select a file, access it and suck the text out (currently I'm just working on a text file).
I'm able to create a page_standard asset, name it, link it to a parent and have it appear in the asset manager where I would expect it to appear.
All this is happening as one process. No multiple screens/dialogs etc.
At this point I have the content (text) in $source_data and a page_standard object available to me. This is how the page_standard object looks;
page_standard Object
(
[_tmp] => Array
(
[use_system_version] =>
[attributes] => Array
(
[name] => asset_attribute_text Object
(
[_tmp] => Array
(
) [id] => 145 [name] => name [uniq] => 0 [description] => The full name of the page [_params] => Array ( [max_length] => 0 ) [_default_value] => [_edit_params] => Array ( [width] => 0 [height] => 1 ) [value] => GoldDoc2 [processed] => ) [short_name] => asset_attribute_text Object ( [_tmp] => Array ( ) [id] => 146 [name] => short_name [uniq] => 0 [description] => The short name of the page (often used in menus) [_params] => Array ( [max_length] => 0 ) [_default_value] => [_edit_params] => Array ( [width] => 0 [height] => 1 ) [value] => GoldDoc2 [processed] => ) ) [paths] => Array ( [0] => golddoc2 ) ) [id] => 798 [version] => 0.0.8 [name] => GoldDoc2 [short_name] => GoldDoc2 [status] => 2 [languages] => [charset] => [force_secure] => 0 [created] => 1100756712 [created_userid] => 5 [updated] => 1100756720 [updated_userid] => 5 [published] => [published_userid] => [_is_cacheable] => [vars] => Array ( [name] => Array ( [attributeid] => 145 [type] => text [value] => GoldDoc2 ) [short_name] => Array ( [attributeid] => 146 [type] => text [value] => GoldDoc2 ) ) [_available_keywords] => Array ( ) [_weightings] => [data_path_suffix] => assets/page_standard/798 [data_path] => /var/www/mysource_matrix_3-1-0-RC1/data/private/assets/page_standard/798 [data_path_public] => /var/www/mysource_matrix_3-1-0-RC1/data/public/assets/page_standard/798 [_ser_attrs] => )</pre><br />
My questions;
How do access the newly created Page Content for this page?
How do I add/update/delete Content DIV assets in this Page Content asset?
Once I can do this I'll be ready to rip open the OOo/StarOffice/Word2k3 files and suck content out of those.