index
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 779
ltxindex
ltxindex is a LaTeX package to typeset indices with GNUs Texindex. more>>
ltxindex is a LaTeX package to typeset indices with GNUs Texindex.
WARNING!!! This code is fairly experimental.
ltxindex.sty provides a simple package to produce indices with texindex instead of makeindex.
In my experience, texindex is fairly simpler to use. If you dont need anything fancy, this package may be just for you!
This package only implements the standard indices used by texinfo, and only defines the concept index (cp) by default. You cant define custom indices, and you must set up fn, ky, pg,
tp, and vr indices on your own.
Usage:
Call this package in the preamble: usepackage{ltxindex}
The package implements the following commands,
cpindex{< concept >} indexes < concept >, without typesetting it in the main text.
cpsubindex{< concept >}{< subconcept >} indexes < subconcept > under < concept >, without typesetting it in the main text.
indexcp{< concept >} typesets < concept > and puts it in the < cp > index.
subindex{< subconcept >}{< concept >} typesets < subconcept > in the main document and puts it under < concept > in the < cp > index.
You may set up fnindex, kyindex, pgindex, tpindex, and vrindex with the command newindex{??}, where ?? is either fn, ky, pg, tp, or vr. This way, you enable commands ??index{< word >}, which allows you to index < word > in the appropriate index. Texinfo shortcuts cindex, findex, kindex, pindex, tindex, and vindex, are also available.
synindex{foo}{bar} makes index foo feed into index bar.
syncodeindex{foo}{bar} is similar, but puts all entries made for index foo inside bold.
As in Texinfo, all these commands produce auxiliary files < filename >.??
Once youre done with the main body of your document, you ask LaTeX to typeset the index with the command printindex{??}, wherever you like. Make sure you precede it with some informative heading, like section*{Concept Index}.
Run LaTeX on filename to produce the .aux and .?? files Run texindex on every < filename >.?? unsorted index file you created for your document. (< filename >.cp index, by default). texindex will create a sorted index file for every index file ( .cps, by default).
ReRun LaTeX to incorporate the indices.
ReRun texindex on every index file (to secure right cross-references).
ReRun LaTeX to put everything in order.
You may avoid all this work in drafting and proofreading:
this package prints "(Index is empty)" or "(Index is nonexistent)" strings in the appropriate places if the indices are unsorted or undefined.
<<lessWARNING!!! This code is fairly experimental.
ltxindex.sty provides a simple package to produce indices with texindex instead of makeindex.
In my experience, texindex is fairly simpler to use. If you dont need anything fancy, this package may be just for you!
This package only implements the standard indices used by texinfo, and only defines the concept index (cp) by default. You cant define custom indices, and you must set up fn, ky, pg,
tp, and vr indices on your own.
Usage:
Call this package in the preamble: usepackage{ltxindex}
The package implements the following commands,
cpindex{< concept >} indexes < concept >, without typesetting it in the main text.
cpsubindex{< concept >}{< subconcept >} indexes < subconcept > under < concept >, without typesetting it in the main text.
indexcp{< concept >} typesets < concept > and puts it in the < cp > index.
subindex{< subconcept >}{< concept >} typesets < subconcept > in the main document and puts it under < concept > in the < cp > index.
You may set up fnindex, kyindex, pgindex, tpindex, and vrindex with the command newindex{??}, where ?? is either fn, ky, pg, tp, or vr. This way, you enable commands ??index{< word >}, which allows you to index < word > in the appropriate index. Texinfo shortcuts cindex, findex, kindex, pindex, tindex, and vindex, are also available.
synindex{foo}{bar} makes index foo feed into index bar.
syncodeindex{foo}{bar} is similar, but puts all entries made for index foo inside bold.
As in Texinfo, all these commands produce auxiliary files < filename >.??
Once youre done with the main body of your document, you ask LaTeX to typeset the index with the command printindex{??}, wherever you like. Make sure you precede it with some informative heading, like section*{Concept Index}.
Run LaTeX on filename to produce the .aux and .?? files Run texindex on every < filename >.?? unsorted index file you created for your document. (< filename >.cp index, by default). texindex will create a sorted index file for every index file ( .cps, by default).
ReRun LaTeX to incorporate the indices.
ReRun texindex on every index file (to secure right cross-references).
ReRun LaTeX to put everything in order.
You may avoid all this work in drafting and proofreading:
this package prints "(Index is empty)" or "(Index is nonexistent)" strings in the appropriate places if the indices are unsorted or undefined.
Download (0.012MB)
Added: 2006-09-27 License: GPL (GNU General Public License) Price:
1122 downloads
SVN::Log::Index 0.51
SVN::Log::Index is a Perl module that can index and search over Subversion commit logs. more>>
SVN::Log::Index is a Perl module that can index and search over Subversion commit logs.
SYNOPSIS
my $index = SVN::Log::Index->new({ index_path => /path/to/index });
if($creating) { # Create from scratch if necessary
$index->create({ repo_url => url://for/repo });
}
$index->open(); # And then open it
# Now add revisions from the repo to the index
$index->add({ start_rev => $start_rev,
end_rev => $end_rev);
# And query the index
my $results = $index->search(query);
SVN::Log::Index builds a KinoSearch index of commit logs from a Subversion repository and allows you to do arbitrary full text searches over.
<<lessSYNOPSIS
my $index = SVN::Log::Index->new({ index_path => /path/to/index });
if($creating) { # Create from scratch if necessary
$index->create({ repo_url => url://for/repo });
}
$index->open(); # And then open it
# Now add revisions from the repo to the index
$index->add({ start_rev => $start_rev,
end_rev => $end_rev);
# And query the index
my $results = $index->search(query);
SVN::Log::Index builds a KinoSearch index of commit logs from a Subversion repository and allows you to do arbitrary full text searches over.
Download (0.013MB)
Added: 2007-06-12 License: Perl Artistic License Price:
866 downloads
FTP Index 2002-01-16
FTP Index provides a FTP indexer and search engine. more>>
FTP Index provides a FTP indexer and search engine.
FTP Index is a search engine for FTP servers. It scans servers for definable filetypes and stores the results in a MySQL database.
It utilizes the ftpls tool from the ftpcopy package for indexing the servers.
It scans multiple servers at the same time by running with multiple processes.
Enhancements:
- fixed a nasty bug that caused the loss of the half all found files.
<<lessFTP Index is a search engine for FTP servers. It scans servers for definable filetypes and stores the results in a MySQL database.
It utilizes the ftpls tool from the ftpcopy package for indexing the servers.
It scans multiple servers at the same time by running with multiple processes.
Enhancements:
- fixed a nasty bug that caused the loss of the half all found files.
Download (0.016MB)
Added: 2007-04-26 License: GPL (GNU General Public License) Price:
914 downloads
Bio::Index::Blast 1.4
Bio::Index::Blast is a Perl module with indexes Blast reports and supports retrieval based on query accession(s). more>>
Bio::Index::Blast is a Perl module with indexes Blast reports and supports retrieval based on query accession(s).
SYNOPSIS
use strict;
use Bio::Index::Blast;
my ($indexfile,$file1, $file2);
my $index = new Bio::Index::Blast(-filename => $indexfile,
-write_flag => 1);
$index->make_index($file1, $file2);
my $id;
my $data = $index->get_stream($id);
my $bplite_report = $index->fetch_report($id);
print "query is ", $bplite_report->query, "n";
while( my $sbjct = $bplite_report->nextSbjct ) {
print $sbjct->name, "n";
while( my $hsp = $sbjct->nextHSP ) {
print "t e-value ", $hsp->P,
}
print "n";
}
This object allows one to build an index on a blast file (or files) and provide quick access to the blast report for that accession. Note: for best results use strict.
<<lessSYNOPSIS
use strict;
use Bio::Index::Blast;
my ($indexfile,$file1, $file2);
my $index = new Bio::Index::Blast(-filename => $indexfile,
-write_flag => 1);
$index->make_index($file1, $file2);
my $id;
my $data = $index->get_stream($id);
my $bplite_report = $index->fetch_report($id);
print "query is ", $bplite_report->query, "n";
while( my $sbjct = $bplite_report->nextSbjct ) {
print $sbjct->name, "n";
while( my $hsp = $sbjct->nextHSP ) {
print "t e-value ", $hsp->P,
}
print "n";
}
This object allows one to build an index on a blast file (or files) and provide quick access to the blast report for that accession. Note: for best results use strict.
Download (4.7MB)
Added: 2006-10-10 License: Perl Artistic License Price:
1111 downloads
Remote File Index 1.2
Remote File Index is an add-on for Plone which keeps track of a document only by its url. more>>
Remote File Index is an add-on for Plone which keeps track of a document only by its url.
Did you ever find a huge pdf file that youd like to keep track of but wouldnt like to copy it entirely on your server ?
Now RemoteFileIndex indexes the content in the portal Catalog and only keeps the url of that document.
Works with:
- Plone 2.5.2
- Plone 2.5.1
- Plone 2.5
Enhancements:
- better integration with ATContentType
<<lessDid you ever find a huge pdf file that youd like to keep track of but wouldnt like to copy it entirely on your server ?
Now RemoteFileIndex indexes the content in the portal Catalog and only keeps the url of that document.
Works with:
- Plone 2.5.2
- Plone 2.5.1
- Plone 2.5
Enhancements:
- better integration with ATContentType
Download (0.008MB)
Added: 2007-03-10 License: GPL (GNU General Public License) Price:
958 downloads
PDL::Indexing 2.4.3
PDL::Indexing Perl module contains a tutorial on how to index piddles. more>>
PDL::Indexing Perl module contains a tutorial on how to index piddles.
This manpage should serve as a first tutorial on the indexing and threading features of PDL.
This manpage is still in alpha development and not yet complete. "Meta" comments that point out deficiencies/omissions of this document will be surrounded by square brackets ([]), e.g. [ Hopefully I will be able to remove this paragraph at some time in the future ]. Furthermore, it is possible that there are errors in the code examples. Please report any errors to Christian Soeller (c.soeller@auckland.ac.nz).
Still to be done are (please bear with us and/or ask on the mailing list, see PDL::FAQ):
document perl level threading
threadids
update and correct description of slice
new functions in slice.pd (affine, lag, splitdim)
reworking of paragraph on explicit threading
Indexing and threading with PDL
A lot of the flexibility and power of PDL relies on the indexing and looping features of the perl extension. Indexing allows access to the data of a pdl object in a very flexible way. Threading provides efficient implicit looping functionality (since the loops are implemented as optimized C code).
Pdl objects (later often called "pdls") are perl objects that represent multidimensional arrays and operations on those. In contrast to simple perl @x style lists the array data is compactly stored in a single block of memory thus taking up a lot less memory and enabling use of fast C code to implement operations (e.g. addition, etc) on pdls.
pdls can have children
Central to many of the indexing capabilities of PDL are the relation of "parent" and "child" between pdls. Many of the indexing commands create a new pdl from an existing pdl. The new pdl is the "child" and the old one is the "parent". The data of the new pdl is defined by a transformation that specifies how to generate (compute) its data from the parents data. The relation between the child pdl and its parent are often bidirectional, meaning that changes in the childs data are propagated back to the parent. (Note: You see, we are aiming in our terminology already towards the new dataflow features. The kind of dataflow that is used by the indexing commands (about which you will learn in a minute) is always in operation, not only when you have explicitly switched on dataflow in your pdl by saying $a->doflow. For further information about data flow check the dataflow manpage.)
Another way to interpret the pdls created by our indexing commands is to view them as a kind of intelligent pointer that points back to some portion or all of its parents data. Therefore, it is not surprising that the parents data (or a portion of it) changes when manipulated through this "pointer". After these introductory remarks that hopefully prepared you for what is coming (rather than confuse you too much) we are going to dive right in and start with a description of the indexing commands and some typical examples how they might be used in PDL programs. We will further illustrate the pointer/dataflow analogies in the context of some of the examples later on.
There are two different implementations of this ``smart pointer relationship: the first one, which is a little slower but works for any transformation is simply to do the transformation forwards and backwards as necessary. The other is to consider the child piddle a ``virtual piddle, which only stores a pointer to the parent and access information so that routines which use the child piddle actually directly access the data in the parent. If the virtual piddle is given to a routine which cannot use it, PDL transparently physicalizes the virtual piddle before letting the routine use it.
Currently (1.94_01) all transformations which are ``affine, i.e. the indices of the data item in the parent piddle are determined by a linear transformation (+ constant) from the indices of the child piddle result in virtual piddles. All other indexing routines (e.g. ->index(...)) result in physical piddles. All routines compiled by PP can accept affine piddles (except those routines that pass pointers to external library functions).
Note that whether something is affine or not does not affect the semantics of what you do in any way: both
$a->index(...) .= 5;
$a->slice(...) .= 5;
change the data in $a. The affinity does, however, have a significant impact on memory usage and performance.
<<lessThis manpage should serve as a first tutorial on the indexing and threading features of PDL.
This manpage is still in alpha development and not yet complete. "Meta" comments that point out deficiencies/omissions of this document will be surrounded by square brackets ([]), e.g. [ Hopefully I will be able to remove this paragraph at some time in the future ]. Furthermore, it is possible that there are errors in the code examples. Please report any errors to Christian Soeller (c.soeller@auckland.ac.nz).
Still to be done are (please bear with us and/or ask on the mailing list, see PDL::FAQ):
document perl level threading
threadids
update and correct description of slice
new functions in slice.pd (affine, lag, splitdim)
reworking of paragraph on explicit threading
Indexing and threading with PDL
A lot of the flexibility and power of PDL relies on the indexing and looping features of the perl extension. Indexing allows access to the data of a pdl object in a very flexible way. Threading provides efficient implicit looping functionality (since the loops are implemented as optimized C code).
Pdl objects (later often called "pdls") are perl objects that represent multidimensional arrays and operations on those. In contrast to simple perl @x style lists the array data is compactly stored in a single block of memory thus taking up a lot less memory and enabling use of fast C code to implement operations (e.g. addition, etc) on pdls.
pdls can have children
Central to many of the indexing capabilities of PDL are the relation of "parent" and "child" between pdls. Many of the indexing commands create a new pdl from an existing pdl. The new pdl is the "child" and the old one is the "parent". The data of the new pdl is defined by a transformation that specifies how to generate (compute) its data from the parents data. The relation between the child pdl and its parent are often bidirectional, meaning that changes in the childs data are propagated back to the parent. (Note: You see, we are aiming in our terminology already towards the new dataflow features. The kind of dataflow that is used by the indexing commands (about which you will learn in a minute) is always in operation, not only when you have explicitly switched on dataflow in your pdl by saying $a->doflow. For further information about data flow check the dataflow manpage.)
Another way to interpret the pdls created by our indexing commands is to view them as a kind of intelligent pointer that points back to some portion or all of its parents data. Therefore, it is not surprising that the parents data (or a portion of it) changes when manipulated through this "pointer". After these introductory remarks that hopefully prepared you for what is coming (rather than confuse you too much) we are going to dive right in and start with a description of the indexing commands and some typical examples how they might be used in PDL programs. We will further illustrate the pointer/dataflow analogies in the context of some of the examples later on.
There are two different implementations of this ``smart pointer relationship: the first one, which is a little slower but works for any transformation is simply to do the transformation forwards and backwards as necessary. The other is to consider the child piddle a ``virtual piddle, which only stores a pointer to the parent and access information so that routines which use the child piddle actually directly access the data in the parent. If the virtual piddle is given to a routine which cannot use it, PDL transparently physicalizes the virtual piddle before letting the routine use it.
Currently (1.94_01) all transformations which are ``affine, i.e. the indices of the data item in the parent piddle are determined by a linear transformation (+ constant) from the indices of the child piddle result in virtual piddles. All other indexing routines (e.g. ->index(...)) result in physical piddles. All routines compiled by PP can accept affine piddles (except those routines that pass pointers to external library functions).
Note that whether something is affine or not does not affect the semantics of what you do in any way: both
$a->index(...) .= 5;
$a->slice(...) .= 5;
change the data in $a. The affinity does, however, have a significant impact on memory usage and performance.
Download (2.1MB)
Added: 2007-06-28 License: Perl Artistic License Price:
848 downloads
ruby index/search 0.0.2
ruby index/search is a general indexing framework for ruby. more>>
ruby index/search is a general indexing framework for ruby. With it, you can create collections of documents, then index and search them. Currently, both inverted indexing and LSA indexing are supported, with rudimentary result clustering in the works.
The indices may be marshalled out (with Marshal.dump()), then pulled back in with Marshal.load(), to allow for relatively quick search operations in both LSA and inverted indices.
<<lessThe indices may be marshalled out (with Marshal.dump()), then pulled back in with Marshal.load(), to allow for relatively quick search operations in both LSA and inverted indices.
Download (0.053MB)
Added: 2006-04-27 License: GPL (GNU General Public License) Price:
1276 downloads
Extended Path Index 2.4
Extended Path Index provides an extended index type based on the Zope index type that has additional query methods. more>>
Extended Path Index provides an extended index type based on the Zope index type that has additional query methods that are especially suited to generating navigation trees, site maps - and also supports querying a single folder, something the standard PathIndex cant do.
Note: You normally dont need to install this separately, as it ships as a standard part of Plone 2.1 and up. This download is for people wanting to use it outside of Plone or in earlier releases of Plone.
This index supports depth limiting, and the ability to build a structure usable for navtrees and sitemaps. The actual navtree implementations are not (and should not) be in this Product, this is the index implementation only.
Main features:
- Can construct a site map with a single catalog query
- Can construct a navigation tree with a single catalog query
- Doesnt wake up any objects
- Much lower RAM consumption
- Massively improved performance
- Catalog based instead of traversal based
Works with:
- Plone 2.5.1
- Plone 2.5
- Plone 2.1.4
- Plone 2.1.3
- Plone 2.1.2
- Plone 2.1.1
- Plone 2.1
Enhancements:
- A minor release for Plone 2.5.1
<<lessNote: You normally dont need to install this separately, as it ships as a standard part of Plone 2.1 and up. This download is for people wanting to use it outside of Plone or in earlier releases of Plone.
This index supports depth limiting, and the ability to build a structure usable for navtrees and sitemaps. The actual navtree implementations are not (and should not) be in this Product, this is the index implementation only.
Main features:
- Can construct a site map with a single catalog query
- Can construct a navigation tree with a single catalog query
- Doesnt wake up any objects
- Much lower RAM consumption
- Massively improved performance
- Catalog based instead of traversal based
Works with:
- Plone 2.5.1
- Plone 2.5
- Plone 2.1.4
- Plone 2.1.3
- Plone 2.1.2
- Plone 2.1.1
- Plone 2.1
Enhancements:
- A minor release for Plone 2.5.1
Download (0.014MB)
Added: 2007-03-28 License: GPL (GNU General Public License) Price:
940 downloads
Genezzo::Index::bt2 0.64
Genezzo::Index::bt2 is a basic btree built of row directory blocks. more>>
Genezzo::Index::bt2 is a basic btree built of row directory blocks.
construct comparison/equality callbacks
my $cmp1 = sub
{
my ($k1, $k2) = @_;
# NOTE: use "spaceship" (-1,0,1) comparison with
# short-circuit OR (which returns 0 or VALUE, not 0 or 1)
# to perform multi-column key comparison
# a la Schwartzian Transform
return (
( ($k1->[0] $k2->[0])
|| ($k1->[1] $k2->[1])) == -1
);
};
my $eq1 = sub
{
my ($k1, $k2) = @_;
return (($k1->[0] == $k2->[0])
&& ($k1->[1] == $k2->[1])
);
};
SYNOPSIS
use Genezzo::Index::bt?;
my $tt = Genezzo::Index::btree->new();
$tt->insert(1, "hi");
$tt->insert(7, "there");
This btree algorithm is a bottom-up implementation based upon ideas from Chapter 16 of "Algorithms in C++ (third edition)", by Robert Sedgewick, 1998 and Chapter 15, "Access Paths", of "Transaction Processing: Concepts and Techniques" by Jim Gray and Andreas Reuter, 1993. The pedagogical examples use a fixed number of entries per node, or fixed-size keys in each block, but this implementation has significant extensions to support variable numbers of variably-sized keys in fixed-size disk blocks, with the associated error handling, plus support for reverse scans.
<<lessconstruct comparison/equality callbacks
my $cmp1 = sub
{
my ($k1, $k2) = @_;
# NOTE: use "spaceship" (-1,0,1) comparison with
# short-circuit OR (which returns 0 or VALUE, not 0 or 1)
# to perform multi-column key comparison
# a la Schwartzian Transform
return (
( ($k1->[0] $k2->[0])
|| ($k1->[1] $k2->[1])) == -1
);
};
my $eq1 = sub
{
my ($k1, $k2) = @_;
return (($k1->[0] == $k2->[0])
&& ($k1->[1] == $k2->[1])
);
};
SYNOPSIS
use Genezzo::Index::bt?;
my $tt = Genezzo::Index::btree->new();
$tt->insert(1, "hi");
$tt->insert(7, "there");
This btree algorithm is a bottom-up implementation based upon ideas from Chapter 16 of "Algorithms in C++ (third edition)", by Robert Sedgewick, 1998 and Chapter 15, "Access Paths", of "Transaction Processing: Concepts and Techniques" by Jim Gray and Andreas Reuter, 1993. The pedagogical examples use a fixed number of entries per node, or fixed-size keys in each block, but this implementation has significant extensions to support variable numbers of variably-sized keys in fixed-size disk blocks, with the associated error handling, plus support for reverse scans.
Download (0.45MB)
Added: 2006-09-30 License: Perl Artistic License Price:
1120 downloads
Bio::Index::Swissprot 1.4
Bio::Index::Swissprot is a Perl Interface for indexing (multiple) Swissprot .dat files (ie flat file swissprot format). more>>
Bio::Index::Swissprot is a Perl Interface for indexing (multiple) Swissprot .dat files (ie flat file swissprot format).
SYNOPSIS
# Complete code for making an index for several
# Swissprot files
use Bio::Index::Swissprot;
use strict;
my $Index_File_Name = shift;
my $inx = Bio::Index::Swissprot->new(-filename => $Index_File_Name,
-write_flag => WRITE);
$inx->make_index(@ARGV);
# Print out several sequences present in the index
# in gcg format
use Bio::Index::Swissprot;
use Bio::SeqIO;
use strict;
my $out = Bio::SeqIO->new( -format => gcg, -fh => *STDOUT );
my $Index_File_Name = shift;
my $inx = Bio::Index::Swissprot->new(-filename => $Index_File_Name);
foreach my $id (@ARGV) {
my $seq = $inx->fetch($id); # Returns Bio::Seq object
$out->write_seq($seq);
}
# alternatively
my ($id, $acc);
my $seq1 = $inx->get_Seq_by_id($id);
my $seq2 = $inx->get_Seq_by_acc($acc);
Inherits functions for managing dbm files from Bio::Index::Abstract.pm, and provides the basic funtionallity for indexing Swissprot files, and retrieving the sequence from them. Heavily snaffled from James Gilberts Fasta system. Note: for best results use strict.
Details on configuration and additional example code are available in the biodatabases.pod file.
<<lessSYNOPSIS
# Complete code for making an index for several
# Swissprot files
use Bio::Index::Swissprot;
use strict;
my $Index_File_Name = shift;
my $inx = Bio::Index::Swissprot->new(-filename => $Index_File_Name,
-write_flag => WRITE);
$inx->make_index(@ARGV);
# Print out several sequences present in the index
# in gcg format
use Bio::Index::Swissprot;
use Bio::SeqIO;
use strict;
my $out = Bio::SeqIO->new( -format => gcg, -fh => *STDOUT );
my $Index_File_Name = shift;
my $inx = Bio::Index::Swissprot->new(-filename => $Index_File_Name);
foreach my $id (@ARGV) {
my $seq = $inx->fetch($id); # Returns Bio::Seq object
$out->write_seq($seq);
}
# alternatively
my ($id, $acc);
my $seq1 = $inx->get_Seq_by_id($id);
my $seq2 = $inx->get_Seq_by_acc($acc);
Inherits functions for managing dbm files from Bio::Index::Abstract.pm, and provides the basic funtionallity for indexing Swissprot files, and retrieving the sequence from them. Heavily snaffled from James Gilberts Fasta system. Note: for best results use strict.
Details on configuration and additional example code are available in the biodatabases.pod file.
Download (4.7MB)
Added: 2006-09-09 License: Perl Artistic License Price:
1141 downloads
HTML::Widgets::Index 0.6
HTML::Widgets::Index is a Perl module for creating web indexes and menus. more>>
HTML::Widgets::Index is a Perl module for creating web indexes and menus.
This module renders the index of a document tree using the data stored in a MySQL database generated by anxova. It has a flexible set of render options that gives the webmaster many options on the menu item layout.
Table
The tree data must be in a table in a database. The fields of this table should be:
id: int identifies the entry
uri: varchar(150) link of the entry
text: varchar(150) text displayed in the screen
id_parent: int the parent of the current entry. The root is 0
ordern: int menu item position on the menu
Data
Say you have a document tree like this:
a
a1.html
a2.html
b
b1.html
b2
b21.html
b22.html
b3.html
c
c1.html
Then you must enter this in the table :
; First the directory A
INSERT INTO index_items (id,id_parent,uri,text)
VALUES (1,0,a,dir A);
; Now the docs of the a dir
INSERT INTO index_items (id,id_parent,uri,text)
VALUES (2,1,a1.html,A first);
INSERT INTO index_items (id,id_parent,uri,text)
VALUES (3,1,a2.html,A 2nd);
; Now the directory B INSERT INTO index_items (id,id_parent,uri,text) VALUES (4,0,b,dir B); INSERT INTO index_items (id,id_parent,uri,text) VALUES (5,4,b1.html,B first);
; The directory B has subdirs INSERT INTO index_items (id,id_parent,uri,text) VALUES (6,4,b2,B second section);
INSERT INTO index_items (id,id_parent,uri,text)
VALUES (7,6,b21.html,B 2 1 doc);
Notice the uri field is relative, not absolute. You dont need to specify all the path to a document. So you can move docs in the directory, then just change the parent in the table.
The items are sorted alphabetically, if you want to change the order displayed in the html, just add the field ordern when you do the insert:
INSERT INTO index_items (id,id_parent,uri,text,ordern)
VALUES (5,4,b1.html,B first,2);
INSERT INTO index_items (id,id_parent,uri,text)
VALUES (6,4,b2,B second section,1);
<<lessThis module renders the index of a document tree using the data stored in a MySQL database generated by anxova. It has a flexible set of render options that gives the webmaster many options on the menu item layout.
Table
The tree data must be in a table in a database. The fields of this table should be:
id: int identifies the entry
uri: varchar(150) link of the entry
text: varchar(150) text displayed in the screen
id_parent: int the parent of the current entry. The root is 0
ordern: int menu item position on the menu
Data
Say you have a document tree like this:
a
a1.html
a2.html
b
b1.html
b2
b21.html
b22.html
b3.html
c
c1.html
Then you must enter this in the table :
; First the directory A
INSERT INTO index_items (id,id_parent,uri,text)
VALUES (1,0,a,dir A);
; Now the docs of the a dir
INSERT INTO index_items (id,id_parent,uri,text)
VALUES (2,1,a1.html,A first);
INSERT INTO index_items (id,id_parent,uri,text)
VALUES (3,1,a2.html,A 2nd);
; Now the directory B INSERT INTO index_items (id,id_parent,uri,text) VALUES (4,0,b,dir B); INSERT INTO index_items (id,id_parent,uri,text) VALUES (5,4,b1.html,B first);
; The directory B has subdirs INSERT INTO index_items (id,id_parent,uri,text) VALUES (6,4,b2,B second section);
INSERT INTO index_items (id,id_parent,uri,text)
VALUES (7,6,b21.html,B 2 1 doc);
Notice the uri field is relative, not absolute. You dont need to specify all the path to a document. So you can move docs in the directory, then just change the parent in the table.
The items are sorted alphabetically, if you want to change the order displayed in the html, just add the field ordern when you do the insert:
INSERT INTO index_items (id,id_parent,uri,text,ordern)
VALUES (5,4,b1.html,B first,2);
INSERT INTO index_items (id,id_parent,uri,text)
VALUES (6,4,b2,B second section,1);
Download (0.064MB)
Added: 2007-08-15 License: Perl Artistic License Price:
800 downloads
JSAN::Index::Library 0.14
JSAN::Index::Library is a JavaScript Archive Network (JSAN) Software Library. more>>
JSAN::Index::Library is a JavaScript Archive Network (JSAN) Software Library.
This class provides objects for the various libraries (software components) in the JSAN.
METHODS
In addition to the general methods provided by Class::DBI, it has the following methods
name
The name accessor returns the name (possibly including the use of pseudo-namespaces) of the library. e.g. "Test.Simple.Container.Browser"
release
The release method returns the JSAN::Index::Release object for the release that the library is defined in.
version
The version accessor returns the version of the library.
doc
The doc accessor returns the root-relative location of the documentation for this library on the http://openjsan.org/ website.
distribution
The distribution method is a shortcut for $library->release->distribution and returns the JSAN::Index::Distribution for the distribution that this library is of.
extract_libs to => $path
The extract_libs method will extract the libraries for a release (i.e. the contents of the lib directory> to the local filesystem.
It takes named parameters to control its behaviour.
to
The to parameter specifies the destination for the files to be extracted to. When passed as a single string, this is taken to be a directory on the local host.
No other destination options other than the local filesystem are available at this time, but more destination options are expected at a later date.
Returns the number of files extracted, or dies on error.
extract_tests to => $path
The extract_tests method will extract the test scripts for a release (i.e. the contents of the tests directory> to the local filesystem.
Returns the number of files extracted, or dies on error.
<<lessThis class provides objects for the various libraries (software components) in the JSAN.
METHODS
In addition to the general methods provided by Class::DBI, it has the following methods
name
The name accessor returns the name (possibly including the use of pseudo-namespaces) of the library. e.g. "Test.Simple.Container.Browser"
release
The release method returns the JSAN::Index::Release object for the release that the library is defined in.
version
The version accessor returns the version of the library.
doc
The doc accessor returns the root-relative location of the documentation for this library on the http://openjsan.org/ website.
distribution
The distribution method is a shortcut for $library->release->distribution and returns the JSAN::Index::Distribution for the distribution that this library is of.
extract_libs to => $path
The extract_libs method will extract the libraries for a release (i.e. the contents of the lib directory> to the local filesystem.
It takes named parameters to control its behaviour.
to
The to parameter specifies the destination for the files to be extracted to. When passed as a single string, this is taken to be a directory on the local host.
No other destination options other than the local filesystem are available at this time, but more destination options are expected at a later date.
Returns the number of files extracted, or dies on error.
extract_tests to => $path
The extract_tests method will extract the test scripts for a release (i.e. the contents of the tests directory> to the local filesystem.
Returns the number of files extracted, or dies on error.
Download (0.035MB)
Added: 2007-01-09 License: Perl Artistic License Price:
1018 downloads
Acme::Hyperindex 0.12
Acme::Hyperindex is a Perl module to look deep into structures using a list of indexes. more>>
Acme::Hyperindex is a Perl module to look deep into structures using a list of indexes.
SYNOPSIS
use strict;
use Acme::Hyperindex;
my @struct = (
{ j_psi => [qw( eta_prime phi kaon )] },
{ j_psi => [qw( selectron down tau_sneutrino )] },
{ j_psi => [qw( upsilon gluino photino )] }
);
print @struct[[ 2, j_psi, 1 ]], "n"; ### Prints gluino
my $row = @struct[[ 1, j_psi ]]; ### Row contains [qw( selectron down tau_sneutrino )]
When you use dynamic datastructures, the perl index syntax may not be felxible enough. A little examle:
my @struct = (
{
pion => [
[qw(strange j_psi positron)],
[qw(down_squark electron gluino)],
],
w_plus_wino => [
[qw(neutralino tau kaon)],
[qw(charm_squark photino strange_squark)]
],
},
);
Now to get to the kaon particle, normally we use:
my $particle = $struct[0]->{w_plus_wino}->[2];
-- or better --
my $particle = $struct[0]{w_plus_wino}[2];
But what if you dont know how deep your datastructure is at compile time? Course this is doable:
my $particle = @struct;
$particle = $particle->[$_] for qw(0 pion 2);
Two problems here: Perl will tell you Not an ARRAY reference once we try to index in the hash on pion with this array indexing syntax. Its damn ugly and looks complicated.
So Acme::Hyperindex lets you index arbitrary deep into data structures:
my $particle = @struct[[ 0, pion, 2 ]];
-- or even --
my $particle = @struct[[ @indexes ]];
-- or --
my $particle = @struct[[ get_index() ]];
-- or --
my $particle = @struct[[ $particleindexes[[ 3, 42 ]] ]];
Acme::Hyperindex now also lets you index on scalars, arrays and hashes:
$struct[[ ... ]];
@struct[[ ... ]];
%struct[[ ... ]];
And lists ary auto-derefed in list context:
my $struct = [ [qw(a b c)], [qw(d e f)] ];
my $foo = $struct[[ 0 ]]; # $foo contains a ref to qw(a b c)
my @foo = $struct[[ 0 ]]; # @foo contains qw(a b c)
<<lessSYNOPSIS
use strict;
use Acme::Hyperindex;
my @struct = (
{ j_psi => [qw( eta_prime phi kaon )] },
{ j_psi => [qw( selectron down tau_sneutrino )] },
{ j_psi => [qw( upsilon gluino photino )] }
);
print @struct[[ 2, j_psi, 1 ]], "n"; ### Prints gluino
my $row = @struct[[ 1, j_psi ]]; ### Row contains [qw( selectron down tau_sneutrino )]
When you use dynamic datastructures, the perl index syntax may not be felxible enough. A little examle:
my @struct = (
{
pion => [
[qw(strange j_psi positron)],
[qw(down_squark electron gluino)],
],
w_plus_wino => [
[qw(neutralino tau kaon)],
[qw(charm_squark photino strange_squark)]
],
},
);
Now to get to the kaon particle, normally we use:
my $particle = $struct[0]->{w_plus_wino}->[2];
-- or better --
my $particle = $struct[0]{w_plus_wino}[2];
But what if you dont know how deep your datastructure is at compile time? Course this is doable:
my $particle = @struct;
$particle = $particle->[$_] for qw(0 pion 2);
Two problems here: Perl will tell you Not an ARRAY reference once we try to index in the hash on pion with this array indexing syntax. Its damn ugly and looks complicated.
So Acme::Hyperindex lets you index arbitrary deep into data structures:
my $particle = @struct[[ 0, pion, 2 ]];
-- or even --
my $particle = @struct[[ @indexes ]];
-- or --
my $particle = @struct[[ get_index() ]];
-- or --
my $particle = @struct[[ $particleindexes[[ 3, 42 ]] ]];
Acme::Hyperindex now also lets you index on scalars, arrays and hashes:
$struct[[ ... ]];
@struct[[ ... ]];
%struct[[ ... ]];
And lists ary auto-derefed in list context:
my $struct = [ [qw(a b c)], [qw(d e f)] ];
my $foo = $struct[[ 0 ]]; # $foo contains a ref to qw(a b c)
my @foo = $struct[[ 0 ]]; # @foo contains qw(a b c)
Download (0.004MB)
Added: 2007-08-02 License: Perl Artistic License Price:
813 downloads
Contentment::Index 0.011_032
Contentment::Index is a Perl module that provides categorization and indexing features. more>>
Contentment::Index is a Perl module that provides categorization and indexing features.
SYNOPSIS
# Get a list of the available indexes
my @indexes = Contentment::Index->indexes;
for my $index (@indexes) {
# Get a list of avilable terms
my @terms = $index->terms;
for my $term (@terms) {
# Get a list of generators
my @generators = $index->generators;
}
}
One frequently controversial component of a CMS is the categorization system. Contentment attempts to avoid this problem by providing a framework for building categorization systems so that any controversy just leads to the replacement of whatever system someone doesnt like.
That is, rather than create some all encompassing categorization system or some dead-simple one that your grandma who thinks the boogey-man is going to jump out of the her CD-ROM drive can use, you can have either or both or neither depending upon your need. Thus, instead of providing a category or taxonomy system, Contentment provides the indexing system, which allows you to implement whatever category system you prefer.
<<lessSYNOPSIS
# Get a list of the available indexes
my @indexes = Contentment::Index->indexes;
for my $index (@indexes) {
# Get a list of avilable terms
my @terms = $index->terms;
for my $term (@terms) {
# Get a list of generators
my @generators = $index->generators;
}
}
One frequently controversial component of a CMS is the categorization system. Contentment attempts to avoid this problem by providing a framework for building categorization systems so that any controversy just leads to the replacement of whatever system someone doesnt like.
That is, rather than create some all encompassing categorization system or some dead-simple one that your grandma who thinks the boogey-man is going to jump out of the her CD-ROM drive can use, you can have either or both or neither depending upon your need. Thus, instead of providing a category or taxonomy system, Contentment provides the indexing system, which allows you to implement whatever category system you prefer.
Download (0.11MB)
Added: 2006-10-13 License: Perl Artistic License Price:
1106 downloads
Thumbnail AutoIndex 2.0
Thumbnail AutoIndex is a thumbnail index generation script designed to be a companion to mod_autoindex for Apache. more>>
Thumbnail AutoIndex is a thumbnail index generation script designed to be a companion to mod_autoindex for Apache. Thumbnail AutoIndex script generates a thumbnail index of images contained in a directory that is much like mod_autoindex generated indexes.
Enhancements:
- fixed PHP5 MIME detection
- fixed PHP5 If-Modified-Since handling
- Etag support
- fixed script real path detection
- cosmetics
<<lessEnhancements:
- fixed PHP5 MIME detection
- fixed PHP5 If-Modified-Since handling
- Etag support
- fixed script real path detection
- cosmetics
Download (0.005MB)
Added: 2006-04-24 License: GPL (GNU General Public License) Price:
1287 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above index search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed