Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-17879

ezwebin shows a default rss link into the header, but no rss export ! => rss is broken

    XMLWordPrintable

Details

    Description

      Hi,

      I've migrated my ez 4.3 to 4.4, I have a design I can check in admin.domain.com/Design. The latter has in the field RSS export: /rss/feed/my_feed

      And the template /extension/ezwebin/design/ezwebin/templates/link.tpl shows this rss whatever it exists or not ! with the following code:

      {if and( is_set($pagedesign), $pagedesign.data_map.rss_feed.has_content )}
      <link rel="Alternate" type="application/rss+xml" title="RSS" href="{$pagedesign.data_map.rss_feed.data_text|ezurl(no)}" />
      {/if}
      

      => Definitely, at least, this piece of code should check the RSS export REALLY exists before showing it !

      But I really thing the best solution would be to drop the RSS attribute in the design. And link.tpl should show all rss that exist by fetching the rss export...

      Attachments

        Activity

          People

            unknown unknown
            enzo enzo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: