Ticket #1166 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

No more rss and atom exports in folder_view

Reported by: bdelbosc Assigned to: jmorliaguet
Priority: P1 Milestone: CPS 3.4.0
Component: CPSPortlets Version: TRUNK
Severity: normal Keywords: boxless rss atom
Cc:

Description (Last modified by madarche)

No more rss and atom exports in folder_view

It would be nice to have the new solution handles deprecated boxes url feed.

If the solution is to replace the 'custom portlet' with an improved 'content portlet' (that already provides rss and atom exports), this bug depends on #561.

Change History

11/29/05 14:25:17 changed by bdelbosc

s/[561]/#561/

01/09/06 16:27:09 changed by madarche

  • description changed.

01/12/06 14:25:58 changed by jmorliaguet

I'm adding a display mode called "folder_contents_detailed" in the navigation portlet that will call the legacy macro:

<metal:block use-macro="here/content_lib_display_contents/macros/display_contents" />

this will replace the custom portlet currently used in CPSDefault for displaying folder contents.

RSS / ATOM exports will be displayable too.

01/12/06 16:11:45 changed by jmorliaguet

  • status changed from new to closed.
  • resolution set to fixed.

fixed in [31527], [31528] and [31529]

export buttons are now available as in the content portlet

I'm updating the CPSDefault portlet setup to use the new display mode instead of the portlet_folder_contents custom portlet.

02/22/06 18:29:05 changed by jmorliaguet

  • status changed from closed to reopened.
  • resolution deleted.

the custom 'portlet_folder_contents' needs to be replaced with the naviagation portlet.

02/22/06 20:14:37 changed by ebarroca

  • owner changed from jmorliaguet to div.
  • status changed from reopened to new.

02/23/06 15:43:59 changed by div

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in [33370]

02/24/06 12:00:19 changed by div

  • status changed from closed to reopened.
  • resolution deleted.

RSS feeds are not valid.

02/24/06 13:10:28 changed by jmorliaguet

can you attach the error message?

02/24/06 13:28:01 changed by div

Try to use any exported RSS feed, for instance in /sections/

The problem is that layout_portlet_view renders a <div class="foo"> </div> which breaks the exported XML.

Instead of having:

<?xml version="1.0" encoding="ISO-8859-15"?>
....

we have:

<div class="portlet_foldercontents">
<?xml version="1.0" encoding="ISO-8859-15"?>
....
</div>

So we could have a different layout used for viewing the navigation portlet which checks if the rendered content is XML and skips the <div> creation in this case. Or this could be done even in the layout_portlet_view.

02/24/06 13:47:44 changed by div

  • status changed from reopened to closed.
  • resolution set to fixed.

Fixed in [33452]

03/01/06 12:14:17 changed by jmorliaguet

  • status changed from closed to reopened.
  • resolution deleted.

The RSS feeds still have the <div portlet_... tag>. (Navigation portlet Content portlet)

it is better to fix it in the default portlet layout view than to create a new layout

03/01/06 12:19:22 changed by jmorliaguet

  • owner changed from div to jmorliaguet.
  • status changed from reopened to new.

03/01/06 12:45:01 changed by jmorliaguet

  • status changed from new to closed.
  • resolution set to fixed.

fixed in [33618] and [33619]. (The XML export function is not specific to the Content Portlet or to the Navigation Portlet.)