403Webshell
Server IP : 217.160.0.143  /  Your IP : 216.73.216.50
Web Server : Apache
System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User : u89353126 ( 3190106)
PHP Version : 8.2.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/share/doc/libxml-rss-perl/examples/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/doc/libxml-rss-perl/examples/update_rss.pl
#!/usr/bin/perl
# update_rss.pl
# Adds a new item to the RSS file
use strict;
use warnings;

use XML::RSS ();

die "Syntax: update_rss.pl source.rdf destination.rdf\n\n"
unless @ARGV == 2;

my $rss = XML::RSS->new;
$rss->parsefile(shift);

$rss->add_item(title => "MpegTV Player (mtv) 1.0.9.7",
    link  => "http://freshmeat.net/news/1999/06/21/930003958.html",
    mode => 'insert'
);

$rss->save(shift);

Youez - 2016 - github.com/yon3zu
LinuXploit