but you can manage html with beautifulsoup module
http://www.crummy.com/software/BeautifulSoup/bs4/doc/ regards Luigi Pirelli ************************************************************************************************** * LinkedIn: https://www.linkedin.com/in/luigipirelli * Elance: https://www.elance.com/s/edit/luigipirelli/ * GitHub: https://github.com/luipir * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli * Mastering QGIS: https://www.packtpub.com/application-development/mastering-qgis ************************************************************************************************** On 3 November 2015 at 09:17, Alessandro Pasotti <[email protected]> wrote: > 2015-11-03 9:03 GMT+01:00 Andrea Peri <[email protected]>: >> >> Hi, >> >> I'm try to retrieve the lists of layer metadata information using a python >> code. >> >> (see the image for sample). >> >> I found the QgsProviderMetadata, but I'm not sure it is the right class. >> To retrieve the layer level - metadata from qgis project. >> >> Any hints is welcome >> >> Thx. >> >> > > > You can either call layer.metadata() that returns an HTML formatted list, or > call the individual getters, like layer.attribution(), layer.title() etc. > etc. > > AFAIK there is not any dict-returning function that gives back the kvp > metadata. > > Regards > > -- > Alessandro Pasotti > w3: www.itopen.it > > _______________________________________________ > Qgis-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-user _______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
