{"id":18123535,"url":"https://github.com/samwilson/mediawiki-feeds","last_synced_at":"2025-04-14T23:07:48.969Z","repository":{"id":48363929,"uuid":"61986244","full_name":"samwilson/mediawiki-feeds","owner":"samwilson","description":"A tool to generate RSS feeds for pages in MediaWiki categories.","archived":false,"fork":false,"pushed_at":"2021-07-29T21:15:51.000Z","size":90,"stargazers_count":8,"open_issues_count":13,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-14T23:07:39.769Z","etag":null,"topics":["categories","feeds","mediawiki","rss","syndication"],"latest_commit_sha":null,"homepage":"https://en.wikiversity.org/wiki/User:Samwilson/Blog/MediaWiki_Feeds","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samwilson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-26T11:31:38.000Z","updated_at":"2024-01-07T03:19:52.000Z","dependencies_parsed_at":"2022-09-17T15:01:48.376Z","dependency_job_id":null,"html_url":"https://github.com/samwilson/mediawiki-feeds","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samwilson%2Fmediawiki-feeds","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samwilson%2Fmediawiki-feeds/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samwilson%2Fmediawiki-feeds/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samwilson%2Fmediawiki-feeds/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samwilson","download_url":"https://codeload.github.com/samwilson/mediawiki-feeds/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248975316,"owners_count":21192209,"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":["categories","feeds","mediawiki","rss","syndication"],"created_at":"2024-11-01T07:10:09.966Z","updated_at":"2025-04-14T23:07:48.953Z","avatar_url":"https://github.com/samwilson.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"MediaWiki Feeds\n===============\n\nA tool to create RSS feeds of pages in [MediaWiki](https://mediawiki.org) categories.\n\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/samwilson/mediawiki-feeds/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/samwilson/mediawiki-feeds/?branch=master)\n[![Build Status](https://scrutinizer-ci.com/g/samwilson/mediawiki-feeds/badges/build.png?b=master)](https://scrutinizer-ci.com/g/samwilson/mediawiki-feeds/build-status/master)\n\n## Requirements\n\n1. `php-curl`\n\n## Installation\n\n1. Clone from GitHub to a web-accessible location: `git clone https://github.com/samwilson/mediawiki-feeds.git`\n2. Install dependencies: `composer install --no-dev`\n3. Create the `var` directory, and make it writeable by the web server and CLI users\n4. [*Optional*] Modify the `$defaults` array in `config.php`\n\nIf installing on [Wikimedia Toolforge](https://wikitech.wikimedia.org/wiki/Portal:Toolforge),\nset the `$cdn` variable in `config.php` to `'toolforge'`.\n\n## Usage\n\nBrowse to `mediawiki-feeds/index.html` and fill in the form.\nPages in the category *and all subcategories* will be items in the feed.\n\nYou can prevent the feed from being cached by passing the `nocache` URL parameter (with any or no value).\n\nNote that there is a public deployment of this tool on WMFlabs: https://tools.wmflabs.org/mediawiki-feeds/\n\n### Feed item formatting\n\n\nThe first `\u003ctime\u003e` element found on the page will be used for the publication date.\n\nThe contents of an element with a `itemprop=\"description\"` attribute will be used for the description,\nor else just the first 400 characters of the page.\n\n### Command Line Interface\n\nIf you want to produce feeds of categories that have a large number of members,\nthe web-request may time out. In this case, use `cli.php` to populate the cache\n(e.g. from a cron job):\n\n    php cli.php --category=Category:Blog_posts --url=https://en.wikiversity.org/w/ --numItems=10 --title=\"Other title\" --verbose\n\nThe CLI always rebuilds the cache (because that's what it's for; it's up to you to not call it too often).\nTo find out the name of the cache file (e.g. to serve the RSS file directly), pass the `verbose` flag.\n\n## Upgrading\n\n1. Update from GitHub: `git pull origin master`\n2. Update dependencies: `composer install`\n\n## Reporting issues\n\nPlease report any issues via GitHub https://github.com/samwilson/mediawiki-feeds/issues\nor by contacting [User:Samwilson](https://mediawiki.org/wiki/User:Samwilson).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamwilson%2Fmediawiki-feeds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamwilson%2Fmediawiki-feeds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamwilson%2Fmediawiki-feeds/lists"}