Any chance for this?

CommentFileSizeAuthor
#3 export_dxml.txt6.52 KBnancydru

Comments

SinMiedoJuan’s picture

I'm also interested but I don't know how to program. Any programmer willing?

nancydru’s picture

Title: 5.x support » 5.x support for Export DXML module

Updating the title so it is clear in my recent issues list. I'll go back and look at my needs. Maybe I'll do it.

nancydru’s picture

StatusFileSize
new6.52 KB

Here is a patch to make it work under 5.x. Additionally, you need a .info file: (I don't know how to add this to the patch.)

; $Id: export_dxml.info,v 1.0 2007/09/02 20:00:00 nancyw Exp $
name = Export_dxml
description = "Allows authorized users to export a book as Drupal XML."
dependencies = book
puregin’s picture

Status: Active » Fixed

Thanks for the poke, Nancy.

I've fixed the hook_link() implementation to be Drupal 5 compliant and supplied a .info file. Tests OK for me on Drupal 5.2.

SinMiedoJuan’s picture

Tested on Drupal 5.2. Works great, here is the info:

  • Exporting a book, exports the whole book but not the comments (great).
  • Exporting a page with comments includes comments.
  • Exports title, teaser and content but no CCK fields. (ToDo?)

    Hope it helps.
    Thanks a lot for your work

  • nancydru’s picture

    Great. Will be see an official 5.x branch soon?

    nancydru’s picture

    I also submitted changes to bookimport module. They were more extensive.

    SinMiedoJuan’s picture

    Any chance of solving the export of CCK fields?
    Thanks a lot for all the work.

    nancydru’s picture

    I would recommend that requirement be filed against CCK AND each of its contributed pieces. I know of one CCK add-on that doesn't even do the standard CCK export; that needs to be fixed first.

    SinMiedoJuan’s picture

    Ok, thanks. I'll try to contact them.
    Thanks for all.

    mr.dale’s picture

    I downloaded and installed this module and the updated book import on a stock 5.2 install. I get the following error when I click on book export(dxml) in the administer menu.

    warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'book_admin_set_flag' was given in /Applications/MAMP/htdocs/test/includes/form.inc on line 217.

    I'd love to use these modules, but for now I can't

    nancydru’s picture

    Did you apply the patch that's attached above (not just the code shown)? That patch removes that call, so I suspect not.

    mr.dale’s picture

    Finally! I've been waiting about two years for this to happen. Thanks so much for your efforts NancyW

    puregin’s picture

    Thanks, Nancy - I've committed your changes, with a bit of polish. Much appreciated - Djun

    nancydru’s picture

    I'm sure the polish was needed. I just tried to make it work.

    Anonymous’s picture

    Status: Fixed » Closed (fixed)