{"id":15395492,"url":"https://github.com/stef/herrnilsson","last_synced_at":"2025-09-08T23:42:58.355Z","repository":{"id":3008797,"uuid":"4027752","full_name":"stef/herrnilsson","owner":"stef","description":"a mediawiki bot that imports parltrack dossiers","archived":false,"fork":false,"pushed_at":"2013-11-21T14:37:29.000Z","size":156,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T20:46:08.533Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"ARMmbed/target-mbed-armcc","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stef.png","metadata":{"files":{"readme":"README.org","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":"2012-04-14T21:02:25.000Z","updated_at":"2023-09-08T16:33:01.000Z","dependencies_parsed_at":"2022-09-20T13:14:18.562Z","dependency_job_id":null,"html_url":"https://github.com/stef/herrnilsson","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stef/herrnilsson","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stef%2Fherrnilsson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stef%2Fherrnilsson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stef%2Fherrnilsson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stef%2Fherrnilsson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stef","download_url":"https://codeload.github.com/stef/herrnilsson/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stef%2Fherrnilsson/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274231145,"owners_count":25245675,"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-09-08T02:00:09.813Z","response_time":121,"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":[],"created_at":"2024-10-01T15:28:31.670Z","updated_at":"2025-09-08T23:42:58.299Z","avatar_url":"https://github.com/stef.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"* HerrNilsson is happy to serve you!\n\nHerrNilsson is a small script that fetches dossiers from http://parltrack.euwiki.org and creates wikipage stubs in a mediawiki site.\n\nYou need:\n\n 1. A working mediawiki installation. You can operate your private wiki on your private network!\n    Please also enable https://www.mediawiki.org/wiki/Extension:StringFunctions in your mediawiki\n 2. Create a wiki page with the name \"Template:Ptheader\", and copy the contents of the file template.txt into it.\n 3. a registered user on the wiki from step 1 authorized to edit and create pages.\n 4. the user credentials and the site for the user from step 2\n   #+BEGIN_SRC\n       echo SITE='\u003cmediawiki url\u003e' \u003econfig.py\n       echo USER='\u003cusername\u003e' \u003e\u003econfig.py\n       echo PASSWORD='\u003cpassword\u003e' \u003e\u003econfig.py\n       echo PREFIX='EP:' \u003e\u003econfig.py\n   #+END_SRC\n 5. some python packages `pip install -r requirements.txt`\n\nNow you should be ready to run herrnilsson, try importing one page\n\n#+BEGIN_SRC\n ./herrnilsson.py '2011/0167(NLE)'\n#+END_SRC\n\nCheck out the imported page on your wiki. here's a screenshot:\n\n[[http://www.ctrlc.hu/~stef/ptwiki.png]]\n\nif you maintain a list of multiple dossiers, herrnilsson is happy to process them all:\n#+BEGIN_SRC\n./herrnilsson.py \u003cmyfavoritedossiers.txt\n#+END_SRC\n\nwhere myfavoritedossiers.txt might contain something like:\n#+BEGIN_EXAMPLE\n    2011/0167(NLE)\n    2012/2511(RSP)\n    2011/2884(RSP)\n    2011/0137(COD)\n    2010/0273(COD)\n#+END_EXAMPLE\n\n    if you want to change the data herr nilsson supplies, then edit the template in data.txt, it's pure jinja2 templateing\n\nyou can also import all dossiers from notification groups\n#+BEGIN_SRC\n./herrnilsson.py acta\n#+END_SRC\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstef%2Fherrnilsson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstef%2Fherrnilsson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstef%2Fherrnilsson/lists"}