{
    "content": [
        {
            "type": "text",
            "text": "# RDF::Redland::RSS (perldoc)\n\n## NAME\n\nRDF::Redland::RSS - Redland RSS 1.0 Class\n\n## SYNOPSIS\n\nuse RDF::Redland::RSS;\n...\nmy $rss=RDF::Redland::RSS->newfrommodel($model);\nmy $rss2=new RDF::Redland::RSS(\"http://example.com/test.rdf\");\n...\nfor my $channel ($rss->channels) {\n...\nprint \"channel title is \",$channel->title->asstring,\"\\n\"; # UTF-8\n}\nmy(@items)=$channel->items;\n# Print channel items (URI, title)\nfor my $item (@items) {\nprint \"item \",$item->uri->asstring, \" \", $item->title->asstring, \"\\n\";\n}\n...\nprint $rss->asxhtml(width => 320, align => 'right');\n\n## DESCRIPTION\n\nClass representing concepts in an RSS 1.0 RDF graph.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **CONSTRUCTORS**\n- **METHODS**\n- **ASXHTML OPTIONS**\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "RDF::Redland::RSS",
        "section": "",
        "mode": "perldoc",
        "summary": "RDF::Redland::RSS - Redland RSS 1.0 Class",
        "synopsis": "use RDF::Redland::RSS;\n...\nmy $rss=RDF::Redland::RSS->newfrommodel($model);\nmy $rss2=new RDF::Redland::RSS(\"http://example.com/test.rdf\");\n...\nfor my $channel ($rss->channels) {\n...\nprint \"channel title is \",$channel->title->asstring,\"\\n\"; # UTF-8\n}\nmy(@items)=$channel->items;\n# Print channel items (URI, title)\nfor my $item (@items) {\nprint \"item \",$item->uri->asstring, \" \", $item->title->asstring, \"\\n\";\n}\n...\nprint $rss->asxhtml(width => 320, align => 'right');",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 23,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "CONSTRUCTORS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 42,
                "subsections": []
            },
            {
                "name": "ASXHTML OPTIONS",
                "lines": 43,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "RDF::Redland::RSS::Node - Redland RSS 1.0 Node Class\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use RDF::Redland::RSS;\n\n...\nmy $rss=RDF::Redland::RSS->newfrommodel($model);\n\nmy $rss2=new RDF::Redland::RSS(\"http://example.com/test.rdf\");\n...\n\nfor my $channel ($rss->channels) {\n...\nprint \"channel title is \",$channel->title->asstring,\"\\n\"; # UTF-8\n}\n\nmy(@items)=$channel->items;\n# Print channel items (URI, title)\nfor my $item (@items) {\nprint \"item \",$item->uri->asstring, \" \", $item->title->asstring, \"\\n\";\n}\n\n...\n\nprint $rss->asxhtml(width => 320, align => 'right');\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Class representing concepts in an RSS 1.0 RDF graph.\n",
                "subsections": []
            },
            "CONSTRUCTORS": {
                "content": "No public constructors. Nodes are created either by methods of this class or RDF::Redland::RSS.\n",
                "subsections": []
            },
            "METHODS": {
                "content": "title\nGet the RSS titles for channel, image, item or textinput. Returns either a list or first one\nfound depending on calling context.\n\nlink\nGet the RSS link for channel, image, item or textinput. Returns either a list or first one\nfound depending on calling context.\n\ndescription\nGet the Dublin Core description element or RSS description for channel, item or textinput.\nReturns either a list or first one found depending on calling context.\n\nimageurl\nGet the RSS image URL string for an image. Returns either a list or first one found\ndepending on calling context.\n\nname\nGet the RSS name for a textinput. Returns either a list or first one found depending on\ncalling context.\n\nitems\nGet the RSS items in a channel as a list of RDF::Redland::RSS::Node objects.\n\nimage\nGet the image of a channel as an RDF::Redland::RSS::Node object or undef if not present.\n\ntextinput\nGet the textinput of a channel as an RDF::Redland::RSS::Node object or undef if not present.\n\nproperty PROPERTY\nGet the value of the named property off an RDF::Redland::RSS::Node where *PROPERTY* is an\nRDF::Redland::Node or RDF::Redland::RSS::Node. Returns a list of RDF::Redland::RSS::Node\nobjects or first one found depending on calling context.\n\nproperties\nGet all properties off the RDF::Redland::RSS::Node. Returns a list of\nRDF::Redland::RSS::Node objects.\n\npropertieswithnsprefix NSPREFIX\nGet all unique properties of the RDF::Redland::RSS::Node which have namespace URI prefix\n*NSPREFIX*. Returns a list of the properties as RDF::Redland::RSS::Node objects.\n",
                "subsections": []
            },
            "ASXHTML OPTIONS": {
                "content": "boxTitle\nA string, is the text displayed in the title of the box. It defaults to the title element of\nthe channel.\n\nalign\nA string, has three possible values, left, right or the empty string. The HTML table is\neither left-aligned, right-aligned or not aligned. It defaults to the empty string.\n\nwidth\nA number, is the width of the box, in pixels. It defaults to 125. Note that the title bar\ndetermines the minimum width of the box, if you're having trouble getting it to be narrower,\ntry shortening boxTitle.\n\nframeColor\nA string, is the hex browser color for the frame of the box. Defaults to \"#000000\".\n\ntitleBarTextColor\nA string, is the hex browser color for the text in the title bar of the box. Defalults to\n\"#000000\".\n\ntitleBarColor\nA string, is the hex browser color for the title bar of the box. Defaults to \"#ADD8E6\".\n\nboxFillColor\nA string, is the hex browser color for the main part of the box. Defaults to \"#FFFFFF\".\n\ntime\nA string, is text that's displayed as the time to the right of the box title. Defaults to\n\"\".\n\nhspace\nA number, is the number of pixels to the left and right of the box. Defaults to 0.\n\nvspace\nA number, is the number of pixels above and below the box. Defaults to 0.\n\nfull\nIf set to any value, returns a full XHTML document. Defaults to returning an HTML fragment.\n\nimageAlign\nA string, has two possible values, left or right. The channel image is either left-aligned\nor right-aligned. It defaults to right aligned.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "RDF::Redland::Model and RSS 1.0 web pages at http://purl.org/rss/1.0/\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Dave Beckett - http://www.dajobe.org/\n",
                "subsections": []
            }
        }
    }
}