{"id":17027724,"url":"https://github.com/tsudoko/kirirss","last_synced_at":"2025-03-22T19:42:52.688Z","repository":{"id":90607923,"uuid":"74971105","full_name":"tsudoko/kirirss","owner":"tsudoko","description":"Generate RSS feeds from HTML pages using CSS selectors","archived":false,"fork":false,"pushed_at":"2017-05-20T14:07:19.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-27T23:42:26.133Z","etag":null,"topics":["css-selector","rss-generator"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tsudoko.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-28T12:31:24.000Z","updated_at":"2016-11-28T12:41:21.000Z","dependencies_parsed_at":"2023-03-14T03:30:46.613Z","dependency_job_id":null,"html_url":"https://github.com/tsudoko/kirirss","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsudoko%2Fkirirss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsudoko%2Fkirirss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsudoko%2Fkirirss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsudoko%2Fkirirss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsudoko","download_url":"https://codeload.github.com/tsudoko/kirirss/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245013932,"owners_count":20547177,"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":["css-selector","rss-generator"],"created_at":"2024-10-14T07:49:44.402Z","updated_at":"2025-03-22T19:42:52.678Z","avatar_url":"https://github.com/tsudoko.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"kirirss\n=======\n\nSimple HTML→RSS converter. Can be easily integrated with cron, feed readers with\nexternal script support or other Ruby applications. Input data is specified with\nCSS selectors.\n\nTo make generating multiple feeds easier, the `kirirss-batch.sh` script can be\nused. It's in the `misc` directory.\n\nDependencies\n------------\n\n`chronic`, `nokogiri`, and `toml-rb` gems need to be installed before using\nkirirss.\n\nConfig file\n-----------\n\nSample configuration files can be found in the `misc` directory.\n\nFields prefixed with 🔶 are required. \"Skipped\" means not present in the config\nfile or empty. Note that even though some fields are not required, skipping them\nwill produce invalid RSS feeds.\n\n### `feed-title` (string)\n\nContent of the `\u003ctitle\u003e` feed tag. Page title is used if the field is skipped.\n\n### `feed-description` (string)\n\nContent of the `\u003cdescription\u003e` feed tag. Empty if the field is skipped.\n\n### 🔶 `feed-link` (string)\n\nURL of the page to extract data from. Used in of the `\u003clink\u003e` feed as well.\nRequired.\n\n### 🔶 `root-selector` (string)\n\nRoot selector of a single input item. \"Input item\" is a tag which contains all\ndata used in a single feed item. Required.\n\n### `headers` (table)\n\nAdditional headers to use when fetching the input page. Can be used for\nauthentication or UA spoofing. Example:\n\n    [headers]\n    Cookie = \"session_id=asdf42194\"\n    X-Requested-With = \"XMLHttpRequest\"\n\n### `tag.(name)` (table)\n\nChild tag of each `\u003citem\u003e` in the feed with the name `(name)`. If this field is\npresent, the `\u003c(name)\u003e` tag will exist in each item. Example tag:\n\n    [tag.pubDate]\n    selector = \"time\"\n    attribute = \"datetime\"\n    date-format = \"auto\"\n\n#### `selector` (string)\n\nSelector for the current tag contents. Not used if `use-root` is true.\n\n#### `use-root` (boolean)\n\nUse the tag matched by the root selector.\n\n#### `attribute` (string)\n\nAttribute of a matched input tag to be used for the current tag contents. When\nthis field is present, content will be extracted from the specified attribute\ninstead of the contents of the tag.\n\n#### `out-attributes` (table)\n\nAdditional tag attributes. The most common use case:\n\n    [tag.guid]\n    # ...\n    out-attributes = {isPermaLink = false}\n\n#### `placeholder` (string)\n\nText used when the input tag is empty or not found.\n\n#### `date-format` (string)\n\n[strptime][1] format of the date in the contents. If a special \"auto\" value is\ngiven, the date is parsed heuristically with [chronic][2]. Output tag will\ncontain a [RFC 2822][3]-formatted date. Contents will not be date-formatted if\nthis field is skipped.\n\n[1]: http://ruby-doc.org/stdlib/libdoc/date/rdoc/DateTime.html#method-c-strptime\n[2]: https://github.com/mojombo/chronic\n[3]: https://tools.ietf.org/html/rfc2822.html#section-3.3\n\n#### `is-url` (boolean)\n\nMake the URL absolute if it's relative.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsudoko%2Fkirirss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsudoko%2Fkirirss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsudoko%2Fkirirss/lists"}