Ignore:
Timestamp:
Jan 15, 2010 10:33:16 PM (14 years ago)
Author:
koval
Message:

implemented section for importing of portlet assignments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.transmogrifier/trunk/quintagroup/transmogrifier/portlets.txt

    r1563 r1564  
    4444... [portletsimporter] 
    4545... blueprint = quintagroup.transmogrifier.portletsimporter 
     46... files-key = files 
    4647... """ 
    4748>>> registerConfig(u'quintagroup.transmogrifier.tests.portlets', portlets) 
     
    7172</portlets> 
    7273<BLANKLINE> 
    73 >>> pprint.pprint(plone.updated) 
    74 () 
     74{'_path': 'other-assignable', 
     75 'files': {'portlets': {'data': ... 
     76                        'name': '.portlets.xml'}}} 
     77>>> 'habra-rss' in mapping 
     78True 
     79>>> mapping['habra-rss'].count 
     8020 
     81>>> mapping['habra-rss'].url 
     82u'http://habrahabr.ru/rss/' 
     83>>> mapping['habra-rss'].portlet_title 
     84u'Habrahabr RSS feed' 
     85>>> mapping['habra-rss'].timeout 
     86120 
Note: See TracChangeset for help on using the changeset viewer.