6 More Discussions You Might Find Interesting
1. Solaris
Hi,
When I sum the RSS number in the ps command for a specific user and compare it with the RSS values of the prstat command of the same user - there is a big difference.
Server details: Solaris 10 5/09 s10s_u7wos_08 SPARC
prstat output:
NPROC USERNAME SWAP RSS MEMORY TIME ... (2 Replies)
Discussion started by: amitlib
2 Replies
2. News, Links, Events and Announcements
If you want to submit your favorite UNIX.COM forum to RSS news feeds registries or directories, here is how:
The top level RSS link to the UNIX forums is:
https://www.unix.com/external.php
This is the default for the RSS type, which is:
https://www.unix.com/external.php?type=RSS
... (11 Replies)
Discussion started by: Neo
11 Replies
3. Post Here to Contact Site Administrators and Moderators
Hi Guys,
With the RSS feeds of new threads added to the forums, would it be possible to include the text of the post in the RSS body?
This means that i wouldn't have to keep clicking "view site" to see what the thread's about from my rss aggregator.
I've included 2 x screenshots below that... (11 Replies)
Discussion started by: craigp84
11 Replies
4. Shell Programming and Scripting
Hi all,
I know this is **awfully** general but.....
I have a script which does, basically...
for file in `find command`; do
some stuff
more stuff
echo '.\c'
done
I want to output the '.' char just to give an idea of progress. However, it works fine for a while and then I... (2 Replies)
Discussion started by: ajcannon
2 Replies
5. Shell Programming and Scripting
:confused: hi all,
i have csv file with three comma separated columns
i/p file
First_Name, Address, Last_Name
XXX, "456 New albany \n newyork, Unitedstates \n 45322-33", YYY\n
ZZZ, "654 rifle park \n toronto, canada \n 43L-w3b", RRR\n
is there any way i can remove \n (newline) from... (10 Replies)
Discussion started by: gowrish
10 Replies
6. Shell Programming and Scripting
Hi,
I have a fixed width flat file which has 1 as the first char and E as the last character. Some of the records have a carriage return /line feeds .
how do I remove them?
Let me know.
Thanks
VSK (8 Replies)
Discussion started by: vsk
8 Replies
Template::Plugin::XML::RSS(3pm) User Contributed Perl Documentation Template::Plugin::XML::RSS(3pm)
NAME
Template::Plugin::XML::RSS - Plugin interface to XML::RSS
SYNOPSIS
[% USE news = XML.RSS('news.rdf') %]
[% FOREACH item IN news.items %]
[% item.title %]
[% item.link %]
[% END %]
DESCRIPTION
This Template Toolkit plugin provides a simple interface to the XML::RSS module.
[% USE news = XML.RSS('mysite.rdf') %]
It creates an XML::RSS object, which is then used to parse the RSS file specified as a parameter in the USE directive. A reference to the
XML::RSS object is then returned.
An RSS (Rich Site Summary) file is typically used to store short news 'headlines' describing different links within a site. This example
is extracted from http://slashdot.org/slashdot.rdf.
<?xml version="1.0"?>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://my.netscape.com/rdf/simple/0.9/">
<channel>
<title>Slashdot:News for Nerds. Stuff that Matters.</title>
<link>http://slashdot.org</link>
<description>News for Nerds. Stuff that Matters</description>
</channel>
<image>
<title>Slashdot</title>
<url>http://slashdot.org/images/slashdotlg.gif</url>
<link>http://slashdot.org</link>
</image>
<item>
<title>DVD CCA Battle Continues Next Week</title>
<link>http://slashdot.org/article.pl?sid=00/01/12/2051208</link>
</item>
<item>
<title>Matrox to fund DRI Development</title>
<link>http://slashdot.org/article.pl?sid=00/01/13/0718219</link>
</item>
<item>
<title>Mike Shaver Leaving Netscape</title>
<link>http://slashdot.org/article.pl?sid=00/01/13/0711258</link>
</item>
</rdf:RDF>
The attributes of the channel and image elements can be retrieved directly from the plugin object using the familiar dotted compound nota-
tion:
[% news.channel.title %]
[% news.channel.link %]
[% news.channel.etc... %]
[% news.image.title %]
[% news.image.url %]
[% news.image.link %]
[% news.image.etc... %]
The list of news items can be retrieved using the 'items' method:
[% FOREACH item IN news.items %]
[% item.title %]
[% item.link %]
[% END %]
AUTHORS
This plugin was written by Andy Wardley inspired by an article in Web Techniques by Randal Schwartz.
The XML::RSS module, which implements all of the functionality that this plugin delegates to, was written by Jonathan Eisenzopf.
COPYRIGHT
Copyright (C) 1996-2006 Andy Wardley. All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
Template::Plugin, XML::RSS, XML::Parser
perl v5.8.8 2008-03-01 Template::Plugin::XML::RSS(3pm)