Changeset 247

Show
Ignore:
Timestamp:
09/08/06 17:14:16 (2 years ago)
Author:
sgillies
Message:

removed unconfigured browser pages, fixed typo in installer

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • PleiadesGeocoder/trunk/Extensions/Install.py

    r213 r247  
    1 # TODO: Pleiades copyright header 
     1# =========================================================================== 
     2# Copyright (C) 2006 Ancient World Mapping Center 
     3
     4# This program is free software; you can redistribute it and/or modify 
     5# it under the terms of the GNU General Public License as published by 
     6# the Free Software Foundation; either version 2 of the License, or 
     7# (at your option) any later version. 
     8
     9# This program is distributed in the hope that it will be useful, 
     10# but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     12# GNU General Public License for more details. 
     13
     14# You should have received a copy of the GNU General Public License along 
     15# with this program; if not, write to the Free Software Foundation, Inc., 
     16# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 
     17#  
     18# About Pleiades 
     19# -------------- 
     20
     21# Pleiades is an international research network and associated web portal and 
     22# content management system devoted to the study of ancient geography.  
     23
     24# See http://icon.stoa.org/trac/pleiades/wiki. 
     25
     26# Funding for the creation of this software was provided by a grant from the  
     27# U.S. National Endowment for the Humanities (http://www.neh.gov). 
     28# =========================================================================== 
    229 
    330from Products.CMFCore.DirectoryView import registerDirectory, addDirectoryViews 
  • PleiadesGeocoder/trunk/README.txt

    r227 r247  
    55text locations such as "Fort Collins, Colorado" to spatial coordinates. Other 
    66geocoding backends could be supported in the future. 
     7 
     8See http://icon.stoa.org/trac/pleiades/wiki/PleiadesGeocoder for more 
     9information. 
    710 
    811Contact: Sean Gillies <sgillies@frii.com> 
  • PleiadesGeocoder/trunk/skins/PleiadesGeocoder/georss.xml.pt

    r212 r247  
    66  xmlns:georss="http://www.georss.org/georss" 
    77  xmlns:tal="http://xml.zope.org/namespaces/tal" 
    8   tal:define="infos context/@@geoinfo/forRSS; 
     8  tal:define="infos context/@@geo/forRSS; 
    99              furl context/absolute_url" 
    1010  > 
  • PleiadesGeocoder/trunk/skins/PleiadesGeocoder/kml.xml.pt

    r212 r247  
    33  xmlns="http://earth.google.com/kml/2.1" 
    44  xmlns:tal="http://xml.zope.org/namespaces/tal" 
    5   tal:define="infos context/@@geoinfo/forKML; 
     5  tal:define="infos context/@@geo/forKML; 
    66              furl context/absolute_url" 
    77  > 
  • PleiadesGeocoder/trunk/tests/FolderGeoViews.txt

    r204 r247  
    1111    >>> import Products 
    1212    >>> zcml.load_config('configure.zcml', package=Products.PleiadesGeocoder) 
     13    >>> from Products.PloneTestCase import PloneTestCase 
     14    >>> PloneTestCase.installProduct('PleiadesGeocoder') 
    1315 
    1416    >>> from Products.PleiadesGeocoder.interfaces import IGeoItemSimple 
     
    5557Test the GeoRSS view 
    5658 
     59    >>> browser.open("%s/@@geo/forRSS" % folder_url) 
     60    >>> browser.contents 
     61    "[{'srs': 'EPSG:4326', 'geometryType': 'point', 'description': 'No description', 'spatialCoordinates': '40.585609 -105.083733', 'url': 'http://nohost/plone/Members/test_user_1_/document', 'geom_element': '<georss:point>40.585609 -105.083733</georss:point>', 'title': 'document', 'id': 'document'}]" 
     62 
     63    >>> browser.open("%s/@@geo/forKML" % folder_url) 
     64    >>> browser.contents 
     65    '[{\'srs\': \'EPSG:4326\', \'desc_body\': \'<![CDATA[<p>No description</p><p><a href="http://nohost/plone/Members/test_user_1_/document">document</a></p>]]>\', \'geometryType\': \'point\', \'description\': \'No description\', \'spatialCoordinates\': \'40.585609 -105.083733 0.0\', \'url\': \'http://nohost/plone/Members/test_user_1_/document\', \'geom_element\': \'<Point><coordinates>-105.083733,40.585609,0.000000</coordinates></Point>\', \'title\': \'document\', \'id\': \'document\'}]' 
     66     
    5767    >>> browser.open("%s/georss.xml" % folder_url) 
    5868    >>> browser.contents