Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Widget for news View modes: 
User avatar
Member
Member
Leandro Brito - 11/22/2011 1:35:31 PM
   
Widget for news
Hello,

I want do a widget to show some news in other sites (non kentico, any language), using
JS. It going to work similar to facebook or twiter plugins, put some javascript/iframe on page and it show html with buttons, images etc.

Basically I'll pass some parameters like category, release date and quantity and the kentico should returns the data for me.

My first problem is:
How can I do one url to get the data from kentico using the parameters passed?
There is something ready for this? I don't know if generate a xml of data can be the part of solutions, give me opinions :)

Thanks!

Leandro Brito.


User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 11/23/2011 8:53:31 AM
   
RE:Widget for news
Hi,

you can use a rest service to get appropriate documents. It will generate a page with requested data

Please take a look here for more details:
Rest service overview

Best regards,
Ivana Tomanickova

User avatar
Member
Member
Leandro Brito - 11/23/2011 9:34:57 AM
   
RE:Widget for news
Hi,

This guide is for Kentico 6, there is something like that for version 5.5?

Thanks

User avatar
Certified Developer 9
Certified Developer 9
charbf - 11/23/2011 8:01:05 PM
   
RE:Widget for news
This is only available(as is) in version 6. For any version before 6 you could use a XML datasource with a XML repeater to build what you need


RSS repeater + Data source