mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 10:36:38 -04:00
Commit b7f05445c0
has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
15 lines
694 B
Text
15 lines
694 B
Text
Serialize your RSS as JavaScript.
|
|
|
|
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 simle 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 simple
|
|
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.
|