ANNOUNCE: Perl.Wiki V 1.51, CPAN::MetaCurator V 1.27, etc
From my homepage https://savage.net.au/ you can now download:
- Perl.Wiki.html V 1.51
- cpan.metacurator.tree.html V 1.27
- Mojo Wiki V 1.22
- CSS.and.JS.Wiki V 1.04
The major improvements in cpan.metacurator.tree.html V 1.27 are:
- Many topics (eg AiEngines) have extra entries. Usually the first is called '⊕ See also', which can be opened up to reveal a list of items copied from the corresponding entries in Perl.Wiki
- And scattered among the pre-existing leaves there are new ones called '⊕ Notes for: $module_name', where $module_name is the immediately preceding module. Opening up this reveals a list of items which in Perl.Wiki are after the 3 standard lines per entry. See for example (under CachingStuff) '⊕ Notes for: Cache::Memcached::Fast'
Next, from CPAN you can download:
o CPAN::MetaCurator V 1.27
This module ships with a TODO.txt file, and has had a significant restructure.
Old processing steps:
o Update Perl.Wiki
o Export tiddlers.json from Perl.Wiki
o Run CPAN::MetaCurator's scripts/build.db.sh which reads tiddlers.json and outputs cpan.metacurator.sqlite
o Run CPAN::MetaCurator's scripts/export.tree.sh which reads cpan.metacurator.sqlite and outputs cpan.metacurator.tree.html
o This means there is only 1 pass over the data in ram read from cpan.metacurator.sqlite
New processing steps, the 1st 3 of which are as before:
o Update Perl.Wiki
o Export tiddlers.json from Perl.Wiki
o Run CPAN::MetaCurator's scripts/build.db.sh which reads tiddlers.json and outputs cpan.metacurator.sqlite
But now we have:
o Running scripts/export.tree.sh uses a re-written Export.pm
o Export.pm reads cpan.metacurator.sqlite and stores the data in ram as an object of type Tree::DAG_Node
o This allows multiple passes over the data
o If the controlling program, export.tree.pl, sets the option dag_nodetree_path then we export the Tree::DAG_Node to a text file
o Next we walk the tree and stockpile in a hash the ids of each leaf in the tree
This is in preparation for adding buttons in the 'See also' entry mentioned above.
Currently, when a topic's name appears in 'See also', it is not clickable.
The next version of CPAN::MetaCurator will output a more sophisticated version of cpan.metacurator.tree.html wherein topic names
will be clickable. Thus, clicking on a topic name will transfer the focus to that topic, making it the 'current' topic.
I try to write all code in Perl, but find I end up writing in bash, CSS, HTML, JS, and SQL, and doing database design, just to get anything done...
Leave a comment