{"id":26611513,"url":"https://github.com/ioncache/plack-middleware-htmlify","last_synced_at":"2025-03-24T02:49:08.725Z","repository":{"id":1062137,"uuid":"897259","full_name":"ioncache/Plack-Middleware-HTMLify","owner":"ioncache","description":"Used for transforming a non-html document into html.","archived":false,"fork":false,"pushed_at":"2010-10-06T22:05:28.000Z","size":96,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-15T00:16:39.709Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/ioncache.png","metadata":{"files":{"readme":"README","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":"2010-09-08T21:39:24.000Z","updated_at":"2014-09-08T21:12:19.000Z","dependencies_parsed_at":"2022-07-15T06:47:09.167Z","dependency_job_id":null,"html_url":"https://github.com/ioncache/Plack-Middleware-HTMLify","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioncache%2FPlack-Middleware-HTMLify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioncache%2FPlack-Middleware-HTMLify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioncache%2FPlack-Middleware-HTMLify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioncache%2FPlack-Middleware-HTMLify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ioncache","download_url":"https://codeload.github.com/ioncache/Plack-Middleware-HTMLify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245200683,"owners_count":20576673,"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":"2025-03-24T02:49:08.158Z","updated_at":"2025-03-24T02:49:08.710Z","avatar_url":"https://github.com/ioncache.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"NAME\n    Plack::Middleware::HTMLify - Transform a non-html page into html.\n\nVERSION\n    version 0.1.1\n\nSYNOPSIS\n        use Plack::Builder;\n\n        my $app = sub {\n            return [ 200, [ 'Content-Type' =\u003e 'text/plain' ], [ 'Hello Foo' ] ];\n        };\n\n        builder {\n            enable \"HTMLify\",\n                set_doctype    =\u003e \"...\", # html for the doctype\n                set_head       =\u003e \"...\", # html to include in \u003chead\u003e\n                set_body_start =\u003e \"...\", # html for the beginning of the \u003cbody\u003e\n                set_body_end   =\u003e \"...\"; # html for the end of the \u003cbody\u003e\n            $app;\n        };\n\nDESCRIPTION\n    Plack::Middleware::HTMLify is meant to be used to transform non-html web\n    content into html.\n\n    Use case: On CPAN, the 'source' link is delivered as 'text/plain'. If\n    you wanted to do some post-processing of this page to add syntax\n    highlighting you would need the page to be set as 'text/html' and have\n    some basic HTML formatting.\n\nSEE ALSO\n    Plack\n\nAUTHOR\n    Mark Jubenville \u003cioncache@gmail.com\u003e\n\nCOPYRIGHT AND LICENSE\n    This software is copyright (c) 2010 by Mark Jubenville.\n\n    This is free software; you can redistribute it and/or modify it under\n    the same terms as the Perl 5 programming language system itself.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fioncache%2Fplack-middleware-htmlify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fioncache%2Fplack-middleware-htmlify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fioncache%2Fplack-middleware-htmlify/lists"}