{
    "mode": "perldoc",
    "parameter": "XML::RSS",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/XML%3A%3ARSS/json",
    "generated": "2026-06-12T07:26:28Z",
    "synopsis": "# create an RSS 1.0 file (http://purl.org/rss/1.0/)\nuse XML::RSS;\nmy $rss = XML::RSS->new(version => '1.0');\n$rss->channel(\ntitle        => \"freshmeat.net\",\nlink         => \"http://freshmeat.net\",\ndescription  => \"the one-stop-shop for all your Linux software needs\",\ndc => {\ndate       => '2000-08-23T07:00+00:00',\nsubject    => \"Linux Software\",\ncreator    => 'scoop@freshmeat.net',\npublisher  => 'scoop@freshmeat.net',\nrights     => 'Copyright 1999, Freshmeat.net',\nlanguage   => 'en-us',\n},\nsyn => {\nupdatePeriod     => \"hourly\",\nupdateFrequency  => \"1\",\nupdateBase       => \"1901-01-01T00:00+00:00\",\n},\ntaxo => [\n'http://dmoz.org/Computers/Internet',\n'http://dmoz.org/Computers/PC'\n]\n);\n$rss->image(\ntitle  => \"freshmeat.net\",\nurl    => \"http://freshmeat.net/images/fm.mini.jpg\",\nlink   => \"http://freshmeat.net\",\ndc => {\ncreator  => \"G. Raphics (graphics at freshmeat.net)\",\n},\n);\n$rss->additem(\ntitle       => \"GTKeyboard 0.85\",\nlink        => \"http://freshmeat.net/news/1999/06/21/930003829.html\",\ndescription => \"GTKeyboard is a graphical keyboard that ...\",\ndc => {\nsubject  => \"X11/Utilities\",\ncreator  => \"David Allen (s2mdalle at titan.vcu.edu)\",\n},\ntaxo => [\n'http://dmoz.org/Computers/Internet',\n'http://dmoz.org/Computers/PC'\n]\n);\n$rss->textinput(\ntitle        => \"quick finder\",\ndescription  => \"Use the text input below to search freshmeat\",\nname         => \"query\",\nlink         => \"http://core.freshmeat.net/search.php3\",\n);\n# Optionally mixing in elements of a non-standard module/namespace\n$rss->addmodule(prefix=>'my', uri=>'http://purl.org/my/rss/module/');\n$rss->additem(\ntitle       => \"xIrc 2.4pre2\",\nlink        => \"http://freshmeat.net/projects/xirc/\",\ndescription => \"xIrc is an X11-based IRC client which ...\",\nmy => {\nrating    => \"A+\",\ncategory  => \"X11/IRC\",\n},\n);\n$rss->additem (title=>$title, link=>$link, slash=>{ topic=>$topic });\n# create an RSS 2.0 file\nuse XML::RSS;\nmy $rss = XML::RSS->new (version => '2.0');\n$rss->channel(title          => 'freshmeat.net',\nlink           => 'http://freshmeat.net',\nlanguage       => 'en',\ndescription    => 'the one-stop-shop for all your Linux software needs',\nrating         => '(PICS-1.1 \"http://www.classify.org/safesurf/\" 1 r (SS~~000 1))',\ncopyright      => 'Copyright 1999, Freshmeat.net',\npubDate        => 'Thu, 23 Aug 1999 07:00:00 GMT',\nlastBuildDate  => 'Thu, 23 Aug 1999 16:20:26 GMT',\ndocs           => 'http://www.blahblah.org/fm.cdf',\nmanagingEditor => 'scoop@freshmeat.net',\nwebMaster      => 'scoop@freshmeat.net'\n);\n$rss->image(title       => 'freshmeat.net',\nurl         => 'http://freshmeat.net/images/fm.mini.jpg',\nlink        => 'http://freshmeat.net',\nwidth       => 88,\nheight      => 31,\ndescription => 'This is the Freshmeat image stupid'\n);\n$rss->additem(title => \"GTKeyboard 0.85\",\n# creates a guid field with permaLink=true\npermaLink  => \"http://freshmeat.net/news/1999/06/21/930003829.html\",\n# alternately creates a guid field with permaLink=false\n# guid     => \"gtkeyboard-0.85\"\nenclosure   => { url=>$url, type=>\"application/x-bittorrent\" },\ndescription => 'blah blah'\n);\n$rss->textinput(title => \"quick finder\",\ndescription => \"Use the text input below to search freshmeat\",\nname  => \"query\",\nlink  => \"http://core.freshmeat.net/search.php3\"\n);\n# create an RSS 0.9 file\nuse XML::RSS;\nmy $rss = XML::RSS->new( version => '0.9' );\n$rss->channel(title => \"freshmeat.net\",\nlink  => \"http://freshmeat.net\",\ndescription => \"the one-stop-shop for all your Linux software needs\",\n);\n$rss->image(title => \"freshmeat.net\",\nurl   => \"http://freshmeat.net/images/fm.mini.jpg\",\nlink  => \"http://freshmeat.net\"\n);\n$rss->additem(title => \"GTKeyboard 0.85\",\nlink  => \"http://freshmeat.net/news/1999/06/21/930003829.html\"\n);\n$rss->textinput(title => \"quick finder\",\ndescription => \"Use the text input below to search freshmeat\",\nname  => \"query\",\nlink  => \"http://core.freshmeat.net/search.php3\"\n);\n# print the RSS as a string\nprint $rss->asstring;\n# or save it to a file\n$rss->save(\"fm.rdf\");\n# insert an item into an RSS file and removes the oldest ones if\n# there are already 15 items or more\nmy $rss = XML::RSS->new;\n$rss->parsefile(\"fm.rdf\");\nwhile (@{$rss->{'items'}} >= 15)\n{\nshift (@{ $rss->{'items'} });\n}\n$rss->additem(title => \"MpegTV Player (mtv) 1.0.9.7\",\nlink  => \"http://freshmeat.net/news/1999/06/21/930003958.html\",\nmode  => 'insert'\n);\n# parse a string instead of a file\n$rss->parse($string);\n# print the title and link of each RSS item\nforeach my $item (@{$rss->{'items'}}) {\nprint \"title: $item->{'title'}\\n\";\nprint \"link: $item->{'link'}\\n\\n\";\n}\n# output the RSS 0.9 or 0.91 file as RSS 1.0\n$rss->{output} = '1.0';\nprint $rss->asstring;",
    "sections": {
        "NAME": {
            "content": "XML::RSS - creates and updates RSS files\n",
            "subsections": []
        },
        "VERSION": {
            "content": "version 1.62\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "# create an RSS 1.0 file (http://purl.org/rss/1.0/)\nuse XML::RSS;\nmy $rss = XML::RSS->new(version => '1.0');\n$rss->channel(\ntitle        => \"freshmeat.net\",\nlink         => \"http://freshmeat.net\",\ndescription  => \"the one-stop-shop for all your Linux software needs\",\ndc => {\ndate       => '2000-08-23T07:00+00:00',\nsubject    => \"Linux Software\",\ncreator    => 'scoop@freshmeat.net',\npublisher  => 'scoop@freshmeat.net',\nrights     => 'Copyright 1999, Freshmeat.net',\nlanguage   => 'en-us',\n},\nsyn => {\nupdatePeriod     => \"hourly\",\nupdateFrequency  => \"1\",\nupdateBase       => \"1901-01-01T00:00+00:00\",\n},\ntaxo => [\n'http://dmoz.org/Computers/Internet',\n'http://dmoz.org/Computers/PC'\n]\n);\n\n$rss->image(\ntitle  => \"freshmeat.net\",\nurl    => \"http://freshmeat.net/images/fm.mini.jpg\",\nlink   => \"http://freshmeat.net\",\ndc => {\ncreator  => \"G. Raphics (graphics at freshmeat.net)\",\n},\n);\n\n$rss->additem(\ntitle       => \"GTKeyboard 0.85\",\nlink        => \"http://freshmeat.net/news/1999/06/21/930003829.html\",\ndescription => \"GTKeyboard is a graphical keyboard that ...\",\ndc => {\nsubject  => \"X11/Utilities\",\ncreator  => \"David Allen (s2mdalle at titan.vcu.edu)\",\n},\ntaxo => [\n'http://dmoz.org/Computers/Internet',\n'http://dmoz.org/Computers/PC'\n]\n);\n\n$rss->textinput(\ntitle        => \"quick finder\",\ndescription  => \"Use the text input below to search freshmeat\",\nname         => \"query\",\nlink         => \"http://core.freshmeat.net/search.php3\",\n);\n\n# Optionally mixing in elements of a non-standard module/namespace\n\n$rss->addmodule(prefix=>'my', uri=>'http://purl.org/my/rss/module/');\n\n$rss->additem(\ntitle       => \"xIrc 2.4pre2\",\nlink        => \"http://freshmeat.net/projects/xirc/\",\ndescription => \"xIrc is an X11-based IRC client which ...\",\nmy => {\nrating    => \"A+\",\ncategory  => \"X11/IRC\",\n},\n);\n\n$rss->additem (title=>$title, link=>$link, slash=>{ topic=>$topic });\n\n# create an RSS 2.0 file\nuse XML::RSS;\nmy $rss = XML::RSS->new (version => '2.0');\n$rss->channel(title          => 'freshmeat.net',\nlink           => 'http://freshmeat.net',\nlanguage       => 'en',\ndescription    => 'the one-stop-shop for all your Linux software needs',\nrating         => '(PICS-1.1 \"http://www.classify.org/safesurf/\" 1 r (SS~~000 1))',\ncopyright      => 'Copyright 1999, Freshmeat.net',\npubDate        => 'Thu, 23 Aug 1999 07:00:00 GMT',\nlastBuildDate  => 'Thu, 23 Aug 1999 16:20:26 GMT',\ndocs           => 'http://www.blahblah.org/fm.cdf',\nmanagingEditor => 'scoop@freshmeat.net',\nwebMaster      => 'scoop@freshmeat.net'\n);\n\n$rss->image(title       => 'freshmeat.net',\nurl         => 'http://freshmeat.net/images/fm.mini.jpg',\nlink        => 'http://freshmeat.net',\nwidth       => 88,\nheight      => 31,\ndescription => 'This is the Freshmeat image stupid'\n);\n\n$rss->additem(title => \"GTKeyboard 0.85\",\n# creates a guid field with permaLink=true\npermaLink  => \"http://freshmeat.net/news/1999/06/21/930003829.html\",\n# alternately creates a guid field with permaLink=false\n# guid     => \"gtkeyboard-0.85\"\nenclosure   => { url=>$url, type=>\"application/x-bittorrent\" },\ndescription => 'blah blah'\n);\n\n$rss->textinput(title => \"quick finder\",\ndescription => \"Use the text input below to search freshmeat\",\nname  => \"query\",\nlink  => \"http://core.freshmeat.net/search.php3\"\n);\n\n# create an RSS 0.9 file\nuse XML::RSS;\nmy $rss = XML::RSS->new( version => '0.9' );\n$rss->channel(title => \"freshmeat.net\",\nlink  => \"http://freshmeat.net\",\ndescription => \"the one-stop-shop for all your Linux software needs\",\n);\n\n$rss->image(title => \"freshmeat.net\",\nurl   => \"http://freshmeat.net/images/fm.mini.jpg\",\nlink  => \"http://freshmeat.net\"\n);\n\n$rss->additem(title => \"GTKeyboard 0.85\",\nlink  => \"http://freshmeat.net/news/1999/06/21/930003829.html\"\n);\n\n$rss->textinput(title => \"quick finder\",\ndescription => \"Use the text input below to search freshmeat\",\nname  => \"query\",\nlink  => \"http://core.freshmeat.net/search.php3\"\n);\n\n# print the RSS as a string\nprint $rss->asstring;\n\n# or save it to a file\n$rss->save(\"fm.rdf\");\n\n# insert an item into an RSS file and removes the oldest ones if\n# there are already 15 items or more\nmy $rss = XML::RSS->new;\n$rss->parsefile(\"fm.rdf\");\n\nwhile (@{$rss->{'items'}} >= 15)\n{\nshift (@{ $rss->{'items'} });\n}\n\n$rss->additem(title => \"MpegTV Player (mtv) 1.0.9.7\",\nlink  => \"http://freshmeat.net/news/1999/06/21/930003958.html\",\nmode  => 'insert'\n);\n\n# parse a string instead of a file\n$rss->parse($string);\n\n# print the title and link of each RSS item\nforeach my $item (@{$rss->{'items'}}) {\nprint \"title: $item->{'title'}\\n\";\nprint \"link: $item->{'link'}\\n\\n\";\n}\n\n# output the RSS 0.9 or 0.91 file as RSS 1.0\n$rss->{output} = '1.0';\nprint $rss->asstring;\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This module provides a basic framework for creating and maintaining RDF Site Summary (RSS)\nfiles. This distribution also contains many examples that allow you to generate HTML from an\nRSS, convert between 0.9, 0.91, 1.0, and 2.0 version, and other nifty things. This might be\nhelpful if you want to include news feeds on your Web site from sources like Slashdot and\nFreshmeat or if you want to syndicate your own content.\n\nXML::RSS currently supports versions 0.9 <http://www.rssboard.org/rss-0-9-0>, 0.91\n<http://www.rssboard.org/rss-0-9-1>, 1.0 <http://web.resource.org/rss/1.0/>, and 2.0\n<http://www.rssboard.org/rss-2-0> of RSS.\n\nRSS was originally developed by Netscape as the format for Netscape Netcenter channels, however,\nmany Web sites have since adopted it as a simple syndication format. With the advent of RSS 1.0,\nusers are now able to syndication many different kinds of content including news headlines,\nthreaded messages, products catalogs, etc.\n\nNote: In order to parse and generate dates (such as \"pubDate\" and \"dc:date\") it is recommended\nto use DateTime::Format::Mail and DateTime::Format::W3CDTF , which is what XML::RSS uses\ninternally and requires. It should also be possible to pass DateTime objects which will be\nformatted accordingly. E.g:\n\nuse DateTime ();\n\nmy $dt = DateTime->fromepoch(epoch => 1500000000);\n\n$rss->channel(\npubDate => $dt,\n.\n.\n.\n);\n",
            "subsections": []
        },
        "METHODS": {
            "content": "XML::RSS->new(version=>$version, encoding=>$encoding, output=>$output,\nstylesheet=>$stylesheeturl, 'xml:base'=>$base)\nConstructor for XML::RSS. It returns a reference to an XML::RSS object. You may also pass\nthe RSS version and the XML encoding to use. The default version is 1.0. The default\nencoding is UTF-8. You may also specify the output format regardless of the input version.\nThis comes in handy when you want to convert RSS between versions. The XML::RSS modules will\nconvert between any of the formats. If you set <encodeoutput> XML::RSS will make sure to\nencode any entities in generated RSS. This is now on by default.\n\nYou can also pass an optional URL to an XSL stylesheet that can be used to output an\n\"<?xsl-stylesheet ... ?>\" meta-tag in the header that will allow some browsers to render the\nRSS file as HTML.\n\nYou can also set \"encodecb\" to a reference to a subroutine that will encode the output in a\ncustom way. This subroutine accepts two parameters: a reference to the\n\"XML::RSS::Private::Output::Base\"-derived object (which should normally not concern you) and\nthe text to encode. It should return the text to encode. If not set, then the module will\nencode using its custom encoding routine.\n\nxml:base will set an \"xml:base\" property as per\n\nhttp://www.w3.org/TR/xmlbase/\n\nNote that in order to encode properly, you need to handle \"CDATA\" sections properly. Look at\nXML::RSS::Private::Output::Base's \"defaultencode()\" method for how to do it properly.\n\nadditem (title=>$title, link=>$link, description=>$desc, mode=>$mode)\nAdds an item to the XML::RSS object. mode and description are optional. The default mode is\nappend, which adds the item to the end of the list. To insert an item, set the mode to\ninsert.\n\nThe items are stored in the array \"@{$obj->{'items'}}\" where $obj is a reference to an\nXML::RSS object.\n\nOne can specify a category by using the 'category' key. 'category' can point to an array\nreference of categories:\n\n$rss->additem(\ntitle => \"Foo&Bar\",\nlink => \"http://www.my.tld/\",\ncategory => [\"OneCat\", \"TooCat\", \"3Kitties\"],\n);\n\nasstring;\nReturns a string containing the RSS for the XML::RSS object. This method will also encode\nspecial characters along the way.\n\nchannel (title=>$title, link=>$link, description=>$desc, language=>$language, rating=>$rating,\ncopyright=>$copyright, pubDate=>$pubDate, lastBuildDate=>$lastBuild, docs=>$docs,\nmanagingEditor=>$editor, webMaster=>$webMaster)\nChannel information is required in RSS. The title cannot be more the 40 characters, the link\n500, and the description 500 when outputting RSS 0.9. title, link, and description, are\nrequired for RSS 1.0. language is required for RSS 0.91. The other parameters are optional\nfor RSS 0.91 and 1.0.\n\nTo retrieve the values of the channel, pass the name of the value (title, link, or\ndescription) as the first and only argument like so:\n\n$title = channel('title');\n\nimage (title=>$title, url=>$url, link=>$link, width=>$width, height=>$height,\ndescription=>$desc)\nAdding an image is not required. url is the URL of the image, link is the URL the image is\nlinked to. title, url, and link parameters are required if you are going to use an image in\nyour RSS file. The remaining image elements are used in RSS 0.91 or optionally imported into\nRSS 1.0 via the rss091 namespace.\n\nThe method for retrieving the values for the image is the same as it is for channel().\n\nparse ($string, \\%options)\nParses an RDF Site Summary which is passed into parse() as the first parameter. Returns the\ninstance of the object so one can say \"$rss->parse($string)->othermethod()\".\n\nSee the addmodule() method for instructions on automatically adding modules as a string is\nparsed.\n\n%options is a list of options that specify how parsing is to be done. The available options\nare:\n\n*   allowmultiple\n\nTakes an array ref of names which indicates which elements should be allowed to have\nmultiple occurrences. So, for example, to parse feeds with multiple enclosures\n\n$rss->parse($xml, { allowmultiple => ['enclosure'] });\n\n*   hashrefsinsteadofstrings\n\nIf true, then some items (so far \"\"description\"\") will become hash-references instead of\nstrings (with a content key containing their content , if they have XML attributes.\nWithout this key, the attributes will be ignored and there will only be a string. Thus,\nspecifying this option may break compatibility.\n\n*   modulesasarrays\n\nThis option when true, will parse the modules key-value-pairs as an arrayref of \"{ el =>\n$keyname, value => $value, }\" hash-refs to gracefully handle duplicate items (see\nbelow). It will not affect the known modules such as dc (\"Dublin Core\").\n\nparsefile ($file, \\%options)\nSame as parse() except it parses a file rather than a string.\n\nSee the addmodule() method for instructions on automatically adding modules as a string is\nparsed.\n\nsave ($file)\nSaves the RSS to a specified file.\n\nskipDays (day => $day)\nPopulates the skipDays element with the day $day.\n\nskipHours (hour => $hour)\nPopulates the skipHours element, with the hour $hour.\n\nstrict ($boolean)\nIf it's set to 1, it will adhere to the lengths as specified by Netscape Netcenter\nrequirements. It's set to 0 by default. Use it if the RSS file you're generating is for\nNetcenter. strict will only work for RSS 0.9 and 0.91. Do not use it for RSS 1.0.\n\ntextinput (title=>$title, description=>$desc, name=>$name, link=>$link);\nThis RSS element is also optional. Using it allows users to submit a Query to a program on a\nWeb server via an HTML form. name is the HTML form name and link is the URL to the program.\nContent is submitted using the GET method.\n\nAccess to the textinput values is the same as channel() and image().\n",
            "subsections": [
                {
                    "name": "add_module",
                    "content": "Adds a module namespace declaration to the XML::RSS object, allowing you to add modularity\noutside of the standard RSS 1.0 modules. At present, the standard modules Dublin Core (dc)\nand Syndication (syn) are predefined for your convenience. The Taxonomy (taxo) module is\nalso internally supported.\n\nThe modules are stored in the hash %{$obj->{'modules'}} where $obj is a reference to an\nXML::RSS object.\n\nIf you want to automatically add modules that the parser finds in namespaces, set the\n$XML::RSS::AUTOADD variable to a true value. By default the value is false. (N.B. AUTOADD\nonly updates the %{$obj->{'modules'}} hash. It does not provide the other benefits of using\naddmodule.)\n\nRSS 1.0 MODULES\nXML-Namespace-based modularization affords RSS 1.0 compartmentalized extensibility. The only\nmodules that ship \"in the box\" with RSS 1.0 are Dublin Core\n(http://purl.org/rss/1.0/modules/dc/), Syndication\n(http://purl.org/rss/1.0/modules/syndication/), and Taxonomy\n(http://purl.org/rss/1.0/modules/taxonomy/). Consult the appropriate module's documentation for\nfurther information.\n\nAdding items from these modules in XML::RSS is as simple as adding other attributes such as\ntitle, link, and description. The only difference is the compartmentalization of their key/value\nparis in a second-level hash.\n\n$rss->additem (title=>$title, link=>$link, dc=>{ subject=>$subject, creator=>$creator, date=>$date });\n\nFor elements of the Dublin Core module, use the key 'dc'. For elements of the Syndication\nmodule, 'syn'. For elements of the Taxonomy module, 'taxo'. These are the prefixes used in the\nRSS XML document itself. They are associated with appropriate URI-based namespaces:\n\nsyn:  http://purl.org/rss/1.0/modules/syndication/\ndc:   http://purl.org/dc/elements/1.1/\ntaxo: http://purl.org/rss/1.0/modules/taxonomy/\n\nThe Dublin Core ('dc') hash keys may be point to an array reference, which in turn will specify\nmultiple such keys, and render them one after the other. For example:\n\n$rss->additem (\ntitle => $title,\nlink => $link,\ndc => {\nsubject=> [\"Jungle\", \"Desert\", \"Swamp\"],\ncreator=>$creator,\ndate=>$date\n},\n);\n\nDublin Core elements may occur in channel, image, item(s), and textinput -- albeit uncomming to\nfind them under image and textinput. Syndication elements are limited to the channel element.\nTaxonomy elements can occur in the channel or item elements.\n\nAccess to module elements after parsing an RSS 1.0 document using XML::RSS is via either the\nprefix or namespace URI for your convenience.\n\nprint $rss->{items}->[0]->{dc}->{subject};\n\nor\n\nprint $rss->{items}->[0]->{'http://purl.org/dc/elements/1.1/'}->{subject};\n\nXML::RSS also has support for \"non-standard\" RSS 1.0 modularization at the channel, image, item,\nand textinput levels. Parsing an RSS document grabs any elements of other namespaces which might\nappear. XML::RSS also allows the inclusion of arbitrary namespaces and associated elements when\nbuilding RSS documents.\n\nFor example, to add elements of a made-up \"My\" module, first declare the namespace by\nassociating a prefix with a URI:\n\n$rss->addmodule(prefix=>'my', uri=>'http://purl.org/my/rss/module/');\n\nThen proceed as usual:\n\n$rss->additem (title=>$title, link=>$link, my=>{ rating=>$rating });\n\nYou can also set the value of the module's prefix to an array reference of \"{ el => , val => }\"\nhash-references, in which case duplicate elements are possible:\n\n$rss->additem(title=>$title, link=>$link, my=> [\n{el => \"rating\", value => $rating1, }\n{el => \"rating\", value => $rating2, },\n]\n\nNon-standard namespaces are not, however, currently accessible via a simple prefix; access them\nvia their namespace URL like so:\n\nprint $rss->{items}->[0]->{'http://purl.org/my/rss/module/'}->{rating};\n\nXML::RSS will continue to provide built-in support for standard RSS 1.0 modules as they appear.\n"
                }
            ]
        },
        "Non-API Methods": {
            "content": "$rss->asrss09()\nWARNING: this function is not an API function and should not be called directly. It is kept as\nis for backwards compatibility with legacy code. Use the following code instead:\n\n$rss->{output} = \"0.9\";\nmy $text = $rss->asstring();\n\nThis function renders the data in the object as an RSS version 0.9 feed, and returns the\nresultant XML as text.\n\n$rss->asrss091()\nWARNING: this function is not an API function and should not be called directly. It is kept as\nis for backwards compatibility with legacy code. Use the following code instead:\n\n$rss->{output} = \"0.91\";\nmy $text = $rss->asstring();\n\nThis function renders the data in the object as an RSS version 0.91 feed, and returns the\nresultant XML as text.\n\n$rss->asrss10()\nWARNING: this function is not an API function and should not be called directly. It is kept as\nis for backwards compatibility with legacy code. Use the following code instead:\n\n$rss->{output} = \"1.0\";\nmy $text = $rss->asstring();\n\nThis function renders the data in the object as an RSS version 1.0 feed, and returns the\nresultant XML as text.\n\n$rss->asrss20()\nWARNING: this function is not an API function and should not be called directly. It is kept as\nis for backwards compatibility with legacy code. Use the following code instead:\n\n$rss->{output} = \"2.0\";\nmy $text = $rss->asstring();\n\nThis function renders the data in the object as an RSS version 2.0 feed, and returns the\nresultant XML as text.\n\n$rss->handlechar()\nNeeded for XML::Parser. Don't use this directly.\n\n$rss->handledec()\nNeeded for XML::Parser. Don't use this directly.\n\n$rss->handlestart()\nNeeded for XML::Parser. Don't use this directly.\n",
            "subsections": []
        },
        "BUGS": {
            "content": "Please report any bugs or feature requests on the bugtracker website\n<https://github.com/shlomif/perl-XML-RSS/issues>\n\nWhen submitting a bug or request, please include a test-file or a patch to an existing test-file\nthat illustrates the bug or desired feature.\n",
            "subsections": []
        },
        "SOURCE AVAILABILITY": {
            "content": "The source is available from the GitHub repository:\n\n<https://github.com/shlomif/perl-XML-RSS>\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Shlomi Fish <shlomif@cpan.org>\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright (c) 2001 Jonathan Eisenzopf <eisen@pobox.com> and Rael Dornfest <rael@oreilly.com>,\nCopyright (C) 2006-2007 Ask Bjoern Hansen <ask@develooper.com>.\n",
            "subsections": []
        },
        "LICENSE": {
            "content": "XML::RSS is free software. You can redistribute it and/or modify it under the same terms as Perl\nitself.\n",
            "subsections": []
        },
        "CREDITS": {
            "content": "Wojciech Zwiefka <wojtekz@cnt.pl>\nChris Nandor <pudge@pobox.com>\nJim Hebert <jim@cosource.com>\nRandal Schwartz <merlyn@stonehenge.com>\nrjp@browser.org\nKellan Elliott-McCrea <kellan@protest.net>\nRafe Colburn <rafe@rafe.us>\nAdam Trickett <atrickett@cpan.org>\nAaron Straup Cope <asc@vineyard.net>\nIan Davis <iand@internetalchemy.org>\nrayg@varchars.com\nShlomi Fish <shlomif@cpan.org>\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "",
            "subsections": [
                {
                    "name": "perl",
                    "content": ""
                }
            ]
        },
        "SUPPORT": {
            "content": "",
            "subsections": [
                {
                    "name": "Websites",
                    "content": "The following websites have more information about this module, and may be of help to you. As\nalways, in addition to those websites please use your favorite search engine to discover more\nresources.\n\n*   MetaCPAN\n\nA modern, open-source CPAN search engine, useful to view POD in HTML format.\n\n<https://metacpan.org/release/XML-RSS>\n\n*   RT: CPAN's Bug Tracker\n\nThe RT ( Request Tracker ) website is the default bug/issue tracking system for CPAN.\n\n<https://rt.cpan.org/Public/Dist/Display.html?Name=XML-RSS>\n\n*   CPANTS\n\nThe CPANTS is a website that analyzes the Kwalitee ( code metrics ) of a distribution.\n\n<http://cpants.cpanauthors.org/dist/XML-RSS>\n\n*   CPAN Testers\n\nThe CPAN Testers is a network of smoke testers who run automated tests on uploaded CPAN\ndistributions.\n\n<http://www.cpantesters.org/distro/X/XML-RSS>\n\n*   CPAN Testers Matrix\n\nThe CPAN Testers Matrix is a website that provides a visual overview of the test results for\na distribution on various Perls/platforms.\n\n<http://matrix.cpantesters.org/?dist=XML-RSS>\n\n*   CPAN Testers Dependencies\n\nThe CPAN Testers Dependencies is a website that shows a chart of the test results of all\ndependencies for a distribution.\n\n<http://deps.cpantesters.org/?module=XML::RSS>\n\nBugs / Feature Requests\nPlease report any bugs or feature requests by email to \"bug-xml-rss at rt.cpan.org\", or through\nthe web interface at <https://rt.cpan.org/Public/Bug/Report.html?Queue=XML-RSS>. You will be\nautomatically notified of any progress on the request by the system.\n"
                },
                {
                    "name": "Source Code",
                    "content": "The code is open to the world, and available for you to hack on. Please feel free to browse it\nand play with it, or whatever. If you want to contribute patches, please send me a diff or prod\nme to pull from your repository :)\n\n<https://github.com/shlomif/perl-XML-RSS>\n\ngit clone git://github.com/shlomif/perl-XML-RSS.git\n"
                }
            ]
        },
        "COPYRIGHT AND LICENSE": {
            "content": "This software is copyright (c) 2001 by Various.\n\nThis is free software; you can redistribute it and/or modify it under the same terms as the Perl\n5 programming language system itself.\n",
            "subsections": []
        }
    },
    "summary": "XML::RSS - creates and updates RSS files",
    "flags": [],
    "examples": [],
    "see_also": []
}