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 49.484.240 Times

Mobile::Wurfl 1.06

  Date Added: November 14, 2010  |  Visits: 1.326

Mobile::Wurfl

Report Broken Link
Printer Friendly Version


Product Homepage
Download (95 downloads)



Mobile::Wurfl is a Perl module interface to WURFL (the Wireless Universal Resource File. SYNOPSIS my $wurfl = Mobile::Wurfl->new( wurfl_home => "/path/to/wurfl/home", db_descriptor => "DBI:mysql:database=wurfl:host=localhost", db_username => wurfl, db_password => wurfl, wurfl_url => q{http://wurfl.sourceforge.net/wurfl.xml} ); my $dbh = DBI->connect( $db_descriptor, $db_username, $db_password ); my $wurfl = Mobile::Wurfl->new( dbh => $dbh ); my $desc = $wurfl->get( db_descriptor ); $wurfl->set( wurfl_home => "/another/path" ); $wurfl->create_tables( $sql ); $wurfl->update(); $wurfl->get_wurfl(); $wurfl->rebuild_tables(); my @devices = $wurfl->devices(); for my $device ( @devices ) { print "$device->{user_agent} : $device->{id}n"; } my @groups = $wurfl->groups(); my @capabilities = $wurfl->capabilities(); for my $group ( @groups ) { @capabilities = $wurfl->capabilities( $group ); } my $ua = $wurfl->canonical_ua( "SonyEricssonK750i/R1J Browser/SEMC-Browser/4.2 Profile/MIDP-2.0 Configuration/CLDC-1.1" ); my $deviceid = $wurfl->deviceid( $ua ); my $wml_1_3 = $wurfl->lookup( $ua, "wml_1_3" ); print "$wml_1_3->{name} = $wml_1_3->{value} : in $wml_1_3->{group}n"; my $fell_back_to = wml_1_3->{deviceid}; my $width = $wurfl->lookup_value( $ua, "max_image_height", no_fall_back => 1 ); $wurfl->cleanup(); Mobile::Wurfl is a perl module that provides an interface to mobile device information represented in wurfl (http://wurfl.sourceforge.net/). The Mobile::Wurfl module works by saving this device information in a database (preferably mysql). It offers an interface to create the relevant database tables from a SQL file containing "CREATE TABLE" statements (a sample is provided with the distribution). It also provides a method for updating the data in the database from the wurfl.xml file hosted at http://www.nusho.it/wurfl/dl.php?t=d&f=wurfl.xml. It provides methods to query the database for lists of capabilities, and groups of capabilities. It also provides a method for generating a "canonical" user agent string (see "canonical_ua"). Finally, it provides a method for looking up values for particular capability / user agent combinations. By default, this makes use of the hierarchical "fallback" structure of wurfl to lookup capabilities fallback devices if these capabilities are not defined for the requested device..

Requirements: No special requirements
Platforms: Linux
Keyword: Capabilities Db Interface Libraries Mobilewurfl Perl Module Programming Ua Wireless Universal Resource File Wml
Users rating: 0/10

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


MOBILE::WURFL RELATED
Libraries  -  Alien Perl module 0.91
Alien Perl module package contains external libraries wrapped up for your viewing pleasure! SYNOPSIS perldoc Alien; Alien is a package that exists just to hold together an idea, the idea of Alien:: packages, so there is no code here, just...
10.24 KB  
Libraries  -  Db::Mediasurface 0.03
Db::Mediasurface is a Perl module that manipulates a Mediasurface database. SYNOPSIS use Db::Mediasurface; $path = /opt/ms/3.0/etc/ms.properties; $ms = Db::Mediasurface->new( config_file=>$path ); print ("Schema version:...
3.07 KB  
Libraries  -  OpenGeoDB Perl module 0.4
OpenGeDB Perl module is a module to access the OpenGeoDB database and calculate all ZIP codes in a certain radius..
3.07 KB  
Network & Internet  -  MyCMS perl module 1.0
MyCMS perl module provides the MN::CMS Perl module used by the MyCMS. MyCMS perl module contains Perl object classes to manage the data of MyCMS (such as articles, links, and images). MN::CMS is a perl module that allows you to manage an...
16.38 KB  
Libraries  -  Spreadsheet::WriteExcelXML 0.10
Spreadsheet::WriteExcelXML is a Perl module that can create an Excel file in XML format. SYNOPSIS To write a string, a formatted string, a number and a formula to the first worksheet in an Excel XML spreadsheet called perl.xls: use...
143.36 KB  
Libraries  -  CAD::Drawing::IO::Split 0.26
CAD::Drawing::IO::Split is a Perl module that allows fast distributed text file methods. Requisite Plug-in Functions See CAD::Drawing::IO for a description of the plug-in architecture. check_type Returns true if $type is "split" or...
39.94 KB  
Libraries  -  WAP::SAXDriver::wbxml 2.04
WAP::SAXDriver::wbxml is a Perl module with SAX parser for WBXML file. SYNOPSIS use WAP::SAXDriver::wbxml; $parser = WAP::SAXDriver::wbxml->new( [OPTIONS] ); $result = $parser->parse( [OPTIONS] ); WAP::SAXDriver::wbxml is a SAX2 driver,...
23.55 KB  
Libraries  -  Test::Tail::Multi 0.03
Test::Tail::Multi is a Perl module to execute code, monitor dynamic file contents. SYNOPSIS use Test::Tail::Multi files => [qw(file1 file2)] tests=>2; # Can add files dynamically as well add_file(file3, "decided to add file3 too"); #...
5.12 KB  
Libraries  -  KinoSearch::Docs::FileFormat 0.15
KinoSearch::Docs::FileFormat Perl module contains an overview of invindex file format. It is not necessary to understand the guts of the Lucene-derived "invindex" file format in order to use KinoSearch, but it may be helpful if you are...
225.28 KB  
Libraries  -  AFS::FS 2.4.0
AFS::FS is a Perl module to communicate with an AFS File Server. SYNOPSIS use AFS::FS qw( getquota isafs lsmount mkmount rmmount setquota whereis ); my $quota = getquota(.); my $ok = setquota(., $quota); $ok = isafs(.); my $vol =...
184.32 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
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  
Libraries  -  wolfSSL 4.0.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...
3.88 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