Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

This works only for JSPUI

Files:

  • dspace/config/dspace.cfg
  • Code Block
    http://
    web-address-to-my-dspace
    Code Block
    /dspace-oai 
    (OAI-PMH base URL)

Instructions:

  1. All RSS feed options are available in dspace.cfg under the section with the following heading: <p class="Example">#### Syndication Feed Settings ######
  2. To enable RSS feeds for new/updated items in your DSpace installation, you need to set the following variable to
    Code Block
    true
    :
    Code Block
     webui.feed.enable = false 
  3. You can modify the maximum number of items to display in your RSS feed:
    Code Block
    webui.feed.items = 4 
  4. To help with performance, you can chose the number of feeds to cache (
    Code Block
    size
    ) as well as the number of hours to cache a feed (
    Code Block
    age
    ):
    Code Block
    webui.feed.cache.size = 100 
    Code Block
    webui.feed.cache.age = 48
  5. You can also chose the RSS formats you would like to offer a feed in. It's recommended to choose either RSS 1.0 or RSS 2.0 (or both):
    Code Block
    webui.feed.formats = rss_1.0,rss_2.0
  6. You need to decide if you want your RSS feed(s) to refer to items via their handle (e.g. http://hdl.handle.net/123456789/1) or via your local DSpace URL. By default, the RSS feed contains an item's handle (specified as
    Code Block
    false
    below). But, you can change it to reference your local DSpace URL by setting it to
    Code Block
    true
    :
    Code Block
    webui.feed.localresolve = false
  7. You can also customize exactly which metadata fields your RSS feed will display for all items. The information about an item in RSS generally consists of a Title, a Date and a Description. You can map the Title and Date using the following two options:
    Code Block
    webui.feed.item.title = dc.title 
    Code Block
    webui.feed.item.date = dc.date.issued
    Each of these options only accepts a single metadata field. Although, you can specify an asterisk (
    Code Block
    *
    ) as a qualifier, to include all qualified fields (so
    Code Block
    dc.title.*
    would include
    Code Block
    dc.title
    ,
    Code Block
    dc.title.alternative
    , etc.)
  8. For the RSS Description, you can actually specify a list of fields (all of which will be displayed as part of the description of an item). The format is the same as mentioned for the RSS Title and Date above, but now you can provide multiple fields separated by commas. (REMEMBER: if you expand this option across multiple lines, you must include a backslash (
    Code Block
    \{code}) at the end of each continued line, as in the example below): 
    webui.feed.item.description = dc.title, \ dc.contributor.author, dc.contributor.editor, \ dc.description.abstract, dc.description
    Code Block
  9. Once you've specified all of your feed options, you must restart Tomcat (See Quick Restart in Rebuild+DSpace) for the changes to take effect.
  10. You should see one or more RSS feed buttons (similar to below) appear on your DSpace homepage, as well as each Community and Collection homepage. Clicking on one of these buttons will provide you with a feed of recent submissions at either the site level (on DSpace homepage) or at a Community or Collection level.
     

</html>