display news on dashboard home page

This commit is contained in:
Luke Pulverenti
2014-01-18 16:52:01 -05:00
parent 5ca7d63556
commit 7f51148130
13 changed files with 257 additions and 1 deletions

View File

@@ -80,6 +80,7 @@
<Compile Include="LiveTv\RecordingStatus.cs" />
<Compile Include="LiveTv\SeriesTimerInfoDto.cs" />
<Compile Include="LiveTv\TimerInfoDto.cs" />
<Compile Include="News\NewsItem.cs" />
<Compile Include="Providers\ImageProviderInfo.cs" />
<Compile Include="Providers\RemoteImageInfo.cs" />
<Compile Include="Dto\StudioDto.cs" />

View File

@@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
namespace MediaBrowser.Model.News
{
public class NewsChannel
{
public string Title { get; set; }
public string Link { get; set; }
public string Description { get; set; }
public List<NewsItem> Items { get; set; }
}
public class NewsItem
{
public string Title { get; set; }
public string Link { get; set; }
public string Description { get; set; }
public string Guid { get; set; }
public DateTime Date { get; set; }
}
public class NewsQuery
{
public int? StartIndex { get; set; }
public int? Limit { get; set; }
}
}