cancel
Showing results for 
Search instead for 
Did you mean: 

How to manage a news space

tonizz
Champ in-the-making
Champ in-the-making
Hi,

I want to have a news space in my web. Then, I dont know which is the best way to get it. Like in a usual news space I want to have a main page with all the news sorted by date with a link to view the entire news. My doubt is: if I create a web form with the news I could generate an xml file but, what happens with the main page? how can I link the new news automatically? is it possible??

Thanks in advance.
1 REPLY 1

kvc
Champ in-the-making
Champ in-the-making
Yes.  You can do this by having a JSP page that calls into the repo to get a list of news items to display on the main page.  It can do that by just reading all the XMLs from a given directory using our native Java API (either in-process or via RMI) or, in 2.1, but querying the repo using our new search support.  Also in 2.1, you can instead of using our Java API create a web script to do the same thing, but write that web script in Javascript.  Then, in your JSP page, you can just call on this web script to pull the needed list of XML assets.

Kevin