{"id":17172167,"url":"https://github.com/apmem/simple-rss","last_synced_at":"2025-07-19T09:35:48.609Z","repository":{"id":1581691,"uuid":"2066183","full_name":"ApmeM/Simple-RSS","owner":"ApmeM","description":"Library to read and write valid rss","archived":false,"fork":false,"pushed_at":"2022-10-22T20:41:58.000Z","size":40,"stargazers_count":6,"open_issues_count":1,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-27T07:03:47.350Z","etag":null,"topics":["c-sharp","rss-feed","rss-generator","rss-reader"],"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/ApmeM.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-07-18T12:41:46.000Z","updated_at":"2023-05-17T17:45:10.000Z","dependencies_parsed_at":"2023-01-11T16:04:45.792Z","dependency_job_id":null,"html_url":"https://github.com/ApmeM/Simple-RSS","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ApmeM%2FSimple-RSS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ApmeM%2FSimple-RSS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ApmeM%2FSimple-RSS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ApmeM%2FSimple-RSS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ApmeM","download_url":"https://codeload.github.com/ApmeM/Simple-RSS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248741199,"owners_count":21154255,"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","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":["c-sharp","rss-feed","rss-generator","rss-reader"],"created_at":"2024-10-14T23:36:18.353Z","updated_at":"2025-04-13T16:11:38.287Z","avatar_url":"https://github.com/ApmeM.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple RSS\n\n## Introduction\n\nEasy to use library to create simple rss feeds and read foreign rss feeds.\n\nAll processes are based on XmlSerializer and can be used as an example of how to use XmlSerializer :)\n\n## Usage example\n\nTo create rss feed you need to fill necessary fields in `Rss` object and call `RSSHelper.WriteRSS` to any Stream you wish.\n\n    MemoryStream ms = new MemoryStream();\n    Rss rss = GetFullRSS();\n    RSSHelper.WriteRSS(rss, ms);\n    var result = Encoding.UTF8.GetString(ms.GetBuffer()).Trim('\\0');\n    Assert.AreEqual(GetFullRSSText(), result);\n\n\nTo read foreign rss feed you need to get stream with rss data and call `RSSHelper.ReadRSS`\n\n    var request = WebRequest.Create(\"http://example.org/rss/\");\n    var response = request.GetResponse();\n    var stream = response.GetResponseStream();\n    Rss rss = RSSHelper.ReadRSS(stream);\n    Assert.AreEqual(\"Example\", rss.Channel.Title);\n\n### RSS object creating example\n\nComplete rss object will looks like this:\n\n    return new Rss\n            {\n                Channel =\n                    new RssChannel\n                    {\n                        AtomLink = new RssLink { Href = new RssUrl(\"http://atomlink.com\"), Rel = Rel.self, Type = \"text/plain\" },\n                        Category = \"category\",\n                        Cloud =\n                            new RssCloud\n                            {\n                                Domain = \"domain\",\n                                Path = \"path\",\n                                Port = 1234,\n                                Protocol = Protocol.xmlrpc,\n                                RegisterProcedure = \"registerProcedure\"\n                            },\n                        Copyright = \"copyrignt (c)\",\n                        Description = \"long description\",\n                        Image =\n                            new RssImage\n                            {\n                                Description = \"Image Description\",\n                                Height = 100,\n                                Width = 100,\n                                Link = new RssUrl(\"http://image.link.url.com\"),\n                                Title = \"title\",\n                                Url = new RssUrl(\"http://image.url.com\")\n                            },\n                        Language = new CultureInfo(\"en\"),\n                        LastBuildDate = new DateTime(2011, 7, 17, 15, 55, 41),\n                        Link = new RssUrl(\"http://channel.url.com\"),\n                        ManagingEditor = new RssEmail(\"managingEditor@mail.com (manager)\"),\n                        PubDate = new DateTime(2011, 7, 17, 15, 55, 41),\n                        Rating = \"rating\",\n                        SkipDays = new List\u003cDay\u003e { Day.Thursday, Day.Wednesday },\n                        SkipHours = new List\u003cHour\u003e { new Hour(22), new Hour(15), new Hour(4) },\n                        TextInput =\n                            new RssTextInput\n                            {\n                                Description = \"text input desctiption\",\n                                Link = new RssUrl(\"http://text.input.link.com\"),\n                                Name = \"text input name\",\n                                Title = \"text input title\"\n                            },\n                        Title = \"channel title\",\n                        TTL = 10,\n                        WebMaster = new RssEmail(\"webmaster@mail.ru (webmaster)\"),\n                        Item =\n                            new List\u003cRssItem\u003e\n                                        {\n                                            new RssItem\n                                                {\n                                                    Author = new RssEmail(\"item.author@mail.ru (author)\"),\n                                                    Category =\n                                                        new RssCategory\n                                                            {\n                                                                Domain = \"category domain value\", \n                                                                Text = \"category text value\"\n                                                            },\n                                                    Comments = new RssUrl(\"http://rss.item.comment.url.com\"),\n                                                    Description = \"item description\",\n                                                    Enclosure =\n                                                        new RssEnclosure\n                                                            {\n                                                                Length = 1234,\n                                                                Type = \"text/plain\",\n                                                                Url = new RssUrl(\"http://rss.item.enclosure.type.url.com\")\n                                                            },\n                                                    Link = new RssUrl(\"http://rss.item.link.url.com\"),\n                                                    PubDate = new DateTime(2011, 7, 17, 15, 55, 41),\n                                                    Title = \"item title\",\n                                                    Guid = new RssGuid { IsPermaLink = false, Value = \"guid value\" },\n                                                    Source = new RssSource { Url = new RssUrl(\"http://rss.item.source.url.com\") }\n                                                }\n                                        }\n                    }\n            };\n\n\n## Features\n\nResulted rss are valid for w3c rss validator located at http://validator.w3.org/feed/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapmem%2Fsimple-rss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapmem%2Fsimple-rss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapmem%2Fsimple-rss/lists"}