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

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

Serving Software Downloads in 956 Categories, Downloaded 50.182.360 Times

Net::Yadis 1.0

Company: Dag Arneson
Date Added: August 06, 2013  |  Visits: 316

Net::Yadis

Report Broken Link
Printer Friendly Version


Product Homepage
Download (40 downloads)



Net::Yadis is a Perl module that performs the Yadis service discovery protocol, and parses XRDS xml documents.<br /><br />Methods<br /><br />discover<br /><br />This constructor performs the discovery protocol on a url and returns a yadis object that parses the XRDS document for you.<br /><br /> eval {<br /> $yadis=Net::Yadis->discover($url);<br /> }<br /> warn "Yadis failed: $@" if $@;<br /><br />Will die on errors: HTTP errors, missing Yadis magic, malformed XRDS<br /><br />new<br /><br />You may also skip discovery and go straight to xrds parsing with the new constructor.<br /><br /> $yadis = Net::Yadis->new($yadis_url, $xrds_url, $xml);<br /><br />$yadis_url<br /><br /> the identity URL<br /><br />$xrds_url<br /><br /> where we got the xrds document<br /><br />$xml<br /><br /> the XRDS xml as text<br /><br />We don't trap death from XML::XPath; malformed xml causes this<br /><br />Accessor methods<br /><br />xml<br /><br /> The XML text of the XRDS document.<br /><br />url<br /><br /> The Yadis URL.<br /><br />xrds_url<br /><br /> The URL where the XRDS document was found.<br /><br />xrds_xpath<br /><br />The XML::XPath object used internally is made available to allow custom XPath queries.<br /><br />services<br /><br />An array of Net::Yadis::Service objects representing the services advertised in the XRDS file.<br /><br />filter_services<br /><br />Pass in a filter function reference to this guy. The filter function must take a Net::Yadis::Service object, and return a scalar of some sort or undef. The scalars returned from the filter will be returned in an array from this method.<br /><br />Example<br /><br /> my $filter = sub {<br /> my $service = shift;<br /> if ($service->is_type($typere)) {<br /> # here we simply return the service object, but you may return<br /> # something else if you wish to extract the data and discard<br /> # the xpath object contained in the service object.<br /> return $service;<br /> }<br /> else {<br /> return undef;<br /> }<br /> };<br /><br /> my $typeservices = $yadis->filter_services($filter);<br /><br />services_of_type<br /><br />A predefined filtering method that takes a regexp for filtering service types.<br /><br />service_of_type<br /><br />Hey, a perl generator! sequential calls will return the services one at a time, in ascending priority order with ties randomly decided. make sure that the type argument is identical for each call, or the list will start again from the top. You'll have to store the yadis object in a session for this guy to be useful.<br />

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Array Discovery Document Filter Filtering Function Malformed Object Protocol Return Returned Service Services Undef Urlxrds Url Xmlxpath Yadis
Users rating: 0/10

License: Freeware Size: 10.24 KB
USER REVIEWS
More Reviews or Write Review


NET::YADIS RELATED
Libraries  -  Class::MOP 0.35
Class::MOP is a Meta Object Protocol for Perl 5. SYNOPSIS # ... This will come later, for now see # the other SYNOPSIS for more information This module is an attempt to create a meta object protocol for the Perl 5 object system. It makes no...
73.73 KB  
Proxy Server Tools  -  Shrew Proxy/Filter 0.1.0
Shrew Proxy/Filter is a tiny proxy built on WEBricks HTTPProxyServer, extended for both URL and content filtering. Shrew Proxy/Filter is designed to be small, simple to configure, and easy to install. It is extremely small, lightweight, and...
10.24 KB  
Communication  -  tf2dspiciirc 1.0
This file calculates iir canonic coefficients for a dspic (30F6014) for a given filter transfer function. It is a Pre Release and may not work correctly, but I hope you may help in debugging.
10 KB  
Modules  -  Inject Query Posts 2.0.4
Inject an array of posts into a WP query object as if queried, particularly useful to allow use of standard template tags.WordPress's template tags are intended to be used within 'the loop'. The loop is managed by a WP_Query object which sets up...
10 KB  
Text Management  -  Conversion to unicode or byte string 1.0
Python's built in function str() and unicode() return a string representation of the object in byte string and unicode string respectively. This script introduces an enhanced version of str() and unicode() that could be used as handy functions...
 
Utilities  -  Free Folder Monitor 7.4.8
Free Folder Monitor is free file monitor software to auto-monitor the file, folders (sub-folders) and applications to detect file creation, modification, attribute changes, delete operations, etc. Its file filtering function enables you to specify...
1.09 MB  
Modules  -  Count Posts 1.0
The function can be used return or display the result.InstallationUnpack and upload it to the /wp-content/plugins/ directory.Activate the plugin through the 'Plugins' menu in WordPress. Requirements: - WordPress 2.1 or higher
 
Miscellaneous  -  RICHVALUE 1.2
While evolving code, there is often a need to enrich an existing simple return scheme of a function by extra/optional return values. Using (variable lenght) return tuples often introduces puzzles - and the pychecker yells. In such cases the...
 
Communication  -  Digital implementation of RC low pass filter 1.0
Derives the transfer function for digital implementation of a first order RC low pass filter and plots the step and frequency response.For details, refer to the post:http://www.dsplog.com/2007/12/02/digital-i...ow-pass-filter/
10 KB  
Libraries  -  XML::Filter::DocSplitter 0.41
XML::Filter::DocSplitter does multipass processing of documents. SYNOPSIS ## See XML::SAX::???? for an easier way to use this filter. use XML::SAX::Machines qw( Machine ) ; my $m = Machine( [ Intake => "XML::Filter::DocSplitter" => qw(...
43.01 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 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  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB