Changes between Initial Version and Version 1 of PackageResources


Ignore:
Timestamp:
10/15/09 13:57:19 (5 years ago)
Author:
dread
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PackageResources

    v1 v1  
     1Discussion of resources referred to in package meta data (currently Download URL) 
     2 
     3On CKAN a Package just has metadata and doesn't store the resource (payload) (CKAN is just a registry). The CKAN metadata has a pointer, the download URL to find the associated resources. 
     4 
     5Two sorts of resource links: 
     6 
     7 1. Manifest 
     8A set of filenames with accompanying description.[[br]] 
     9e.g. [('!UkBirths1998.xls', '1998 data'), ('!UkBirths1999.xls', '1999 data')] 
     10 
     11 2. Distributions 
     12Each distribution is a serialisation / representation of the full Package - metadata + payload. (Or sometimes just the payload).[[br]] 
     13e.g. mysite.com/births.xls.zip which contains the two excel files[[br]] 
     14But it also includes cases where we have: 
     15 *   mysite.com/births.csv.zip 
     16 *   mysite.com/births/api (restful api to the same data) 
     17 *   mysite.com/births.html (WUI to the same data) 
     18 
     19Different representations of the same material - how do we deal with this? Options: 
     20 1. each distribution has its own CKAN package. 
     21 1. a CKAN package can refer to multiple distributions. 
     22 
     23package.distributions ?