Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 30.127.350 Times

XML::RSS::Parser 4.0

  Date Added: September 26, 2010  |  Visits: 704

XML::RSS::Parser

Report Broken Link
Printer Friendly Version


Product Homepage
Download (76 downloads)

XML::RSS::Parser is a liberal object-oriented parser for RSS feeds. SYNOPSIS #!/usr/bin/perl -w use strict; use XML::RSS::Parser; use FileHandle; my $p = XML::RSS::Parser->new; my $fh = FileHandle->new(/path/to/some/rss/file); my $feed = $p->parse_file($fh); # output some values my $feed_title = $feed->query(/channel/title); print $feed_title->text_content; my $count = $feed->item_count; print " ($count)n"; foreach my $i ( $feed->query(//item) ) { my $node = $i->query(title); print .$node->text_content; print "n"; } XML::RSS::Parser is a lightweight liberal parser of RSS feeds. This parser is "liberal" in that it does not demand compliance of a specific RSS version and will attempt to gracefully handle tags it does not expect or understand. The parsers only requirements is that the file is well-formed XML and remotely resembles RSS. Roughly speaking, well formed XML with a channel element as a direct sibling or the root tag and item elements etc. There are a number of advantages to using this module then just using a standard parser-tree combination. There are a number of different RSS formats in use today. In very subtle ways these formats are not entirely compatible from one to another. XML::RSS::Parser makes a couple assumptions to "normalize" the parse tree into a more consistent form. For instance, it forces channel and item into a parent-child relationship. For more detail see "SPECIAL PROCESSING NOTES". This module is leaner then XML::RSS -- the majority of code was for generating RSS files. It also provides a XPath-esque interface to the feeds tree. While XML::RSS::Parser creates a normalized parse tree, it still leaves the mapping of overlapping and alternate tags common in the RSS format space to the developer. For this look at the XML::RAI (RSS Abstraction Interface) package which provides an object-oriented layer to XML::RSS::Parser trees that transparently maps these various tags to one common interface. XML::RSS::Parser is based on XML::Elemental, a a SAX-based package for easily parsing XML documents into a more native and mostly object-oriented perl form..

Requirements: No special requirements
Platforms: Linux
Keyword: Liberal Libraries Object-oriented Parser Print Programming Rss Xml Xmlrssparser
Users rating: 0/10

License: Freeware Size: 12.29 KB
XML::RSS::PARSER RELATED
Libraries  -  Cross Platform Toolkit Library (xtklib) 0.2.0 Alpha
Cross Platform Toolkit Library (xtklib) is a C++ based framework for highly object-oriented cross-platform programming. In particular, the library provides a full abstraction layer between its API and the main services offered by the underlying...
256 KB  
Development Editors  -  Object Oriented C 1.3
The Object Oriented C or OOC kit is designed for programers who want to develop software in an Object Oriented manner. OOC implements classes, single inheritance and exception handling. It is ideal for students that are getting to know Object...
 
Code Management Tools  -  Virgil B-03
Virgil projetc is an new, object-oriented, light-weight programming language that is designed for building software for resource-constrained embedded systems at the lowest level. Microcontroller programmers can now develop complete software...
583.68 KB  
Database Tools  -  The Object Oriented Database Kit 0.5.8.1
The Object Oriented Database Kit is a set of tools to help database applications developers to handle database communication, reporting, and printing. It has a solid, stable, and easy to use API. The project is also GUI toolkit agnostic and...
18.43 KB  
Utilities  -  XML Tree Object Model Parser 1.0.1
XML Tree Object Model Parser is an easy to use XML parser designed to provide an easy and simple to use library for parsing XML configuration files. It is split into two components. The first one is the Parser itself, which uses J2SE 1.4 XML...
61.44 KB  
Libraries  -  Object-Oriented JNI for .NET (low-level) 3.00.07
Object-Oriented JNI for .NET (low-level), Library for .NET Framework v.1.1. Supports Standard JNI interface (SUN/IBM/MS JDK1.1.x-1.6.x) for developing and running code in C#, MCpp, VB, J#.The main features available:- JNI code can be written only...
1.36 MB  
Programming  -  x10 0.3.2
X10 project is a new object-oriented, type-safe programming language for programming the next generation of high performance systems. X10 is designed and developed by IBM. While developed in close contact with the designers of X10 at IBM there...
8.1 MB  
Code Management Tools  -  XOTcl 1.5.3
XOTcl (XOTcl, pronounced exotickle) is an object-oriented scripting language based on MITs OTcl. XOTcl is intended as a value added replacement for OTcl. XOTcl is an open source project which was initiated by Gustaf Neumann and Uwe Zdun, its...
1.8 MB  
HTML Utilities  -  STXML 3.0
STXML framework is an object-oriented API for working with XML data. It is straightforward and simple to use for probably 90% of what most people use XML for. Future verions will build upon these foundations to make both creating and accessing...
86 KB  
Programming  -  RSS Framework for PHP 1.0
This framework written in object oriented PHP4 can create RSS 2.0 feeds. Because the transformation from objects to RSS feed happens via XSLT, you can just as well transform the objects into whatever you want, if you have your own transformation...
225.59 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.12.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB