How can I get the correct url for the news items? I'm trying to load my datalist that I created and I'm able to get the news title, status, etc but not the correct url. The 'out of the box' news module has the URL as /year/month/date/newstitle, in my datalist I'm showing /appname/home/template/newstitle
what field do I need to show to get the correct URL for my news item?
here is my code, is this not the correct code?
NewsManager manager = NewsManager.GetManager();
IQueryable<NewsItem> allNews = manager.GetNewsItems()
.Where(n => n.Status == ContentLifecycleStatus.Live);