This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
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, 4.1, 4.2 and 4.3 Not tested on Plone 3.3.x but it should work.

Credits

Changelog

1.3 (2013-11-04)

  • Return empty dicts when the original XML has empty data [erral]

1.2 (2011-10-06)

  • Some docs [erral]

1.1 (2011-10-05)

  • Added i18n [erral]

1.0 (unreleased)

  • Initial release [dani]
Release History

Release History

1.3

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
cs.portlet.aemet-1.3.zip (25.3 kB) Copy SHA256 Checksum SHA256 Source Nov 4, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting