This commit is contained in:
watrabi
2025-09-18 17:55:52 -04:00
commit 977f1ff4b8
15030 changed files with 17324420 additions and 0 deletions
@@ -0,0 +1,23 @@
namespace Roblox.RSS;
public class CustomImage : IImage
{
private string url;
private int width;
private int height;
public string Url => url;
public int Width => width;
public int Height => height;
public CustomImage(string url, int width, int height)
{
this.url = url;
this.width = width;
this.height = height;
}
}
@@ -0,0 +1,16 @@
using System.Collections.Generic;
namespace Roblox.RSS;
public interface IChannel
{
string Title { get; }
string Description { get; }
IImage Image { get; }
bool Complete { get; }
IEnumerable<IItem> GetItems();
}
@@ -0,0 +1,10 @@
namespace Roblox.RSS;
public interface IImage
{
int Width { get; }
int Height { get; }
string Url { get; }
}
@@ -0,0 +1,16 @@
using System;
namespace Roblox.RSS;
public interface IItem
{
string Title { get; }
DateTime PubDate { get; }
string Description { get; }
string Link { get; }
IImage Image { get; }
}
@@ -0,0 +1,17 @@
namespace Roblox.RSS;
public class StandardFeedImage : IImage
{
private string url;
public int Width => 118;
public int Height => 31;
public string Url => url;
public StandardFeedImage(string url)
{
this.url = url;
}
}