{"id":21498104,"url":"https://github.com/versun/feed2json","last_synced_at":"2025-03-17T12:41:04.466Z","repository":{"id":236878580,"uuid":"791526871","full_name":"versun/feed2json","owner":"versun","description":"Convert RSS feed to JSON Feed","archived":false,"fork":false,"pushed_at":"2024-04-29T03:50:34.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-10T17:06:15.132Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pypi.org/project/feed2json/","language":"Python","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/versun.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"custom":["https://afdian.net/a/versun"]}},"created_at":"2024-04-24T21:55:46.000Z","updated_at":"2024-04-29T03:52:28.000Z","dependencies_parsed_at":"2024-04-29T04:04:42.695Z","dependency_job_id":"5a8e1eba-4ae6-458b-9399-62c3a7d1897a","html_url":"https://github.com/versun/feed2json","commit_stats":null,"previous_names":["versun/feed2json"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/versun%2Ffeed2json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/versun%2Ffeed2json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/versun%2Ffeed2json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/versun%2Ffeed2json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/versun","download_url":"https://codeload.github.com/versun/feed2json/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244035904,"owners_count":20387408,"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":[],"created_at":"2024-11-23T16:34:27.783Z","updated_at":"2025-03-17T12:41:04.437Z","avatar_url":"https://github.com/versun.png","language":"Python","funding_links":["https://afdian.net/a/versun"],"categories":[],"sub_categories":[],"readme":"## Feed2Json\n\nConvert RSS feed to JSON Feed\n\nInstallation\n-----------\n`pip install feed2json`\n\nUsage\n-----------\n```python\nfrom feed2json import feed2json\n# ----------- \nfeed_url = \"https://versun.me/feed\"\njson_feed:dict = feed2json(feed_url)\n# ----------- \nfeed_html = '''\n   \u003c?xml version=\"1.0\" encoding=\"utf-8\"?\u003e\n   \u003cfeed xmlns=\"http://www.w3.org/2005/Atom\"\u003e\n\n     \u003ctitle\u003eExample Feed\u003c/title\u003e\n     \u003clink href=\"http://example.org/\"/\u003e\n     \u003cupdated\u003e2003-12-13T18:30:02Z\u003c/updated\u003e\n     \u003cauthor\u003e\n       \u003cname\u003eJohn Doe\u003c/name\u003e\n     \u003c/author\u003e\n     \u003cid\u003eurn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6\u003c/id\u003e\n\n     \u003centry\u003e\n       \u003ctitle\u003eAtom-Powered Robots Run Amok\u003c/title\u003e\n       \u003clink href=\"http://example.org/2003/12/13/atom03\"/\u003e\n       \u003cid\u003eurn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a\u003c/id\u003e\n       \u003cupdated\u003e2003-12-13T18:30:02Z\u003c/updated\u003e\n       \u003csummary\u003eSome text.\u003c/summary\u003e\n     \u003c/entry\u003e\n\n   \u003c/feed\u003e\n'''\njson_feed:dict = feed2json(feed_html)\n# ----------- \nfeed_xml_file = 'example_feed.xml'\njson_feed:dict = feed2json(feed_xml_file)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fversun%2Ffeed2json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fversun%2Ffeed2json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fversun%2Ffeed2json/lists"}