{"id":30420823,"url":"https://github.com/abjerner/skybrud.umbraco.rssutils","last_synced_at":"2025-08-22T08:20:33.815Z","repository":{"id":16811374,"uuid":"19570385","full_name":"abjerner/Skybrud.Umbraco.RssUtils","owner":"abjerner","description":"A small library for easily creating RSS feeds in Umbraco.","archived":false,"fork":false,"pushed_at":"2023-07-13T17:17:35.000Z","size":314,"stargazers_count":9,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"v2/main","last_synced_at":"2025-08-01T05:19:55.114Z","etag":null,"topics":["csharp","dotnet","limbo","package","rss","skybrud","umbraco","umbraco-package","umbraco-packages","umbraco-v8"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abjerner.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-08T11:00:31.000Z","updated_at":"2022-02-26T12:56:24.000Z","dependencies_parsed_at":"2023-01-11T19:26:48.715Z","dependency_job_id":null,"html_url":"https://github.com/abjerner/Skybrud.Umbraco.RssUtils","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/abjerner/Skybrud.Umbraco.RssUtils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abjerner%2FSkybrud.Umbraco.RssUtils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abjerner%2FSkybrud.Umbraco.RssUtils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abjerner%2FSkybrud.Umbraco.RssUtils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abjerner%2FSkybrud.Umbraco.RssUtils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abjerner","download_url":"https://codeload.github.com/abjerner/Skybrud.Umbraco.RssUtils/tar.gz/refs/heads/v2/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abjerner%2FSkybrud.Umbraco.RssUtils/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271606605,"owners_count":24788981,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","dotnet","limbo","package","rss","skybrud","umbraco","umbraco-package","umbraco-packages","umbraco-v8"],"created_at":"2025-08-22T08:20:23.552Z","updated_at":"2025-08-22T08:20:33.807Z","avatar_url":"https://github.com/abjerner.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"Skybrud.Umbraco.RssUtils\n========================\n\n**Skybrud.Umbraco.RssUtils** is a .NET package that easily lets you create RSS feeds on the fly without having to worry about generating the proper XML - the package takes care of that for you. \n\nSince the package is something that I have made for use in Umbraco projects, there is some Umbraco specific code to more easily create new RSS feeds based on `IPublishedContent`, but the package also plays well without Umbraco, so you can use it with other systems (or just native ASP.NET projects) as well.\n\n## Download\n\nSkybrud.Umbraco.RssUtils can be downloaded from NuGet:\n\nhttp://www.nuget.org/packages/Skybrud.Umbraco.RssUtils/\n\n## Example\n\nThe package primarily targets Umbraco, so here is a quick example on how the package can be used in a MVC view:\n\n```C#\n@using System.Xml.Linq\n@using Skybrud.Umbraco.RssUtils\n@inherits Umbraco.Web.Mvc.UmbracoTemplatePage\n@{\n    Layout = null;\n\n    // Obviously the news articles shouldn't be hardcoded\n    var articles = new[] {\n        new {\n            Id = 1,\n            Name = \"This is the first news article\",\n            Url = \"http://example.bjerner.dk/news/this-is-the-first-news-article/\",\n            PublishDate = new DateTime(2014, 8, 31, 0, 58, 55),\n            Teaser = \"This is the teaser text of the first news article\"\n        },\n        new {\n            Id = 2,\n            Name = \"This is the second news article\",\n            Url = \"http://example.bjerner.dk/news/this-is-the-second-news-article/\",\n            PublishDate = new DateTime(2014, 8, 31, 1, 02, 34),\n            Teaser = (string) null\n        }\n    };\n\n    // Initialize a new feed and add the blog posts\n    RssFeed feed = new RssFeed {\n        Title = \"News from Example\",\n        Link = Model.Content.UrlWithDomain() + \"rss\",\n        Description = \"You can now get news from Example as an RSS feed\",\n        Language = \"en-US\"\n    };\n    \n    foreach (var article in articles.Take(30)) {\n        feed.Add(new RssItem {\n            Title = article.Name,\n            Link = article.Url,\n            PubDate = article.PublishDate,\n            Description = article.Teaser,\n            Content = article.Teaser,\n            Guid = article.Url\n        });\n    }\n\n    // Write the RSS feed to the response stream\n    feed.Write(SaveOptions.None);\n    \n}\n```\n\nThe above example would generate an output like this:\n\n```xml\n\u003c?xml version=\"1.0\" encoding=\"utf-8\"?\u003e\n\u003crss xmlns:content=\"http://purl.org/rss/1.0/content\"\u003e\n  \u003cchannel\u003e\n    \u003ctitle\u003eNews from Example\u003c/title\u003e\n    \u003clink\u003ehttp://localhost:54722/rss\u003c/link\u003e\n    \u003cpubDate\u003eSat, 30 Aug 2014 22:58:55 GMT\u003c/pubDate\u003e\n    \u003cdescription\u003eYou can now get news from Example as an RSS feed\u003c/description\u003e\n    \u003clanguage\u003een-US\u003c/language\u003e\n    \u003citem\u003e\n      \u003ctitle\u003eThis is the second news article\u003c/title\u003e\n      \u003clink\u003ehttp://example.bjerner.dk/news/this-is-the-second-news-article/\u003c/link\u003e\n      \u003cpubDate\u003eSat, 30 Aug 2014 23:02:34 GMT\u003c/pubDate\u003e\n      \u003cguid\u003ehttp://example.bjerner.dk/news/this-is-the-second-news-article/\u003c/guid\u003e\n    \u003c/item\u003e\n    \u003citem\u003e\n      \u003ctitle\u003eThis is the first news article\u003c/title\u003e\n      \u003clink\u003ehttp://example.bjerner.dk/news/this-is-the-first-news-article/\u003c/link\u003e\n      \u003cpubDate\u003eSat, 30 Aug 2014 22:58:55 GMT\u003c/pubDate\u003e\n      \u003cguid\u003ehttp://example.bjerner.dk/news/this-is-the-first-news-article/\u003c/guid\u003e\n      \u003cdescription\u003e\u003c![CDATA[This is the teaser text of the first news article]]\u003e\u003c/description\u003e\n      \u003ccontent:encoded\u003e\u003c![CDATA[This is the teaser text of the first news article]]\u003e\u003c/content:encoded\u003e\n    \u003c/item\u003e\n  \u003c/channel\u003e\n\u003c/rss\u003e\n```\n\n## Changelog\n\n### Skybrud.Umbraco.RssUtils 1.0.3\n_31st of August, 2014_\n\n__Download__\n- [Get on NuGet](https://www.nuget.org/packages/Skybrud.Umbraco.RssUtils/1.0.3)\n\n__Changelog__\n- Changed namespace from `Skybrud.Umbraco.Rss` to `Skybrud.Umbraco.RssUtils` to follow package name ([See commit](/abjerner/Skybrud.Umbraco.RssUtils/commit/2f9fed5f07e51235d19c6d1b1755ec94f74c09e9))\n- Introduced the description property for RSS items ([See commit](/abjerner/Skybrud.Umbraco.RssUtils/commit/cf881f00c5cc058a6e31e2f25a2bf599d9204df4))\n- Added some extra format options when writing the feed ([See commit](/abjerner/Skybrud.Umbraco.RssUtils/commit/5a5cd2438ff1092a131ee6b6e76bd74ba232050a))\n- Other adjustments throughout the package\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabjerner%2Fskybrud.umbraco.rssutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabjerner%2Fskybrud.umbraco.rssutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabjerner%2Fskybrud.umbraco.rssutils/lists"}