Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > RSS for custom document type. View modes: 
User avatar
Member
Member
Leandro Brito - 1/9/2012 2:26:31 PM
   
RSS for custom document type.
Hi,

I did a widget for news document in my kentico. Basically I create the RSS using a webpart and read in another site using jquery, so the partner put a javascript snippet on page and it return the news of my kentico.
Now, I need do something like that but more dinamically.
I have a custom document type and the partner should be pass a parameter (documentname), using this documentname I want select the document on kentico.

I will use smartphone names for explain the scenario.

This is my cmsdesk:

Galaxy 5
-news
iPhone 4GS
-news

*Inside each smartphone document I have another document type, can be news to facilitate the post.


So, I need pass document name parameter like "Galaxy 5" and the RSS webpart generate the RSS with news (child of smartphone). The name of child documents is always equal!

My other idea is put a RSS webpart inside the template of custom and work on jquery to mount the RSS url.

Can someone give me ideas to do this?

Thanks!
Best regards.

Leandro Brito

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 1/12/2012 3:53:40 AM
   
RE:RSS for custom document type.
Hello,


You can clone the RSS feed web part and change the Path property dynamically in the code behind for example according to the query string parameter.


Best regards,
Helena Grulichova