Closed (fixed)
Project:
Views Bonus Pack
Version:
5.x-1.x-dev
Component:
Views Export
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Nov 2006 at 17:10 UTC
Updated:
14 Jul 2012 at 23:33 UTC
Jump to comment: Most recent file
Comments
Comment #1
merlinofchaos commentedThese are perfectly fine ideas and I think someone should do them but they would go into the bonus pack, not Views itself.
Comment #2
jasonwhat commentedYeah, I don't think they should be in the core of views, but not sure where to file this to have it go elsewhere.
Comment #3
merlinofchaos commentedThe Views Bonus pack, without a doubt.
Comment #4
tombarton commented+1
This is a great idea... I'm trying to develop some functionality based around a simple flash file calling on some equally simple xml data, and I'm convinced that Views is by far and away the best way of spitting out that xml data. Unfortunately I ain't no coder... but if anyone has the time to work on this I'd be in your debt forever!
Cheers,
Tom
Comment #5
lapurd commentedDone, I have CSV and XML views finished in the Bonus pack. Will upload later.
Comment #6
liquidcms commenteddid this ever make it?
Comment #7
lapurd commentedptalindstrom, yes this has been completed. I'm still having the functionality of the code reviewed before I'll submit this. Also I am working out my CVS access which has some probs.
Comment #8
appel commentedlapurd, what's the current status? I've been wanting to try this for a while... :)
Comment #9
lapurd commentedHi there again. OK Appel, I still have this very annoying CVS access problem over here (it seems my account has been disconnected on the Drupal CVS server itself).
I have tested my code updates locally and I can't find any bugs. I have attached an updated 4.7 module, but I can't seem to do anything usefull around here because of my CVS problem. However, if anyone wants to test this, you can use the attached file which gives you CSV and XML export views.
Let me know if there is a problem or if it works for you.
Casper
p.s. the code follows all Drupal code format standards
Comment #10
appel commentedThanks! I've tried it out and it seems to be working okay. I've noticed there's no first row with column names, though I'm not sure if the patch is to blame. Could very well be something that escaped my attention or perhaps it's technically not possible. If it is possible, wouldn't it make sense to use the label values from the used fields? Thanks again!
Comment #11
appel commentedFor what it's worth, here's some code to have the column names printed on the first row of the CSV file (It worked for me). Put this between line 229 and 230 of lapurd's views_bonus.module to make it work.
Comment #12
buddaStill having problems getting this in to CVS? Just installed and it works a treat. Excellent stuff, includ9ing the additional column heading code in the above comment.
Comment #13
peterdeitz commentedIs there a version 5.0 version in the works? I am very interested in putting this feature to use for several drupal sites. I can't believe the feature hasn't been developed already... it's incredibly useful.
Comment #14
mshaver commentedThis is great, although I was hoping it wasn't just another view, but attached to a table view. That way users could download the current table view they are viewing. Has anyone tried putting the code into the header or footer to see if it works?
Comment #15
hsfdrupal commented> I was hoping it wasn't just another view, but attached to a table view. That way users could download the current table view. . .
That would be a great way to deliver this functionality. Possible?
Comment #16
webchickSure, put a link to the page view in the page footer area of the parent view. ;)
I'm going to mark this RTBC. It still has a couple bugs, but overall, this is a fantastic improvement. We used this on the OSCMS site to export a list of registered users to Yahoo! a few times, and I didn't hear anyone screaming. :)
Comment #17
merlinofchaos commentedThere isn't a patch here, and the given views_bonus.module is old enough that it doesn't even contain the reconfiguration for the new setup where each plugin is its own fi.e
Comment #18
appel commentedActually, I think hsfdrupal has a point. A user could filter the data through exposed filters and then download the filtered data directly in CSV format. Very intuitive. I see many uses for this scenario!
Comment #19
appel commentedI meant to say 'mshaver', it's him who has a point! Bareuh!
Comment #20
webchickOops, I meant to make the other CSV patch RTBC. Sorry!
Comment #21
mediashock commentedany news on this and VERSION 5? i cant install this on version 5.. and i would like a views plugin that will let me view the all the fields as seperate XML tags...
Comment #22
xamountI eagerly await version 5 for this....this will very useful.
Comment #23
tignux commentedI really quote the previous reply ..... a 5 version would be a god's gift
Comment #24
chriszz commentedI am still refining - but this version did basically work. Use it on your own risk. You need to have import-export installed!
Comment #25
chriszz commentedSome refinements for better use with excel. You still need to import via Data->import. If you just open the file, you'll get problems with character-settings.
Comment #26
dmitrig01 commentedcould you please try to merge this with http://drupal.org/node/114115? BTW, I *love* the XML idea.
Comment #27
dmitrig01 commentednm... this is results and the other is the view itself... keep up the good work and *roll a patch*
Comment #28
robloachDefinitely try to get the XML stuff into this one.
Comment #29
robloachIf you check out the latest CVS, you'll notice a big change in the Views Bonus Export module. I moved a bunch of things around to make it easier to extend (with argument selectors too), so if we just add in your XML stuff, we should be good.
Comment #30
robloachChanging the title to focus on the XML stuff.
Comment #31
jasonwhat commentedIs the CVS version for Drupal 5.x or 6?
I'm excited to try it out.
Comment #32
robloachThe ability to export as CSV and DOC is in there. Export as XML isn't, I believe.
Comment #33
mediashock commentedis it possible yet to create a custom XML view .. this would help soo much with flash sites :)
Comment #34
robloachFor Flash stuff, the Services module, along with AMFPHP, is the way to go ;-) .
Comment #35
dmitrig01 commented@merlinofchaos: as Rob said, the AMFPHP + services modules. Those will output in a flash-friendly method.
Comment #36
cangeceiro commentedany word on xml exports? this would dramatically helpful as there are a ton of programs that can parse xml where this would be handy...ie exporting articles to indesign templates.
Comment #37
svihel commentedAny news here? As more people before me said it would be great to have XML here. Especially since a great many of modules supports Views it would be perfect.
Comment #38
neclimdulActually, yes. I didn't realize this issue existed but I've got support for XML output in 6 and I do have the code for 5 for another project I'll work on merging. I'd say the above is correct about using services with flash but exporting with XML can be a very handy thing to have and worth providing in a simple manner like this.
Comment #39
svihel commentedThats great! If you already have some code I could provide some testing.
Comment #40
neclimdulcommitted test code
Comment #41
robloachI think this has become deprecated by: http://drupal.org/project/views_datasource
Comment #42
merlinofchaos commentedI don't think views datasource is stable yet. I'd love it if it were, but I think it'd need a comaintainer.
Comment #43
neclimdulI think the code is pretty solid. Going to go ahead and mark this fixed.