Closed (fixed)
Project:
Views Bonus Pack
Version:
6.x-1.x-dev
Component:
Views Export
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Feb 2009 at 09:17 UTC
Updated:
28 Nov 2009 at 11:22 UTC
Views 2 doesn't let you add CCK fields to a feed (I have no idea why it can't). This XML export has no problem with that, but it forces an XML file to be downloaded. Is there anyway to just have a url with the XML data displayed as a feed in the browser instead of having to download an actual XML file?
This would solve alot of problems for me and others in my same predicament.
Thanks!
Comments
Comment #1
neclimdulTry settings the filename to blank. This is an undocumented behavior but since you seem to have a use for it I might document it.
Comment #2
jjjames commentedWOW! This is great! You don't know how long i've been struggling trying to find a simple way to put fields into a simple xml feed. I can't believe this wasn't documented! I know many will really appreciate it. I'm gonna link this post to some others that I've found trying to do this very thing. Great work on the module btw :)
thanks again!
Comment #3
jjjames commentedIs it possible to strip the extra data?
It shows:
I just want:
thanks!
Comment #4
asak commentedI got here from the thread regarding Views Node Field (http://drupal.org/node/361317). This could be another solution, but it seems that it isn't possible to use VBP to set custom titles for the fields, so that i can get something like:
Is that correct? could this be done using custom views themeing?
Comment #5
no2e commentedsubscribed
Comment #6
neclimdulThis issue is about a feed that is not delivered as a file. Please leave it at that.
To quickly address the first issue, I've mentioned in other issues that I want to avoid having the exporter touch the output. There are several on going issues in the Drupal 5 release because of stripping and I'd like to not have that problem in the Drupal 6 release.
I'd say this might be a bug in imagefield but... I'm not sure and its not part of this issue.
Comment #7
neclimdulCommitted some code to specifically support this on XML output.
Comment #8
neclimdulComment #9
jjjames commentedCool :) Do you mean to support XML feed inside browser or stripping of the span tags?
Thanks
Comment #10
neclimdulSee #6.
Comment #12
Oleksa-1 commentedCould you give me any hint, how can i use this xml feed from one drupal site on another drupal site. e.g. i have views with two fields TITLE and IMAGE and i make views feed xml (using vbp):
On another site i enter link for this feed to rss aggregator and get in block only titles without images.
How can i get images as well ?