| 1 | | During the publishing phase of a video, the user is asked to add a Country to the video's metadata. Since Plumi was originally made by the Engagemedia Collective as a means to the [http://engagemedia.org Engagemedia] ends, the country listing is slanted toward Oceania, South East Asia and the Pacific. |
| 2 | | |
| 3 | | If you are not in this region, or want to make your own list of countries, this page explains how to change them. |
| 4 | | |
| 5 | | == 1. The Background == |
| 6 | | |
| 7 | | The country listing uses a dictionary that can be controled through ATVocabularyManager. |
| 8 | | |
| 9 | | == 2. Changing configuration == |
| 10 | | |
| 11 | | You can change things in two ways, depending on what you need. Most of the time you will only need the first option. |
| 12 | | |
| 13 | | In the Zope Management Interface, go to the root directory of your site, and there should be a tool called "portal_vocabularies" and then "video_countries". In there you can add and remove countries. The list of countries is from the ISO list of countries, and so (we found) is missing a few of the more obscure or unrecognised countries like West Papua. |
| 14 | | |
| 15 | | If you are interested in adding your own countries (vids from the moon, etc), then you need to edit one of the files that installs Plumi. |
| 16 | | In the path you downloaded plumi to, open /eggs/plumi.app/plumi/app/vocabs.py in your favourite text editor. |
| 17 | | |
| 18 | | On line 654 you will find the addCustomAreasATCountryWidget function. You don't even really need to be able to program in python - it's pretty self explanatory and andycat's inline comments are great. add something like |
| 19 | | add something like ('MO', _(u'Moon')), |
| 20 | | re-install plumi (remove/add the products) and you should see the Moon available as a country. |
| 21 | | |
| 22 | | [wiki:Documentation Back to the Documentation] |
| | 1 | This page is deprecated. Please see the Plumi Manual - http://en.flossmanuals.net/Plumi/ |