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

Daizu::File 0.3

  Date Added: July 20, 2010  |  Visits: 618

Daizu::File

Report Broken Link
Printer Friendly Version


Product Homepage
Download (70 downloads)



Daizu::File is a Perl class representing files in working copies. Each object of this class represents a particular file in a Daizu CMS working copy (a record in the wc_file table). METHODS Note that all the functions which return the value of a Subversion property will strip leading and trailing whitespace, and treat a value which is empty or entirely whitespace as if it wasnt set at all. Daizu::File->new($cms, $file_id) Return a new Daizu::File object for the file with the specified ID number. $file->data Return a reference to a string containing the file data (content). $file->wc Return a Daizu::Wc object representing the working copy in which this file lives. $file->guid_uri Return the GUID URI for this file. $file->directory_path Returns the path of a directory, either the same as the file if its a directory itself, or the path of its parent directory, or if its at the top level. $file->permalink Returns the first URL generated by the file, which will be the URL you want to link to most of the time. For articles this will always be the normal HTML version of the article, even if there are also other URLs available for it, and it will always be the first page of multipage articles. For non-article files there is no guarantee about what this will return, but most will only generate a single URL anyway, and for those that dont generators are likely to return the most linkable URL first. The URL returned is an absolute URL provided as a URI object. Returns nothing if the file doesnt generate any URLs. There are some cases where this might not be what you want. For example, the root directory of a website using Daizu::Gen will either not generate a URL at all, or will generate one for a Google sitemap XML file, neither of which is likely to be useful for linking. To get the URL of the website you would probably need to find a file called something like _index.html. On the other hand, the Daizu::Gen::Blog generator will give you a sensible URL for the blog homepage if you call this on its root directory. $file->urls_in_db($method, $argument) Return a list of the URLs (plain strings, each an absolute URI) of the file which have the specified method and argument values, drawing from the url table in the database. $file->article_urls Return information about the URLs which the file should have, if it is an article. Fails if it isnt..

Requirements: No special requirements
Platforms: Linux
Keyword: Daizufile Directory File Files Libraries Programming Return Uri Urls Working
Users rating: 0/10

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


DAIZU::FILE RELATED
Libraries  -  File::Next::OO 0.04
File::Next::OO is a Perl module with file-finding iterator Wrapper for File::Next::files function. SYNOPSIS File::Next::OO is just a wrapper around File::Next::files function. But it is easy to remember and less typing. Call it always with...
8.19 KB  
Libraries  -  File::DirCompare 0.3
File::DirCompare is a Perl module to compare two directories using callbacks. SYNOPSIS use File::DirCompare; # Simple diff -r --brief replacement use File::Basename; File::DirCompare->compare($dir1, $dir2, sub { my ($a, $b) = @_; if (!...
8.19 KB  
Libraries  -  FileCache 5.8.8
FileCache is a Perl module to keep more files open than the system permits. SYNOPSIS use FileCache; # or use FileCache maxopen => 16; cacheout $mode, $path; # or cacheout $path; print $path @data; $fh = cacheout $mode, $path; # or...
12.2 MB  
Modules  -  Feeds directory fetcher 6.x-1.1
This is a very simple little module that provides a new feeds fetcher to the feeds module that fetches new files from a directory of files.All you need to do is point it at a directory on your webserver, and it will fetch a new file if one is...
10 KB  
Libraries  -  WebFS::FileCopy 1.04
WebFS::FileCopy is a Perl module to get, put, move, copy, and delete files located by URIs. SYNOPSIS use WebFS::FileCopy; my @res = get_urls(ftp://www.perl.com, http://www.netscape.com); print $res[0]->content if $res[0]->is_success; #...
22.53 KB  
Libraries  -  FLV::Body 0.03
FLV::Body is a flash video file data structure. METHODS This is a subclass of FLV::Base. $self->parse($fileinst) Takes a FLV::File instance and extracts the FLV body from the file stream. This method throws exceptions if the stream is not...
737.28 KB  
Libraries  -  JsHttpRequest 5.0
JsHttpRequest project is an easy-to-use cross-browser AJAX library with AJAX file uploading support and many other features. JsHttpRequest first appeared as cross-browser analogue of XMLHttpRequest, and then became a very useful instrument to...
122.88 KB  
Libraries  -  Java2Excel 1.3.1
Java2Excel is a library that allows the generation of simple excel files using objects of type java.util.Collection. The current verison of Java2Excel contains a lot of limitations. You can only write the collection in excel files using an xml...
235.52 KB  
Libraries  -  CFITSIO 3.040
CFITSIO is a library of C and Fortran subroutines for reading and writing data files in FITS (Flexible Image Transport System) data format. CFITSIO simplifies the task of writing software that deals with FITS files by providing an easy to use...
2.06 MB  
File Utilities  -  FileEventWatcher 1.0.0.0
FileEventWatcher is a handy and reliable utility designed to watch a directory for files that have been created or modified, then launches the app of your choice to act on the file. You'll no longer have to search for changed files and waste...
 
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  -  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  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB