あほっぽいけど、Personオブジェクトの全項目をShindigで"supported"にするための、
container.jsのsupportedFields。
"opensocial-0.8" : {
"path" : "http://%host%/social",
"domain" : "qsdn.co.jp",
"enableCaja" : false,
"supportedFields" : {
"person" : [
"id",
"name",
"nickname",
"thumbnailUrl",
"profileUrl",
"currentLocation",
"addresses",
"emails",
"phoneNumbers",
"aboutMe",
"status",
"profileSong",
"profileVideo",
"gender",
"sexualOrientation",
"relationshipStatus",
"age",
/* birthday, dateOfBirthは同じもの */
"birthday",
"dateOfBirth",
"bodyType",
"ethnicity",
"smoker",
"drinker",
"children",
"pets",
"livingArrangement",
/* timeZone, utcOffsetは同じもの */
"timeZone",
"utcOffset",
"languagesSpoken",
/* organizations, jobs, schoolsは同じもの */
"organizations",
"jobs",
"jobInterests",
"schools",
"interests",
"urls",
"music",
"movies",
"tvShows",
"books",
"activities",
"sports",
"heroes",
"quotes",
"cars",
"food",
"turnOns",
"turnOffs",
"tags",
"romance",
"scaredOf",
"happiestWhen",
"fashion",
"humor",
"lookingFor",
"religion",
"politicalViews",
"hasApp",
"networkPresence"
],
"name" : [
"familyName",
"givenName",
"additionalName",
"honorificPrefix",
"honorificSuffix",
"unstructured"
],
"address" : [
"type",
"unstructuredAddress",
"poBox",
"streetAddress",
"extendedAddress",
"region",
"locality",
"postalCode",
"country",
"latitude",
"longitude"
],
"organization" : [
"name",
"title",
"description",
"field",
"subField",
"startDate",
"endDate",
"salary",
"address",
"webpage"
],
"url" : [
"type",
"linkText",
"address"
],
"email" : [
"type",
"address"
],
"phone" : [
"type",
"number"
],
"bodyType" : [
"build",
"height",
"weight",
"eyeColor",
"hairColor"
],
"activity" : ["id", "title"]
}
},
ちなみに、FireBug使った。
.
0 コメント:
コメントを投稿