Download & Extend

Export as Tab Delimited file?

Project:Views Bonus Pack
Version:6.x-1.1
Component:Views Export
Category:feature request
Priority:normal
Assigned:patcon
Status:needs review

Issue Summary

Hello,

I noticed that a separator can be chosen when using export to csv. Is there any way to have the separator be a tab so that the file is a tsv?

Thanks

Comments

#1

Version:6.x-1.1» 6.x-1.x-dev

Needed this myself, so threw together a simple fix based off the latest dev.

In the place where you'd enter the delimiter, just enter TAB and it will be converted. This is explained in the note below the field.

On a related note, I might suggest renaming this plugin to a "delimited file" format as opposed to straight up CSV. It struck me as unnecessarily ominous to emphasize how careful the user needed to be when not using commas as separators -- Most any spreadsheet processor can figure it out, so it's not like it's a big deal anyhow :)

AttachmentSize
898682-01_allow-tab-delimited-files.patch 1.6 KB

#2

Version:6.x-1.x-dev» 6.x-1.1
Assigned to:Anonymous» patcon
Status:active» needs review

And here's for the 1.1 release, just for good measure.

AttachmentSize
898682-02_allow-tab-delimited-files-6.x-1.1.patch 1.57 KB

#3

Thank you so much. I will give it a try and let you know how it goes.

#4

Works as expected. Thanks

#5

Also, I've copied and pasted an actual tab from a text editor (notepad++) and it works perfectly.

#6

wrong place to post this, i know, but i see this thread's pretty active - where in drupal do i find the export option once enabled? for some reason i absolutely cannot find it! thanks!