0

So I wanted to create a custom RSS feed for my site and was told that I could use the views fields capability with this module: Views RSS. I downloaded and installed and followed the steps explained here for the basic usage. And also took a look at the minimal instructions given at the module's doc

The problem is I end up with; the fields getting picked up by the page display but the feed display returns the default with title and body fields only (regardless of other fields). Also the XML is not outputted correctly and the link. It's as if the Views RSS is not there or is not doing anything.

I have no idea why it is not working...I am think if the steps I followed aren't correct and when I try to follow what is described here I run into the same error and have no idea how the person who posted that solved it.

0

First think first: On a RSS feed you can't have as many <xml_tags> as you want. It's fixed-predefined for web concurrency.

Now a quick and dirty tutorial:

  1. Enable Views RSS, Views RSS: Core Elements, Views RSS: DC Elements
  2. Add new view without create a page or a block
  3. Add a Display Feed
  4. Format-> from RSS Feed to RSS feed- Fields
  5. Fields->Add the basic fields (It will display nothing!)
  6. Format->Settings->Item elements : core Map the fields to RSS elements (do the same for Item elements : dc)
  7. Feed settings->Path: give a path
  8. Save..
  9. Browse the URL, for debug (and not fancy Chrome/Firefox styling) CURL example.com/rss
  • Thanks for your reply tvl, followed the steps the xml code is outputted with the correct fields (but nothing displays on firefox). I previously solved the issue by adding a new view mode in my content types called "RSS" and in the default RSS view -> "Feed Display" -> Format-> content -> show -> display type "RSS", and the rss xml also outputted the fields that were setup in the "RSS" view mode, although apparently without a need for the Views RSS module. – Perseids Nov 1 '14 at 18:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.