Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
137 lines (105 sloc) 4.04 KB
# Autogenerated bulkloader.yaml file.
# You must edit this file before using it. TODO: Remove this line when done.
# At a minimum address the items marked with TODO:
# * Fill in connector and connector_options
# * Review the property_map.
# - Ensure the 'external_name' matches the name of your CSV column,
# XML tag, etc.
# - Check that __key__ property is what you want. Its value will become
# the key name on import, and on export the value will be the Key
# object. If you would like automatic key generation on import and
# omitting the key on export, you can remove the entire __key__
# property from the property map.
# If you have module(s) with your model classes, add them here. Also
# change the kind properties to model_class.
python_preamble:
- import: base64
- import: re
- import: google.appengine.ext.bulkload.transform
- import: google.appengine.ext.bulkload.bulkloader_wizard
- import: google.appengine.ext.db
- import: google.appengine.api.datastore
- import: google.appengine.api.users
transformers:
- kind: Feed
connector: csv
connector_options:
# TODO: Add connector options here--these are specific to each connector.
property_map:
- property: __key__
external_name: key
export_transform: transform.key_id_or_name_as_string
- property: homepage
external_name: homepage
- property: comments_url
external_name: comments_url
- property: favicon
external_name: favicon
- property: person
external_name: person
# Type: String Stats: 128 properties of this type in this kind.
- property: priority
external_name: priority
# Type: Integer Stats: 128 properties of this type in this kind.
import_transform: transform.none_if_empty(int)
- property: title
external_name: title
# Type: String Stats: 128 properties of this type in this kind.
- property: listtitle
external_name: listtitle
# Type: String Stats: 128 properties of this type in this kind.
- property: category
external_name: category
# Type: String Stats: 128 properties of this type in this kind.
- property: language
external_name: language
# Type: String Stats: 128 properties of this type in this kind.
- property: posts_url
external_name: posts_url
# Type: String Stats: 128 properties of this type in this kind.
- property: comments_day
external_name: comments_day
- property: comments_week
external_name: comments_week
- property: posts_week
external_name: posts_week
- property: posts_month
external_name: posts_month
- property: checksum_posts
external_name: checksum_posts
- property: checksum_comments
external_name: checksum_comments
- property: last_successful_posts_fetch_date
external_name: last_successful_posts_fetch_date
- property: last_successful_comments_fetch_date
external_name: last_successful_comments_fetch_date
- property: taglist
external_name: taglist
import_transform: transform.none_if_empty(list)
- kind: PreFeed
connector: csv
connector_options:
# TODO: Add connector options here--these are specific to each connector.
property_map:
- property: __key__
external_name: key
export_transform: transform.key_id_or_name_as_string
- property: comments_url
external_name: comments_url
- property: person
external_name: person
# Type: String Stats: 128 properties of this type in this kind.
- property: category
external_name: category
# Type: String Stats: 128 properties of this type in this kind.
- property: language
external_name: language
# Type: String Stats: 128 properties of this type in this kind.
- property: posts_url
external_name: posts_url
# Type: String Stats: 128 properties of this type in this kind.
- property: homepage
external_name: homepage
- property: title
external_name: title
# Type: String Stats: 128 properties of this type in this kind.