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.876.502 Times

HTML::Widgets::Index 0.6

  Date Added: September 22, 2010  |  Visits: 1.890

HTML::Widgets::Index

Report Broken Link
Printer Friendly Version


Product Homepage
Download (73 downloads)



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);.

Requirements: No special requirements
Platforms: Linux
Keyword: Html Htmlwidgetsindex Index Insert Insert Into Into Items Libraries Module Perl Module Programming Table Values Web
Users rating: 0/10

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


HTML::WIDGETS::INDEX RELATED
Libraries  -  HTML::EmbperlObject 1.3.6
HTML::EmbperlObject is a Perl module that extents HTML::Embperl for building whole website with reusable components and objects. SYNOPSIS PerlSetEnv EMBPERL_OBJECT_BASE base.htm PerlSetEnv EMBPERL_FILESMATCH ".htm.?|.epl$"...
358.4 KB  
Libraries  -  HTML::DWT 2.08
HTML::DWT is a Perl module with DreamWeaver HTML Template. INSTALLATION Unzip/tar the archive: tar xvfz HTML-DWT-2.08 Create the makefile perl Makefile.PL Make the module (must have root access to install) make make test make install...
17.41 KB  
Libraries  -  SVN::RaWeb::Light::Help 0.60001
SVN::RaWeb::Light::Help is Perl module to generate the Help HTML for SVN::RaWeb::Light. SYNOPSIS Warning! This moduls is auto-generated. FUNCTIONS print_data() Prints the HTML data to the standard output..
15.36 KB  
Libraries  -  HTML Objects 1.2.4
HTML Objects is a Perl module library for turning HTML tags into Perl objects. HTML Objects allows Web pages to be manipulated as a data structure rather than text. Once manipulation is done, the entire page is generated via depth-first...
25.6 KB  
Libraries  -  jsFind 0.06
jsFind is a Perl module that can generate index for full text search engine in JavaScript. SYNOPSIS use jsFind; my $t = new jsFind(B => 4); my $f = 1; foreach my $k (qw{minima ut dolorem sapiente voluptatem}) { $t->B_search(Key => $k,...
34.82 KB  
Libraries  -  DBIx::HTML::ClientDB 1.05
DBIx::HTML::ClientDB is a Perl module to convert sql into a client-side db with keyed access. Synopsis use DBIx::HTML::ClientDB; my($object) = DBIx::HTML::ClientDB -> new ( dbh => $dbh, row_headings => Unit code,Unit code,Campus name,Unit...
11.26 KB  
Libraries  -  HTML::LoL 1.3
HTML::LoL is a Perl module that can construct HTML from pleasing Perl data structures. SYNOPSIS use HTML::LoL; &hl(sub { print shift }, [body => {bgcolor => white}, [p => Document body, ...], ...]); This module allows you to use Perl...
5.12 KB  
Libraries  -  Algorithm::BinPack 0.5
Algorithm::BinPack is a Perl module that can efficiently pack items into bins. SYNOPSIS Algorithm::BinPack efficiently packs items into bins. The bins are given a maximum size, and items are packed in with as little empty space as possible. An...
4.1 KB  
Libraries  -  Text::EtText::EtText2HTML 2.2
Text::EtText::EtText2HTML is a Perl module to convert from the simple EtText editable-text format into HTML. SYNOPSIS my $t = new Text::EtText::EtText2HTML; print $t->text2html ($text); or my $t = new Text::EtText::EtText2HTML; print...
143.36 KB  
Libraries  -  HTML::FormHighlight 0.03
HTML::FormHighlight Perl module can help you to highlights fields in an HTML form. SYNOPSIS use HTML::FormHighlight; my $h = new HTML::FormHighlight; print $h->highlight( scalarref => $form, fields => [ A, B, C ], ); print...
5.12 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.11.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