{
    "content": [
        {
            "type": "text",
            "text": "# URI::Title (perldoc)\n\n## NAME\n\nURI::Title - get the titles of things on the web in a sensible way\n\n## SYNOPSIS\n\nuse URI::Title qw( title );\nmy $title = title('http://microsoft.com');\nprint \"Title is $title\\n\";\n\n## DESCRIPTION\n\nI keep having to find the title of things on the web. This seems like a really simple request,\njust get() the object, parse for a title tag, you're done. Ha, I wish. There are several\nproblems with this approach:\n\n## Sections\n\n- **NAME**\n- **VERSION**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **METHODS**\n- **TODO**\n- **AUTHORS**\n- **CREDITS**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "URI::Title",
        "section": "",
        "mode": "perldoc",
        "summary": "URI::Title - get the titles of things on the web in a sensible way",
        "synopsis": "use URI::Title qw( title );\nmy $title = title('http://microsoft.com');\nprint \"Title is $title\\n\";",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "VERSION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 12,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "TODO",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "CREDITS",
                "lines": 4,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "URI::Title - get the titles of things on the web in a sensible way\n",
                "subsections": []
            },
            "VERSION": {
                "content": "version 1.902\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use URI::Title qw( title );\nmy $title = title('http://microsoft.com');\nprint \"Title is $title\\n\";\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "I keep having to find the title of things on the web. This seems like a really simple request,\njust get() the object, parse for a title tag, you're done. Ha, I wish. There are several\nproblems with this approach:\n\nWhat if the resource is on a very slow server? Do we wait for ever or what?\nWhat if the resource is a 900 gig file? You don't want to download that.\nWhat if the page title isn't in a title tag, but is buried in the HTML somewhere?\nWhat if the resource is an MP3 file, or a word document or something?\n...\n\nSo, let's solve these issues once.\n",
                "subsections": []
            },
            "METHODS": {
                "content": "only one, the title(url) method. Call it with an url, get the title if possible, undef if it\nwasn't. Very simple.\n",
                "subsections": []
            },
            "TODO": {
                "content": "Many, many, many things. Still unimplemented:\n\nGet titles of MP3 files, Word Docs, PDFs, etc.\nConfigurable.. well, anything, in fact. Timeout would be a good start.\nBetter error reporting.\n",
                "subsections": []
            },
            "AUTHORS": {
                "content": "Tom Insam <tom@jerakeen.org>, original author, 2004-2012.\n\nPhilippe Bruhat (BooK) <book@cpan.org>, maintainer, 2014.\n\nThis program is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n",
                "subsections": []
            },
            "CREDITS": {
                "content": "Invented because of a conversation with rjp, who contributed some eyeball-melting and\nas-yet-unused code to get titles from MP3s and PDFs, and hex, who has also solved the problem,\nand got bits done in a nicer way than I did.\n",
                "subsections": []
            }
        }
    }
}