current/utils create-package-feed.pl,1.10,1.11
Fabian Keil <[email protected]> Sat, 16 Jul 2016 11:43:48 +0000
| Newsgroups | gmane.comp.web.privoxy.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ijbswa/current/utils
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv32683/utils
Modified Files:
create-package-feed.pl
Log Message:
create-package-feed.pl: Add some new lines in output file
Index: create-package-feed.pl
===================================================================
RCS file: /cvsroot/ijbswa/current/utils/create-package-feed.pl,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** create-package-feed.pl 16 Jul 2016 11:43:36 -0000 1.10
--- create-package-feed.pl 16 Jul 2016 11:43:46 -0000 1.11
***************
*** 95,98 ****
--- 95,99 ----
$hour, $min, $sec);
$target_line .= '</pubDate></item>';
+ $target_line .= "\n";
# Add it to Array
***************
*** 112,116 ****
# Result = Full XML Codes
my $result =
! '<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0"><channel><title>Privoxy Releases</title><link>https://www.privoxy.org/announce.txt</link><description><![CDATA[Privoxy Releases RSS feed]]></description><pubDate>';
($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = gmtime();
$result .=
--- 113,123 ----
# Result = Full XML Codes
my $result =
! '<?xml version="1.0" encoding="utf-8"?>
! <rss xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
! <channel>
! <title>Privoxy Releases</title>
! <link>https://www.privoxy.org/announce.txt</link>
! <description><![CDATA[Privoxy Releases RSS feed]]></description>
! <pubDate>';
($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = gmtime();
$result .=
***************
*** 119,122 ****
--- 126,130 ----
. " $hour:$min:$sec GMT";
$result .= '</pubDate>';
+ $result .= "\n";
# Sort Array
***************
*** 127,131 ****
$i--;
}
! $result .= '</channel></rss>';
# Save it.
--- 135,140 ----
$i--;
}
! $result .= ' </channel>
! </rss>';
# Save it.
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev