[GRASS-dev] Addons index page progress report
Vaclav Petras
wenzeslaus at gmail.com
Fri Oct 16 15:04:20 PDT 2015
Hi all,
I've improved creation of the index page for addons r66518 so that the
description which goes to index is extracted from the text in Description
section when it is not available elsewhere.
This removes the "please fix" text from the index, so the pages which in
fact still need to be fixed are not so visible anymore. The visibility was
apparently not helping to fix it and most of the pages were actually the
module group index pages where there was no mechanism to get the
description there.
The current state is best visible for the module groups such as r.modis and
r.greens:
Old:
r.modis.download: Download several tiles of MODIS products using pyModis
r.modis: (incomplete manual page, please fix)
r.modis.import: Import single or multiple tiles of MODIS products using
pyModis/MRT
New:
r.modis.download: Download several tiles of MODIS products using pyModis
r.modis: The r.modis suite is a toolset to import MODIS satellite data in
GRASS GIS.
r.modis.import: Import single or multiple tiles of MODIS products using
pyModis/MRT
To be able to do and test these changes I had to move the functionality to
a separate file (r66516) and convert it to Python (r66517) for better
string manipulation. So, please note the changes in the source code
structure. The server seems to accept it as the page is updated.
Future steps probably include a solution for module groups which would use
the meta comments similarly to e.g. GUI pages and further, storing the
description/label and keywords in HTML <meta> tag and creating h1 tag in
the header section with the content used for title. This would be both
search engine optimization and clear place where to store simple metadata
(as well as fix of HTML semantics for all pages especially the GUI ones).
Vaclav
BTW, also links to modules which are part of a group such as r.modis or
r.green are now working (r66481) as well as links to https sites (r66445).
https://grass.osgeo.org/grass70/manuals/addons/
https://trac.osgeo.org/grass/changeset/66518 (also 19-21)
https://trac.osgeo.org/grass/changeset/66516
https://trac.osgeo.org/grass/changeset/66517
https://trac.osgeo.org/grass/changeset/66481
https://trac.osgeo.org/grass/changeset/66445
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20151016/f77296d6/attachment.html>
More information about the grass-dev
mailing list