Personal tools

Skip to content. | Skip to navigation

Internet solutions

Sections
You are here: Home Products cs.portlet.aemet

cs.portlet.aemet

A portlet to show the weather via AEMET

Project Description

Introduction

This products creates a portlet to show weather information as provided by AEMET .

It parses an XML file and creates a data structure to create a portlet based on a structure similar to the one provided by the product Meteo . This product worked great, but due to the constantly changing HTML of the AEMET site, it failed easily.

Now AEMET provides a fixed XML for each place, so you just have to create a portlet and type the URL of the XML file you want to show. The parsing results are cached in memory using plone.memoize's RAMCache.

If you want to customize the look and feel of the portlet, use z3c.jbot and look at the internals of the dict created after parsing the XML at aemetparser.py file.

You can see examples of customization of this portlet at:

Compatibility

Tested on Plone 4.0.x and 4.1. Not tested on Plone 3.3.x but it should work.

Credits

Changelog

1.2 (2011-10-06)

  • Some docs [erral]

1.1 (2011-10-05)

  • Added i18n [erral]

1.0 (unreleased)

  • Initial release [dani]

Current Release
cs.portlet.aemet 1.2

Released Oct 05, 2011 — tested with Plone 4.0

a
More about this release…

Download file Get cs.portlet.aemet for All platforms
cs.portlet.aemet-1.2.tar.gz
If you are using Plone 3.2 or higher, you probably want to install this product with buildout. See our tutorial on installing add-on products with buildout for more information.

All Releases

Version Released Description Compatibility Licenses Status
1.3 a More about this release…
Plone 4.0
GPL
pre-release
1.2 Oct 05, 2011 a More about this release…
Plone 4.0
GPL
final
1.1 Oct 05, 2011 More about this release… GPL
final