Name : perl-XML-RSS-JavaScript
| |
Version : 0.65
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 5.11
| Date : 2017-08-04 15:52:02
|
Group : Development/Libraries/Perl
| Source RPM : perl-XML-RSS-JavaScript-0.65-5.11.src.rpm
|
Size : 0.01 MB
| |
Packager : (none)
| |
Summary : serialize your RSS as JavaScript
|
Description :
Perhaps you use XML::RSS to generate RSS for consumption by RSS parsers. Perhaps you also get requests for how to use the RSS feed by people who have no idea how to parse XML, or write Perl programs for that matter.
Enter XML::RSS::JavaScript, a simple subclass of XML::RSS which writes your RSS feed as a sequence of JavaScript print statements. This means you can then write the JavaScript to disk, and a users HTML can simply _include_ it like so:
< script language=\"JavaScript\" src=\"/myfeed.js\">< /script>
What\'s more the javascript emits HTML that can be fully styled with CSS. See the CSS examples included with the distribution in the css directory.
< html> < head> < link rel=\"stylesheet\" type=\"text/css\" href=\"/css/rollover1.css\"> < /head> < body> Your content here... < script language=\"JavaScript\" src=\"http://my.feed.com//myfeed.js\">< /script> < /body> < /html>
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-X/openSUSE_Tumbleweed/noarch |