5.x support for Export DXML module

NancyDru - March 12, 2007 - 18:06
Project:Export DXML
Version:HEAD
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Any chance for this?

#1

SinMiedoJuan - September 2, 2007 - 10:32

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

#2

NancyDru - September 2, 2007 - 13:22
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.

#3

NancyDru - September 3, 2007 - 00:04

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

AttachmentSize
export_dxml.txt 6.52 KB

#4

puregin - September 4, 2007 - 00:43
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.

#5

SinMiedoJuan - September 4, 2007 - 10:34

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

  • #6

    NancyDru - September 4, 2007 - 12:04

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

    #7

    NancyDru - September 4, 2007 - 12:05

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

    #8

    SinMiedoJuan - September 7, 2007 - 09:43

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

    #9

    NancyDru - September 7, 2007 - 12:49

    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.

    #10

    SinMiedoJuan - September 8, 2007 - 09:45

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

    #11

    mr.dale - September 8, 2007 - 17:04

    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

    #12

    NancyDru - September 8, 2007 - 19:20

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

    #13

    mr.dale - September 9, 2007 - 02:41

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

    #14

    puregin - September 10, 2007 - 05:30

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

    #15

    NancyDru - September 10, 2007 - 12:15

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

    #16

    Anonymous - September 24, 2007 - 12:22
    Status:fixed» closed
     
     

    Drupal is a registered trademark of Dries Buytaert.