Unix and Linux Discussions Tagged with rss |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
20 |
7,736 |
Shell Programming and Scripting |
|
|
|
2 |
6,331 |
Solaris |
|
|
|
11 |
25,469 |
Solaris |
|
|
|
0 |
1,943 |
Solaris BigAdmin RSS |
|
|
|
0 |
1,894 |
Solaris BigAdmin RSS |
|
|
|
0 |
2,778 |
Solaris BigAdmin RSS |
|
|
|
2 |
2,860 |
Solaris BigAdmin RSS |
|
|
|
2 |
2,826 |
Solaris BigAdmin RSS |
|
|
|
1 |
2,290 |
Solaris BigAdmin RSS |
|
|
|
1 |
3,613 |
Solaris BigAdmin RSS |
|
|
|
2 |
3,745 |
Solaris BigAdmin RSS |
|
|
|
0 |
2,677 |
Solaris BigAdmin RSS |
|
|
|
0 |
3,162 |
Solaris BigAdmin RSS |
|
|
|
0 |
2,188 |
Solaris BigAdmin RSS |
|
|
|
0 |
2,397 |
Solaris BigAdmin RSS |
|
|
|
1 |
3,310 |
Solaris BigAdmin RSS |
|
|
|
1 |
4,523 |
Solaris BigAdmin RSS |
|
|
|
0 |
3,342 |
Solaris BigAdmin RSS |
|
|
|
0 |
5,642 |
Solaris BigAdmin RSS |
|
|
|
0 |
2,144 |
Solaris BigAdmin RSS |
|
|
|
0 |
2,427 |
Solaris BigAdmin RSS |
|
|
|
0 |
2,386 |
Solaris BigAdmin RSS |
|
|
|
0 |
2,391 |
Solaris BigAdmin RSS |
|
|
|
0 |
2,253 |
Solaris BigAdmin RSS |
|
|
|
0 |
5,581 |
Solaris BigAdmin RSS |
|
|
|
0 |
3,086 |
Solaris BigAdmin RSS |
|
|
|
0 |
3,658 |
Solaris BigAdmin RSS |
|
|
|
0 |
2,301 |
Solaris BigAdmin RSS |
|
|
|
0 |
3,881 |
Solaris BigAdmin RSS |
|
|
|
0 |
2,294 |
Solaris BigAdmin RSS |
|
|
|
0 |
2,894 |
Solaris BigAdmin RSS |
|
|
|
0 |
2,427 |
Solaris BigAdmin RSS |
|
|
|
0 |
2,412 |
Solaris BigAdmin RSS |
|
|
|
0 |
3,139 |
Solaris BigAdmin RSS |
|
|
|
0 |
2,948 |
Solaris BigAdmin RSS |
|
|
|
0 |
2,935 |
Solaris BigAdmin RSS |
|
|
|
0 |
2,571 |
Solaris BigAdmin RSS |
|
|
|
0 |
2,455 |
Solaris BigAdmin RSS |
|
|
|
0 |
3,435 |
Solaris BigAdmin RSS |
|
|
|
0 |
3,276 |
Solaris BigAdmin RSS |
XML::RSS::LibXML::MagicElement(3pm) User Contributed Perl Documentation XML::RSS::LibXML::MagicElement(3pm)
NAME
XML::RSS::LibXML::MagicElement - Represent A Non-Trivial RSS Element
SYNOPSIS
us XML::RS::LibXML::MagicElement;
my $xml = XML::RSS::LibXML::MagicElement->new(
content => $textContent,
attributes => @attributes
);
DESCRIPTION
This module is a handy object that allows users to access non-trivial RSS elements in XML::RSS style. For example, suppose you have an RSS
feed with an element like the following:
<channel>
<title>Example</title>
<tag attr1="foo" attr2="bar">baz</tag>
...
</channel>
While it is simple to access the title element like this:
$rss->{channel}->{title};
It was slightly non-trivial for the second tag. With this module, <tag> is parsed as a XML::RSS::LibXML::MagicElement object and then you
can access all the elements like so:
$rss->{channel}->{tag}; # "baz"
$rss->{channel}->{tag}->{attr1}; # "foo"
$rss->{channel}->{tag}->{attr2}; # "bar"
METHODS
new
Create a new MagicElement object.
attributes
Returns the list of attributes associated with this element
toString
Returns the string representation of this object. By default we use the "text content" of the found tag, but for XML::RSS compatibility,
we use the concatenation of the attributes if no content is found.
AUTHOR
Copyright 2005 Daisuke Maki <dmaki@cpan.org>. All rights reserved.
Development partially funded by Brazil, Ltd. <http://b.razil.jp>
perl v5.12.4 2011-09-17 XML::RSS::LibXML::MagicElement(3pm)