Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi.
We're using Views data export to export our datas in *.txt files
It works fine, except ' caracters which are exported in ' inside the final *.txt file, which give us "it's cat" where we'd like to have "it's cat"
Any way to fix that ?
Help welcome
Best regards
D
Comment | File | Size | Author |
---|---|---|---|
#3 | views_data_export-1865688-3-decode_entities.patch | 1.25 KB | Simon Georges |
#1 | views_data_export-1865688-2-decode_entities.patch | 708 bytes | Simon Georges |
Comments
Comment #1
Simon Georges CreditAttribution: Simon Georges commentedIs it better with this patch?
This patch is part of the #1day1patch initiative.
Comment #3
Simon Georges CreditAttribution: Simon Georges commentedIs it because of the empty line?
Comment #5
dbourrion CreditAttribution: dbourrion commented#3: views_data_export-1865688-3-decode_entities.patch queued for re-testing.
Comment #7
dbourrion CreditAttribution: dbourrion commentedHi
Thanks but... as I'm a newbie and as the test of the patch looks failing, sould I try it anyway ?
Comment #8
Simon Georges CreditAttribution: Simon Georges commented@dbourrion, yes, you should, I need to fix the tests, I don't know how yet... but if it works for you, it's a first indication (try the first patch, no need to take the modification of the tests that are within the second patch).
Thanks for your feedback.
Comment #9
dbourrion CreditAttribution: dbourrion commentedHi
Patch applyed
On my views preview, got a popup with
If i go to the real display of that export, got only that on screen :
Before the patch, that real display export was
Yes,
was already there but it wasn't a prob before :)
Comment #10
Simon Georges CreditAttribution: Simon Georges commentedWow... Ok. I need to dig deeper... I'm wondering what kind of data you're trying to display.
Comment #11
dbourrion CreditAttribution: dbourrion commented;)
We're a french academic library http://bu.univ-angers.fr (D6 website)
We're using drupal with the biblio module for a university website (see the production website here http://dune.univ-angers.fr/) where we're collecting our student's academic works.
We have to export some bibliographic data to push them into our ILS (Aleph, from ExLibris) : that's where Views data export comes.
The export takes some field from biblio, and rewrites them so that the result is a TXT files looking like that
(it's compliant to ISO2709, a bibliographic numeric way of formatting data that our ILS can manage)
Then, we take the resulting *.txt files to push them into our ILS. It works fine (for the moment, the ' things are cleaned AFTER the export with Linux scripts but it should be better to have a clean export ;) )
Don't know if I explain clearly :(
Comment #12
Simon Georges CreditAttribution: Simon Georges commentedYou did, I just wasn't expecting that kind of data... I'll take another look at trying to patch it as soon as I have the time.
Comment #13
dbourrion CreditAttribution: dbourrion commented:)
Comment #14
Rebekaloz CreditAttribution: Rebekaloz commentedI need to add custom xml .
Comment #15
lalbright CreditAttribution: lalbright commentedWhat is the status here ... the last comment was three years ago. Is this module actively supported still? I too use this module for something unique. We import code snippets into a "Code" content type, and use the Data Export module to export specifically tagged collections of code snippets as fully functional user-extension files for Selenium RC automation testing (also acting as a form of version control and central distribution, as well as being able to provide edits and comments on each block of source).
Would be nice to get this fixed. :) The ability to export code this like is awesome, if we didn't have to do any cleanup after the export.