{"id":19648179,"url":"https://github.com/bestpractical/html-quoted","last_synced_at":"2025-02-27T00:35:22.480Z","repository":{"id":807983,"uuid":"513954","full_name":"bestpractical/html-quoted","owner":"bestpractical","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-11T19:46:55.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-09T22:50:38.563Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://search.cpan.org/dist/HTML-Quoted","language":"Perl","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/bestpractical.png","metadata":{"files":{"readme":"README","changelog":"Changes","contributing":null,"funding":null,"license":null,"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":"2010-02-11T22:19:40.000Z","updated_at":"2023-07-25T13:41:45.000Z","dependencies_parsed_at":"2024-11-11T14:47:29.532Z","dependency_job_id":null,"html_url":"https://github.com/bestpractical/html-quoted","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestpractical%2Fhtml-quoted","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestpractical%2Fhtml-quoted/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestpractical%2Fhtml-quoted/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestpractical%2Fhtml-quoted/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bestpractical","download_url":"https://codeload.github.com/bestpractical/html-quoted/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240957581,"owners_count":19884760,"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-11T14:47:23.349Z","updated_at":"2025-02-27T00:35:22.459Z","avatar_url":"https://github.com/bestpractical.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"NAME\n    HTML::Quoted - extract structure of quoted HTML mail message\n\nSYNOPSIS\n        use HTML::Quoted;\n        my $html = '...';\n        my $struct = HTML::Quoted-\u003eextract( $html );\n\nDESCRIPTION\n    Parses and extracts quotation structure out of a HTML message. Purpose\n    and returned structures are very similar to Text::Quoted.\n\nSUPPORTED FORMATS\n    Variouse MUAs use quite different approaches for quoting in mails.\n\n    Some use *blockquote* tag and it's quite easy to parse.\n\n    Some wrap text into *p* tags and add '\u003e' in the beginning of the\n    paragraphs.\n\n    Things gettign messier when it's an HTML reply on plain text mail\n    thread.\n\n    If you found format that is not supported then file a bug report via\n    rt.cpan.org with as short as possible example. Test file is even better.\n    Test file with patch is the best. Not obviouse patches without tests\n    suck.\n\nMETHODS\n  extract\n        my $struct = HTML::Quoted-\u003eextract( $html );\n\n    Takes a string with HTML and returns array reference. Each element in\n    the array either array or hash. For example:\n\n        [\n            { 'raw' =\u003e 'Hi,' },\n            { 'raw' =\u003e '\u003cdiv\u003e\u003cbr\u003e\u003cdiv\u003eOn date X wrote:\u003cbr\u003e' },\n            [\n                 { 'raw' =\u003e '\u003cblockquote\u003e' },\n                 { 'raw' =\u003e 'Hello,' },\n                 { 'raw' =\u003e '\u003cdiv\u003eHow are you?\u003c/div\u003e' },\n                 { 'raw' =\u003e '\u003c/blockquote\u003e' }\n            ],\n            ...\n        ]\n\n    Hashes represent a part of the html. The following keys are meaningful\n    at the moment:\n\n    *   raw - raw HTML\n\n    *   quoter_raw, quoter - raw and decoded (entities are converted) quoter\n        if block is prefixed with quoting characters\n\n  combine_hunks\n      my $html = HTML::Quoted-\u003ecombine_hunks( $arrayref_of_hunks );\n\n    Takes the output of \"extract\" and turns it back into HTML.\n\nAUTHOR\n    Ruslan.Zakirov \u003cruz@bestpractical.com\u003e\n\nLICENSE\n    Under the same terms as perl itself.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbestpractical%2Fhtml-quoted","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbestpractical%2Fhtml-quoted","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbestpractical%2Fhtml-quoted/lists"}