{"id":22562237,"url":"https://github.com/preciz/html_date","last_synced_at":"2025-04-10T10:33:27.347Z","repository":{"id":50413084,"uuid":"387560448","full_name":"preciz/html_date","owner":"preciz","description":"Extract publication dates from HTML documents / articles","archived":false,"fork":false,"pushed_at":"2025-03-31T16:43:30.000Z","size":65,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T17:45:37.811Z","etag":null,"topics":["date-parser","html"],"latest_commit_sha":null,"homepage":"https://hexdocs.pm/html_date","language":"Elixir","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/preciz.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2021-07-19T18:33:49.000Z","updated_at":"2025-03-31T16:43:33.000Z","dependencies_parsed_at":"2022-08-27T10:22:23.174Z","dependency_job_id":"2c126cdb-4e1b-4a27-98f4-dcc9540832c0","html_url":"https://github.com/preciz/html_date","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preciz%2Fhtml_date","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preciz%2Fhtml_date/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preciz%2Fhtml_date/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preciz%2Fhtml_date/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/preciz","download_url":"https://codeload.github.com/preciz/html_date/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248199172,"owners_count":21063641,"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":["date-parser","html"],"created_at":"2024-12-07T22:12:09.920Z","updated_at":"2025-04-10T10:33:27.314Z","avatar_url":"https://github.com/preciz.png","language":"Elixir","readme":"# HTMLDate\n\n![Actions Status](https://github.com/preciz/html_date/workflows/test/badge.svg)\n\nExtract date strings from HTML documents or articles.\n\n## Installation\n\nAdd `html_date` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:html_date, \"~\u003e 0.5.0\"}\n  ]\nend\n```\n\n## Usage\n\n```elixir\nraw_html = \"\u003c!DOCTYPE html\u003e\u003chtml class=...\"\n\n{:ok, %HTMLDate.Result{json_ld: [%{name: \"datePublished\", datetime: \"2021-07-11T06:39:43+02:00\", attributes: %{...}}, ...]}} = HTMLDate.parse(raw_html)\n```\n\n## Docs\n\nDocumentation can be found at [https://hexdocs.pm/html_date](https://hexdocs.pm/html_date).\n\n## Credits\n\nInspired by the following repos:\n\nhttps://github.com/mediacloud/date_guesser\n\nhttps://github.com/Webhose/article-date-extractor\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreciz%2Fhtml_date","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpreciz%2Fhtml_date","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreciz%2Fhtml_date/lists"}