From 15f4e775c39eefa2ef76cbea177d5bd3426d2efe Mon Sep 17 00:00:00 2001 From: prvn16 Date: Sun, 3 Apr 2016 14:31:28 +0900 Subject: [PATCH 1/4] Built sites.py to handle all sites request --- samples/__init__.py | 0 samples/blogger/client_secrets.json | 4 +- samples/sites_api/README | 4 + samples/sites_api/__init__.py | 0 samples/sites_api/calendar.dat | 1 + samples/sites_api/client_secrets.json | 15 + samples/sites_api/sites.py | 563 ++++++++++++++++++++++++++ samples/sites_api/sites_sample.py | 53 +++ 8 files changed, 638 insertions(+), 2 deletions(-) create mode 100644 samples/__init__.py create mode 100644 samples/sites_api/README create mode 100644 samples/sites_api/__init__.py create mode 100644 samples/sites_api/calendar.dat create mode 100644 samples/sites_api/client_secrets.json create mode 100644 samples/sites_api/sites.py create mode 100644 samples/sites_api/sites_sample.py diff --git a/samples/__init__.py b/samples/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/blogger/client_secrets.json b/samples/blogger/client_secrets.json index a232f3799f1..592b4159ece 100644 --- a/samples/blogger/client_secrets.json +++ b/samples/blogger/client_secrets.json @@ -1,7 +1,7 @@ { "web": { - "client_id": "[[INSERT CLIENT ID HERE]]", - "client_secret": "[[INSERT CLIENT SECRET HERE]]", + "client_id": "107361144193-daphid996reudj3una7d52q8dov9u1s6.apps.googleusercontent.com", + "client_secret": "QJqfjEPNnMRIAHMwjtJMc-2_", "redirect_uris": [], "auth_uri": "https://accounts.google.com/o/oauth2/auth", "token_uri": "https://accounts.google.com/o/oauth2/token" diff --git a/samples/sites_api/README b/samples/sites_api/README new file mode 100644 index 00000000000..9376b6bb156 --- /dev/null +++ b/samples/sites_api/README @@ -0,0 +1,4 @@ +Loop over all a user's calendars, printing their titles. + +api: calendar +keywords: cmdline pagination diff --git a/samples/sites_api/__init__.py b/samples/sites_api/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/sites_api/calendar.dat b/samples/sites_api/calendar.dat new file mode 100644 index 00000000000..692cd731259 --- /dev/null +++ b/samples/sites_api/calendar.dat @@ -0,0 +1 @@ +{"_module": "oauth2client.client", "scopes": ["https://www.googleapis.com/auth/calendar.readonly"], "token_expiry": "2016-03-30T11:09:39Z", "id_token": null, "access_token": "ya29.tQLsv8crG1A8z1mv0TJ2rI8ITMVjbAKXzNfXjA7EhnHSqzDGvNVQupsJA7j36k08s4k", "token_uri": "https://accounts.google.com/o/oauth2/token", "invalid": false, "token_response": {"access_token": "ya29.tQLsv8crG1A8z1mv0TJ2rI8ITMVjbAKXzNfXjA7EhnHSqzDGvNVQupsJA7j36k08s4k", "token_type": "Bearer", "expires_in": 3600}, "client_id": "107361144193-daphid996reudj3una7d52q8dov9u1s6.apps.googleusercontent.com", "token_info_uri": "https://www.googleapis.com/oauth2/v3/tokeninfo", "client_secret": "QJqfjEPNnMRIAHMwjtJMc-2_", "revoke_uri": "https://accounts.google.com/o/oauth2/revoke", "_class": "OAuth2Credentials", "refresh_token": "1/eMMlYPOkdCzPw1ht3IEeVnR2-kqekFbSz-pdTI4QVcYMEudVrK5jSpoR30zcRFq6", "user_agent": null} \ No newline at end of file diff --git a/samples/sites_api/client_secrets.json b/samples/sites_api/client_secrets.json new file mode 100644 index 00000000000..c68acdb797d --- /dev/null +++ b/samples/sites_api/client_secrets.json @@ -0,0 +1,15 @@ +{ + "installed": { + "client_id": "107361144193-daphid996reudj3una7d52q8dov9u1s6.apps.googleusercontent.com", + "client_secret": "QJqfjEPNnMRIAHMwjtJMc-2_", + "auth_uri": "https://accounts.google.com/o/oauth2/auth", + "token_uri": "https://accounts.google.com/o/oauth2/token", + "client_email": "", + "redirect_uris": [ + "urn:ietf:wg:oauth:2.0:oob", + "oob" + ], + "client_x509_cert_url": "", + "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs" + } +} diff --git a/samples/sites_api/sites.py b/samples/sites_api/sites.py new file mode 100644 index 00000000000..c1a4e3a4f36 --- /dev/null +++ b/samples/sites_api/sites.py @@ -0,0 +1,563 @@ +#!/usr/bin/python +# +# Copyright 2009 Google Inc. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +__author__ = 'e.bidelman (Eric Bidelman)' + +import getopt +import mimetypes +import os.path +import sys + +import gdata.sample_util +import gdata.sites.client +import gdata.sites.data + + +SOURCE_APP_NAME = 'googleInc-GoogleSitesAPIPythonLibSample-v1.1' +MAIN_MENU = ['1) List site content', + '2) List recent activity', + '3) List revision history', + '4) Create webpage', + '5) Create web attachment', + '6) Upload attachment', + '7) Download attachment', + '8) Delete item', + '9) List sites', + '10) Create a new site', + "11) List site's sharing permissions", + '12) Change settings', + '13) Exit'] +SETTINGS_MENU = ['1) Change current site.', + '2) Change domain.'] + + + + +def runSample () : + site = "sumpurn-en" + domain = "sumpurn.com" + debug = True + + sample = SitesManipulator(site, domain, debug=debug) + sample.Run() + + +#========================================================================== + +class SitesManipulator(object): + """Wrapper around the Sites API functionality.""" + + def __init__(self, site_name=None, site_domain=None, debug=False): + if site_domain is None: + site_domain = self.PromptDomain() + + if site_name is None: + site_name = self.PromptSiteName() + + mimetypes.init() + SCOPE = 'https://sites.google.com/feeds/' + + # Get authenticated token to access sites API + auth2token = getAuth2Token(SCOPE) + + # Create a gdata client + client = gdata.sites.client.SitesClient(source='sites-test', + site='test1', + domain='sumpurn.com', + auth_token=auth2token) + + + + self.client = client + self.client.http_client.debug = debug + + try: + # Authorize it + + auth2token.authorize(client) + except gdata.client.BadAuthentication: + exit('Invalid user credentials given.') + except gdata.client.Error: + exit('Login Error') + + def PrintMainMenu(self): + """Displays a menu of options for the user to choose from.""" + print '\nSites API Sample' + print '================================' + print '\n'.join(MAIN_MENU) + print '================================\n' + + def PrintSettingsMenu(self): + """Displays a menu of settings for the user change.""" + print '\nSites API Sample > Settings' + print '================================' + print '\n'.join(SETTINGS_MENU) + print '================================\n' + + def GetMenuChoice(self, menu): + """Retrieves the menu selection from the user. + + Args: + menu: list The menu to get a selection from. + + Returns: + The integer of the menu item chosen by the user. + """ + max_choice = len(menu) + while True: + user_input = raw_input(': ') + + try: + num = int(user_input) + except ValueError: + continue + + if num <= max_choice and num > 0: + return num + + def PromptSiteName(self): + site_name = '' + while not site_name: + site_name = raw_input('site name: ') + if not site_name: + print 'Please enter the name of your Google Site.' + return site_name + + def PromptDomain(self): + return raw_input(('If your Site is hosted on a Google Apps domain, ' + 'enter it (e.g. example.com): ')) or 'site' + + def GetChoiceSelection(self, feed, message): + for i, entry in enumerate(feed.entry): + print '%d.) %s' % (i + 1, entry.title.text) + choice = 0 + while not choice or not 0 <= choice <= len(feed.entry): + choice = int(raw_input(message)) + print + return choice + + def PrintEntry(self, entry): + print '%s [%s]' % (entry.title.text, entry.Kind()) + if entry.page_name: + print ' page name:\t%s' % entry.page_name.text + if entry.content: + print ' content\t%s...' % str(entry.content.html) + parser.feed(entry.content.html) + + def PrintListItem(self, entry): + print '%s [%s]' % (entry.title.text, entry.Kind()) + for col in entry.field: + print ' %s %s\t%s' % (col.index, col.name, col.text) + + def PrintListPage(self, entry): + print '%s [%s]' % (entry.title.text, entry.Kind()) + for col in entry.data.column: + print ' %s %s' % (col.index, col.name) + + def PrintFileCabinetPage(self, entry): + print '%s [%s]' % (entry.title.text, entry.Kind()) + print ' page name:\t%s' % entry.page_name.text + print ' content\t%s...' % str(entry.content.html)[0:100] + + def PrintAttachment(self, entry): + print '%s [%s]' % (entry.title.text, entry.Kind()) + if entry.summary is not None: + print ' description:\t%s' % entry.summary.text + print ' content\t%s, %s' % (entry.content.type, entry.content.src) + + def PrintWebAttachment(self, entry): + print '%s [%s]' % (entry.title.text, entry.Kind()) + if entry.summary.text is not None: + print ' description:\t%s' % entry.summary.text + print ' content src\t%s' % entry.content.src + + def Run(self): + """Executes the demo application.""" + + try: + while True: + self.PrintMainMenu() + choice = self.GetMenuChoice(MAIN_MENU) + + if choice == 1: + kind_choice = raw_input('What kind (all|%s)?: ' % '|'.join( + gdata.sites.data.SUPPORT_KINDS)) + if kind_choice in gdata.sites.data.SUPPORT_KINDS: + uri = '%s?kind=%s' % (self.client.make_content_feed_uri(), + kind_choice) + feed = self.client.GetContentFeed(uri=uri) + else: + feed = self.client.GetContentFeed() + + print "\nFetching content feed of '%s'...\n" % self.client.site + + for entry in feed.entry: + kind = entry.Kind() + + if kind == 'attachment': + self.PrintAttachment(entry) + elif kind == 'webattachment': + self.PrintWebAttachment(entry) + elif kind == 'filecabinet': + self.PrintFileCabinetPage(entry) + elif kind == 'listitem': + self.PrintListItem(entry) + elif kind == 'listpage': + self.PrintListPage(entry) + else: + self.PrintEntry(entry) + + print ' revision:\t%s' % entry.revision.text + print ' updated:\t%s' % entry.updated.text + + parent_link = entry.FindParentLink() + if parent_link: + print ' parent link:\t%s' % parent_link + + if entry.GetAlternateLink(): + print ' view in Sites:\t%s' % entry.GetAlternateLink().href + + if entry.feed_link: + print ' feed of items:\t%s' % entry.feed_link.href + + if entry.IsDeleted(): + print ' deleted:\t%s' % entry.IsDeleted() + + if entry.in_reply_to: + print ' in reply to:\t%s' % entry.in_reply_to.href + + print + + elif choice == 2: + print "\nFetching activity feed of '%s'..." % self.client.site + feed = self.client.GetActivityFeed() + for entry in feed.entry: + print ' %s [%s on %s]' % (entry.title.text, entry.Kind(), + entry.updated.text) + + elif choice == 3: + print "\nFetching content feed of '%s'...\n" % self.client.site + + feed = self.client.GetContentFeed() + try: + selection = self.GetChoiceSelection( + feed, 'Select a page to fetch revisions for: ') + except TypeError: + continue + except ValueError: + continue + + feed = self.client.GetRevisionFeed( + feed.entry[selection - 1].GetNodeId()) + for entry in feed.entry: + print entry.title.text + print ' new version on:\t%s' % entry.updated.text + print ' view changes:\t%s' % entry.GetAlternateLink().href + print ' current version:\t%s...' % str(entry.content.html)[0:100] + print + + elif choice == 4: + print "\nFetching content feed of '%s'...\n" % self.client.site + + feed = self.client.GetContentFeed() + try: + selection = self.GetChoiceSelection( + feed, 'Select a parent to upload to (or hit ENTER for none): ') + except ValueError: + selection = None + + page_title = raw_input('Enter a page title: ') + + parent = None + if selection is not None: + parent = feed.entry[selection - 1] + + new_entry = self.client.CreatePage( + 'webpage', page_title, 'Your html content', + parent=parent) + if new_entry.GetAlternateLink(): + print 'Created. View it at: %s' % new_entry.GetAlternateLink().href + + elif choice == 5: + print "\nFetching filecabinets on '%s'...\n" % self.client.site + + uri = '%s?kind=%s' % (self.client.make_content_feed_uri(), + 'filecabinet') + feed = self.client.GetContentFeed(uri=uri) + + selection = self.GetChoiceSelection( + feed, 'Select a filecabinet to create the web attachment on: ') + + url = raw_input('Enter the URL of the attachment: ') + content_type = raw_input("Enter the attachment's mime type: ") + title = raw_input('Enter a title for the web attachment: ') + description = raw_input('Enter a description: ') + + parent_entry = None + if selection is not None: + parent_entry = feed.entry[selection - 1] + + self.client.CreateWebAttachment(url, content_type, title, + parent_entry, description=description) + print 'Created!' + + elif choice == 6: + print "\nFetching filecainets on '%s'...\n" % self.client.site + + uri = '%s?kind=%s' % (self.client.make_content_feed_uri(), + 'filecabinet') + feed = self.client.GetContentFeed(uri=uri) + + selection = self.GetChoiceSelection( + feed, 'Select a filecabinet to upload to: ') + + filepath = raw_input('Enter a filename: ') + page_title = raw_input('Enter a title for the file: ') + description = raw_input('Enter a description: ') + + filename = os.path.basename(filepath) + file_ex = filename[filename.rfind('.'):] + if not file_ex in mimetypes.types_map: + content_type = raw_input( + 'Unrecognized file extension. Please enter the mime type: ') + else: + content_type = mimetypes.types_map[file_ex] + + entry = None + if selection is not None: + entry = feed.entry[selection - 1] + + new_entry = self.client.UploadAttachment( + filepath, entry, content_type=content_type, title=page_title, + description=description) + print 'Uploaded. View it at: %s' % new_entry.GetAlternateLink().href + + elif choice == 7: + print "\nFetching all attachments on '%s'...\n" % self.client.site + + uri = '%s?kind=%s' % (self.client.make_content_feed_uri(), + 'attachment') + feed = self.client.GetContentFeed(uri=uri) + + selection = self.GetChoiceSelection( + feed, 'Select an attachment to download: ') + + filepath = raw_input('Save as: ') + + entry = None + if selection is not None: + entry = feed.entry[selection - 1] + + self.client.DownloadAttachment(entry, filepath) + print 'Downloaded.' + + elif choice == 8: + print "\nFetching content feed of '%s'...\n" % self.client.site + + feed = self.client.GetContentFeed() + selection = self.GetChoiceSelection(feed, 'Select a page to delete: ') + + entry = None + if selection is not None: + entry = feed.entry[selection - 1] + + self.client.Delete(entry) + print 'Removed!' + + elif choice == 9: + print ('\nFetching your list of sites for domain: %s...\n' + % self.client.domain) + + feed = self.client.GetSiteFeed() + for entry in feed.entry: + print entry.title.text + print ' site name: ' + entry.site_name.text + if entry.summary.text: + print ' summary: ' + entry.summary.text + if entry.FindSourceLink(): + print ' copied from site: ' + entry.FindSourceLink() + print ' acl feed: %s\n' % entry.FindAclLink() + + elif choice == 10: + title = raw_input('Enter a title: ') + summary = raw_input('Enter a description: ') + theme = raw_input('Theme name (ex. "default"): ') + + new_entry = self.client.CreateSite( + title, description=summary, theme=theme) + print 'Site created! View it at: ' + new_entry.GetAlternateLink().href + + elif choice == 11: + print "\nFetching acl permissions of '%s'...\n" % self.client.site + + feed = self.client.GetAclFeed() + for entry in feed.entry: + print '%s (%s) - %s' % (entry.scope.value, entry.scope.type, + entry.role.value) + + elif choice == 12: + self.PrintSettingsMenu() + settings_choice = self.GetMenuChoice(SETTINGS_MENU) + + if settings_choice == 1: + self.client.site = self.PromptSiteName() + elif settings_choice == 2: + self.client.domain = self.PromptDomain() + + elif choice == 13: + print 'Later!\n' + return + + except gdata.client.RequestError, error: + print error + except KeyboardInterrupt: + return + + + +#=========================================================================== + +from oauth2client.client import flow_from_clientsecrets +from oauth2client.file import Storage +#from oauth2client.tools import run + +import gdata.sites.client +import gdata.sites.data + +from oauth2client import tools + +def getAuth2Token(scope) : + #Authenticate client + # How to use the OAuth 2.0 client is described here: + # https://developers.google.com/api-client-library/python/guide/aaa_oauth + + SCOPE = scope + + # client_secrets.json is downloaded from the API console: + # https://code.google.com/apis/console/#project::access + # where is the ID of your project + flow = flow_from_clientsecrets('client_secrets.json', + scope=SCOPE, + redirect_uri='http://localhost') + + storage = Storage('plus.dat') + credentials = storage.get() + + if credentials is None or credentials.invalid: + credentials = tools.run_flow(flow, storage) + + # Munge the data in the credentials into a gdata OAuth2Token + # This is based on information in this blog post: + # https://groups.google.com/forum/m/#!msg/google-apps-developer-blog/1pGRCivuSUI/3EAIioKp0-wJ + + auth2token = gdata.gauth.OAuth2Token(client_id=credentials.client_id, + client_secret=credentials.client_secret, + scope=SCOPE, + access_token=credentials.access_token, + refresh_token=credentials.refresh_token, + user_agent='sites-test/1.0') + return(auth2token) + + +#============================================================================= +def showSiteContents(): + SCOPE = 'https://sites.google.com/feeds/' + + # Get authenticated token to access sites API + auth2token = getAuth2Token(SCOPE) + + # Create a gdata client + client = gdata.sites.client.SitesClient(source='sites-test', + #site='sumpurn-en', + domain='sumpurn.com', + auth_token=auth2token) + + # Authorize it + + auth2token.authorize(client) + + # Call an API e.g. to get the site content feed + + #feed = client.GetContentFeed() + listOfSites = client.GetSiteFeed() + + print(client.site) + #for entry in feed.entry: + # print '%s [%s]' % (entry.title.text, entry.Kind()) + + import re + import inspect + + for entry in listOfSites.entry: + print(inspect.getmembers(entry)) + print (entry.title.text,"=====\n","type=",type(entry),entry.site_name.text) + #Entry is of type : gdata.sites.data.SiteEntry + + #gdata.sites.client.SitesClient + #gdata.sites.client.data + + #for k in entry : print(k,"=",entry[k]) + + line=entry.link[0].href + print("line=>",line) + #matchObj = re.match( r'(.*)/(.*)/', line, re.M|re.I) + + #print(matchObj.group(),"=>",matchObj.group(1),"=>",matchObj.group(2)) + + #client.site = matchObj.group(2) + client.site = entry.site_name.text + + print("=========",client.site) + listOfContents = client.GetContentFeed() + for content in listOfContents.entry : + print '%s [%s]' % (content.title.text, content.Kind()) + +# See: +# https://developers.google.com/google-apps/sites/docs/1.0/developers_guide_python +# for more details of the Sites API + +from HTMLParser import HTMLParser +from htmlentitydefs import name2codepoint + +class MyHTMLParser(HTMLParser): + def handle_starttag(self, tag, attrs): + print "Start tag:", tag + for attr in attrs: + print " attr:", attr + def handle_endtag(self, tag): + print "End tag :", tag + def handle_data(self, data): + print "Data :", data + def handle_comment(self, data): + print "Comment :", data + def handle_entityref(self, name): + c = unichr(name2codepoint[name]) + print "Named ent:", c + def handle_charref(self, name): + if name.startswith('x'): + c = unichr(int(name[1:], 16)) + else: + c = unichr(int(name)) + print "Num ent :", c + def handle_decl(self, data): + print "Decl :", data + +parser = MyHTMLParser() + +if __name__ == '__main__': + runSample() + #showSiteContents() \ No newline at end of file diff --git a/samples/sites_api/sites_sample.py b/samples/sites_api/sites_sample.py new file mode 100644 index 00000000000..dd9c19ad859 --- /dev/null +++ b/samples/sites_api/sites_sample.py @@ -0,0 +1,53 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Copyright 2014 Google Inc. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +"""Simple command-line sample for the Calendar API. +Command-line application that retrieves the list of the user's calendars.""" + +import sys + +from oauth2client import client +from googleapiclient import sample_tools + + +def main(argv): + # Authenticate and construct service. + service, flags = sample_tools.init( + argv, 'calendar', 'v3', __doc__, __file__, + scope='https://www.googleapis.com/auth/calendar.readonly') + + service.calendarList() + try: + page_token = None + print("List of calenders in this account") + + while True: + calendar_list = service.calendarList().list( + pageToken=page_token).execute() + for calendar_list_entry in calendar_list['items']: + print(calendar_list_entry['summary'],"----") + print("===============") + page_token = calendar_list.get('nextPageToken') + if not page_token: + break + + except client.AccessTokenRefreshError: + print('The credentials have been revoked or expired, please re-run' + 'the application to re-authorize.') + +if __name__ == '__main__': + main(sys.argv) From a470989f075bbb37f2627b7d25b6ebdf5a25f4a5 Mon Sep 17 00:00:00 2001 From: prvn16 Date: Sun, 3 Apr 2016 14:32:20 +0900 Subject: [PATCH 2/4] Built sites.py to handle all sites request --- samples/analytics/client_secrets.json | 4 ++-- samples/audit/client_secrets.json | 4 ++-- samples/calendar_api/calendar_sample.py | 5 ++++- samples/calendar_api/client_secrets.json | 4 ++-- samples/coordinate/client_secrets.json | 4 ++-- samples/django_sample/client_secrets.json | 4 ++-- 6 files changed, 14 insertions(+), 11 deletions(-) diff --git a/samples/analytics/client_secrets.json b/samples/analytics/client_secrets.json index 323ffd002dd..6536fd6922e 100644 --- a/samples/analytics/client_secrets.json +++ b/samples/analytics/client_secrets.json @@ -1,7 +1,7 @@ { "installed": { - "client_id": "[[INSERT CLIENT ID HERE]]", - "client_secret": "[[INSERT CLIENT SECRET HERE]]", + "client_id": "107361144193-daphid996reudj3una7d52q8dov9u1s6.apps.googleusercontent.com", + "client_secret": "QJqfjEPNnMRIAHMwjtJMc-2_", "redirect_uris": [], "auth_uri": "https://accounts.google.com/o/oauth2/auth", "token_uri": "https://accounts.google.com/o/oauth2/token" diff --git a/samples/audit/client_secrets.json b/samples/audit/client_secrets.json index a232f3799f1..592b4159ece 100644 --- a/samples/audit/client_secrets.json +++ b/samples/audit/client_secrets.json @@ -1,7 +1,7 @@ { "web": { - "client_id": "[[INSERT CLIENT ID HERE]]", - "client_secret": "[[INSERT CLIENT SECRET HERE]]", + "client_id": "107361144193-daphid996reudj3una7d52q8dov9u1s6.apps.googleusercontent.com", + "client_secret": "QJqfjEPNnMRIAHMwjtJMc-2_", "redirect_uris": [], "auth_uri": "https://accounts.google.com/o/oauth2/auth", "token_uri": "https://accounts.google.com/o/oauth2/token" diff --git a/samples/calendar_api/calendar_sample.py b/samples/calendar_api/calendar_sample.py index 60c7e72ce6a..eaee49b94af 100644 --- a/samples/calendar_api/calendar_sample.py +++ b/samples/calendar_api/calendar_sample.py @@ -32,11 +32,14 @@ def main(argv): try: page_token = None + print("List of calenders in this account") + while True: calendar_list = service.calendarList().list( pageToken=page_token).execute() for calendar_list_entry in calendar_list['items']: - print(calendar_list_entry['summary']) + print(calendar_list_entry['summary'],"----") + print("===============") page_token = calendar_list.get('nextPageToken') if not page_token: break diff --git a/samples/calendar_api/client_secrets.json b/samples/calendar_api/client_secrets.json index da828e92336..c68acdb797d 100644 --- a/samples/calendar_api/client_secrets.json +++ b/samples/calendar_api/client_secrets.json @@ -1,7 +1,7 @@ { "installed": { - "client_id": "[[INSERT CLIENT ID HERE]]", - "client_secret": "[[INSERT CLIENT SECRET HERE]]", + "client_id": "107361144193-daphid996reudj3una7d52q8dov9u1s6.apps.googleusercontent.com", + "client_secret": "QJqfjEPNnMRIAHMwjtJMc-2_", "auth_uri": "https://accounts.google.com/o/oauth2/auth", "token_uri": "https://accounts.google.com/o/oauth2/token", "client_email": "", diff --git a/samples/coordinate/client_secrets.json b/samples/coordinate/client_secrets.json index a797bf43a41..84237acf4db 100644 --- a/samples/coordinate/client_secrets.json +++ b/samples/coordinate/client_secrets.json @@ -1,7 +1,7 @@ { "web": { - "client_id": "[[INSERT CLIENT ID HERE]]", - "client_secret": "[[INSERT CLIENT SECRET HERE]]", + "client_id": "107361144193-daphid996reudj3una7d52q8dov9u1s6.apps.googleusercontent.com", + "client_secret": "QJqfjEPNnMRIAHMwjtJMc-2_", "redirect_uris": [], "auth_uri": "https://accounts.google.com/o/oauth2/auth", "token_uri": "https://accounts.google.com/o/oauth2/token" diff --git a/samples/django_sample/client_secrets.json b/samples/django_sample/client_secrets.json index a232f3799f1..592b4159ece 100644 --- a/samples/django_sample/client_secrets.json +++ b/samples/django_sample/client_secrets.json @@ -1,7 +1,7 @@ { "web": { - "client_id": "[[INSERT CLIENT ID HERE]]", - "client_secret": "[[INSERT CLIENT SECRET HERE]]", + "client_id": "107361144193-daphid996reudj3una7d52q8dov9u1s6.apps.googleusercontent.com", + "client_secret": "QJqfjEPNnMRIAHMwjtJMc-2_", "redirect_uris": [], "auth_uri": "https://accounts.google.com/o/oauth2/auth", "token_uri": "https://accounts.google.com/o/oauth2/token" From 94e27c2ff2192373f0163d095107e0f113422ab8 Mon Sep 17 00:00:00 2001 From: Praveen Date: Sun, 26 Jun 2016 23:23:17 +0900 Subject: [PATCH 3/4] Shift to Thinkpad stage as changes were in local lenovo tablet --- samples/sites_api/sites.py | 385 ++++++++++++++++++++++++++++++++++++- samples/sites_api/test.py | 6 + 2 files changed, 381 insertions(+), 10 deletions(-) create mode 100644 samples/sites_api/test.py diff --git a/samples/sites_api/sites.py b/samples/sites_api/sites.py index c1a4e3a4f36..4a335f7af3a 100644 --- a/samples/sites_api/sites.py +++ b/samples/sites_api/sites.py @@ -17,14 +17,29 @@ __author__ = 'e.bidelman (Eric Bidelman)' -import getopt import mimetypes import os.path -import sys +import pprint import gdata.sample_util import gdata.sites.client import gdata.sites.data +import html +from bs4 import BeautifulSoup + +from string import Template + + +import sys +import os.path +sys.path.insert(0, "./samples") + +from samples.sites_api.googleTemplates import * +from samples.sites_api.googleTemplates import param0 +import googleTemplates + +import re + SOURCE_APP_NAME = 'googleInc-GoogleSitesAPIPythonLibSample-v1.1' @@ -44,7 +59,62 @@ SETTINGS_MENU = ['1) Change current site.', '2) Change domain.'] +def publishWeb (site= "sumpurn-en",domain= "sumpurn.com",debug = True) : + f = open('googleTemplates.py', 'r') # Past stored templates + + sample = SitesManipulator(site, domain, debug=debug) + + # Create the following to start the web page on google sites + _webpage = ''' +
+ + + + + +
+
+
+ ''' + + webpage = BeautifulSoup(_webpage) + tdwebpage = webpage.div.table.tbody.tr.td + + for count in range(10) : + _myTemplate = eval("Template" + str(count)) + _myparam = eval("param"+str(count)) + _newhtml = BeautifulSoup(_myTemplate) + ___template = Template(_newhtml.prettify()).safe_substitute(_myparam) + + newheading = webpage.new_tag("h3") + newheading.append("Substituted Template:") + tdwebpage.append(newheading) + newtag = webpage.new_tag("div") + newtag.append(BeautifulSoup(___template)) + + + #tdwebpage.append(newtag) + if count not in [2, 10]: + tdwebpage.append(newtag) + + path = '/templates' + + print 'Fetching page by its path: ' + path + uri = '%s?path=%s' % (sample.client.MakeContentFeedUri(), path) + feed = sample.client.GetContentFeed(uri=uri) + old_entry = feed.entry[0] + # Update the listpage's title, html content, and first column's name. + old_entry.title.text = 'Updated Title' + # old_entry.content.html = str(mypage)+webpage.prettify().encode("utf-8") + old_entry.content.html = webpage.encode("utf8") + # old_entry.data.column[0].name = 'Owner' + + # You can also change the page's webspace page name on an update. + # old_entry.page_name = 'new-page-path' + + updated_entry = sample.client.Update(old_entry) + print 'List page updated!' def runSample () : @@ -53,7 +123,145 @@ def runSample () : debug = True sample = SitesManipulator(site, domain, debug=debug) - sample.Run() + sample.Run() # On return it has read a page and built the templates from the page + + #parser.saveSite("siteTemplates.json") + mytemplates = sample.mytemplates + sub_mytemplates = sample.sub_mytemplates + + f = open('googleTemplates.py', 'r') # Past stored templates + _f = open('_googleTemplates.py', 'w') # Newly generated templates + + #Create the following to start the web page on google sites + _webpage = ''' +
+ + + + + +
+
+
+ ''' + + webpage = BeautifulSoup(_webpage) + tdwebpage = webpage.div.table.tbody.tr.td + + _img = webpage.new_tag("img",src="https://www.google.co.jp/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png") + + tdwebpage.append(_img) + + count = 0 + for ii in sorted(mytemplates.keys()): + print(mytemplates[ii]) + if count <= 15: + print("count=",count) + + myhtml = str(mytemplates[ii]).replace("html:", "") # for BeautifulSoup + myparams = sample.mytemplatesParams[ii] + soup = BeautifulSoup(myhtml, 'html.parser') + + _prettyHTML = soup.prettify() + prettyHTML = _prettyHTML.encode('utf8') + + sub_myhtml = str(sub_mytemplates[ii]).replace("html:", "") # for BeautifulSoup + sub_soup = BeautifulSoup(sub_myhtml, 'html.parser') + + _sub_prettyHTML = sub_soup.prettify() + sub_prettyHTML = _sub_prettyHTML.encode("utf-8") + + _fmyparams=pprint.PrettyPrinter(indent=4,width=20).pformat(myparams) + _fmyhtml = pprint.PrettyPrinter(indent=4, width=20).pformat(myhtml) + + _f.write("# This Python file uses the following encoding: utf-8\n") + _f.write("param"+str(count) + " = " + _fmyparams +"\n\n") + _f.write("_template" + str(count) + "= '''\n" + _fmyhtml + "\n'''\n\n") + _f.write("template"+str(count) + "= '''\n"+prettyHTML+"\n'''\n\n") + _f.write("Template" + str(count) + "= '''\n" + sub_prettyHTML + "\n'''\n\n") + + if 2 > 1 : + _mytemplate = eval("template"+str(count)) + _newtag = BeautifulSoup(_mytemplate) + + _myTemplate = eval("Template" + str(count)) + _newhtml = BeautifulSoup(_myTemplate) + + newheading = webpage.new_tag("h3") + newheading.append("Params:") + tdwebpage.append(newheading) + newpre = webpage.new_tag("pre") + newpre.append(_fmyparams) + tdwebpage.append(newpre) + + newheading = webpage.new_tag("h3") + newheading.append("Template:") + tdwebpage.append(newheading) + newpre = webpage.new_tag("pre") + newpre.append(prettyHTML) + tdwebpage.append(newpre) + + newheading = webpage.new_tag("h3") + newheading.append("Substituted Template:") + tdwebpage.append(newheading) + newpre = webpage.new_tag("pre") + newpre.append(sub_prettyHTML) + tdwebpage.append(newpre) + + + tdwebpage.append(_newtag) # Add the html code for the template + + newheading = webpage.new_tag("h3") + newheading.append("Substituted Template-2:") + tdwebpage.append(newheading) + newpre = webpage.new_tag("pre") + ___template = Template(_newhtml.prettify()).safe_substitute(myparams) + newpre.append(___template) + tdwebpage.append(newpre) + + #tdwebpage.append(BeautifulSoup(___template)) + + newheading = webpage.new_tag("h3") + newheading.append("Substituted Template-2 for html:") + tdwebpage.append(newheading) + newpre = webpage.new_tag("div") + newpre.append(BeautifulSoup(___template)) + if count not in [2,10]: + tdwebpage.append(newpre) + + #tdwebpage.append(___template) + else : + _newtag = webpage.new_tag("h3") + _newtag.append("SKIPPED " + str(count)) + tdwebpage.append(_newtag) + else : + print("Skipped Count",count) + + count += 1 + + f.close() + _f.close() + + path = '/mytemplates2' + + + + print 'Fetching page by its path: ' + path + uri = '%s?path=%s' % (sample.client.MakeContentFeedUri(), path) + feed = sample.client.GetContentFeed(uri=uri) + old_entry = feed.entry[0] + # Update the listpage's title, html content, and first column's name. + old_entry.title.text = 'Updated Title' + #old_entry.content.html = str(mypage)+webpage.prettify().encode("utf-8") + old_entry.content.html = str(webpage) + #old_entry.data.column[0].name = 'Owner' + + # You can also change the page's webspace page name on an update. + # old_entry.page_name = 'new-page-path' + + updated_entry = sample.client.Update(old_entry) + print 'List page updated!' + #========================================================================== @@ -62,6 +270,10 @@ class SitesManipulator(object): """Wrapper around the Sites API functionality.""" def __init__(self, site_name=None, site_domain=None, debug=False): + self.mytemplates = {} + self.sub_mytemplates = {} + self.mytemplatesParams = {} + if site_domain is None: site_domain = self.PromptDomain() @@ -150,13 +362,50 @@ def GetChoiceSelection(self, feed, message): print return choice + def extractParameters(self,html,htmlname,params): + # type: (object, object, object) -> object + _myattributes ={} + _params = {} + if (len(html)>0): + for _html in html : + if _html.name : + _htmlname = str(_html.name.replace("html:","")) + __htmlname = (htmlname+"_"+_htmlname).replace("-","_") + _myattributes = _html.attrs + + for attr in _myattributes : + _varname = str("$"+__htmlname+"_"+str(attr)).replace("-","_") + _params[_varname[1:]] = ''.join(_myattributes[attr]) #Remove $ start for dictioanary + _html[attr] = _varname + + if _html.children : + _params.update(self.extractParameters(_html.contents,__htmlname,{} )) + else : + _html.string + params.update(_params) + return params + + + def PrintEntry(self, entry): print '%s [%s]' % (entry.title.text, entry.Kind()) if entry.page_name: print ' page name:\t%s' % entry.page_name.text if entry.content: - print ' content\t%s...' % str(entry.content.html) - parser.feed(entry.content.html) + mysoup = BeautifulSoup(str(entry.content.html), 'html.parser') + + if entry.page_name.text == "home" : + for heading in mysoup.find_all("html:h2") : + myname = re.sub(r'.*::T::-|.*TOC-',"",heading.contents[0].attrs["name"]) + + mytemplates = "" + mytemplates = heading.nextSibling + self.mytemplates[myname] = mytemplates + sub_mytemplates=mytemplates.__copy__() #Make a copy of the template + self.sub_mytemplates[myname] = sub_mytemplates + self.mytemplatesParams[myname] = self.extractParameters(sub_mytemplates,myname,{}) + + def PrintListItem(self, entry): print '%s [%s]' % (entry.title.text, entry.Kind()) @@ -499,7 +748,6 @@ def showSiteContents(): #for entry in feed.entry: # print '%s [%s]' % (entry.title.text, entry.Kind()) - import re import inspect for entry in listOfSites.entry: @@ -533,15 +781,130 @@ def showSiteContents(): from HTMLParser import HTMLParser from htmlentitydefs import name2codepoint +import json + class MyHTMLParser(HTMLParser): + + def __init__ (self) : + self.reset() # HTML Parser calls this + self.resetVariables() + self.nlines = None # No. of lines in rawdata. + # Can be computed only after rawdata is set by feed + self.linesMap = None # Indices where the rawdata has line breaks + self.latestName = None + self.htmlTemplates = {} #Discovered templates will be stored here + + def saveSite(self,filename): + output = open(filename, 'wb') + + # Pickle dictionary using protocol 0. + json.dump(self.htmlTemplates, output) + output.close() + + def setLineMap(self): + self.nlines = self.rawdata.count("\n") + self.linesMap = {} + self.linesMap[0] = 0 # line 0 Starts from position 0 + for lineno in range(self.nlines): + startpos = self.linesMap[lineno] + self.linesMap[lineno+1]=self.linesMap[lineno]+\ + self.rawdata.find("\n",startpos+1) + + + + def resetVariables (self) : + self.startedH2 = False + self.endedH2 = False + self.template = "" + self.startedTemplate = False + # self.endedTemplate = False + self.templateStart = None + self.templateEnd = None + self.templateName = None + + + def printVariables(self): + print ("PRINTING VARIABLES") + print("startedH2=",self.startedH2, + "endedH2=",self.endedH2, + "i=",self.i, + "j=",self.j, + "ij_text=",self.rawdata[self.i:self.j+1], + "lineno=",self.lineno, + "nlines=",self.nlines, + "pos=",self.getpos(), + "template=",self.template, + "startedTemplate=",self.startedTemplate, + #"endedTemplate=",self.endedTemplate, + "templateStart=",self.templateStart, + "templateEnd=",self.templateEnd, + "templateName=",self.templateName) + print("linesMap = ",self.linesMap) + print("Tag text is = ", self.get_starttag_text()) + + + def getTemplate(self) : + html = self.rawdata + print("Lines map for =", self.templateName, " is : " , self.linesMap) + print("Template start = ",self.templateStarti,self.templateStart) + print("Template end = ", self.templateEndi,self.templateEnd) + #print("i,j= ",i,j) + #start = self.linesMap[self.templateStart[0]-1]+self.templateStart[1] + #end = self.linesMap[self.templateEnd[0]-1]+self.templateEnd[1] + start = self.templateStarti + end = self.templateEndi + self.htmlTemplates[self.templateName] = html[start:end] + print('Found template :', self.templateName," ::: ",html[start:end]) + + def printTemplate(self): + html = self.rawdata + templateStart = self.getpos() + #start = self.linesMap[templateStart[0] - 1] + templateStart[1] + #end = self.linesMap[self.templateEnd[0] - 1] + self.templateEnd[1] + print('Template starting to end :', html[self.templateStarti:]) + + def handle_starttag(self, tag, attrs): - print "Start tag:", tag + if not self.nlines : self.setLineMap() + print "Start tag:", tag, self.getpos() + self.printVariables() + + for attr in attrs: print " attr:", attr - def handle_endtag(self, tag): + if attr[0] == 'name' : self.latestName = attr[1] + + if not self.startedTemplate and self.endedH2 and not self.startedTemplate: + self.templateStart = self.getpos() # Template has started + self.templateStarti = self.i # Template has started + self.printTemplate() + self.startedTemplate = True + + if tag == 'html:h2': + + if self.templateStart: + self.templateEnd = self.getpos() + self.templateEndi = self.i + #self.printTemplate() + self.getTemplate() # Read the discovered tempalate + self.resetVariables() # Fresh template block started + self.startedH2 = True + + def handle_endtag( + self, tag): print "End tag :", tag + #self.printTemplate() + if tag == 'html:h2': + self.endedH2 = True + self.templateName = self.latestName # Got the template name + + + + def handle_data(self, data): print "Data :", data + #self.latestData = data + def handle_comment(self, data): print "Comment :", data def handle_entityref(self, name): @@ -559,5 +922,7 @@ def handle_decl(self, data): parser = MyHTMLParser() if __name__ == '__main__': - runSample() - #showSiteContents() \ No newline at end of file + #runSample() + publishWeb() + 1 + #showSiteContents()aq \ No newline at end of file diff --git a/samples/sites_api/test.py b/samples/sites_api/test.py new file mode 100644 index 00000000000..71fe38a4ee6 --- /dev/null +++ b/samples/sites_api/test.py @@ -0,0 +1,6 @@ +{"TOC-::T::-Image-file": + "", + "TOC-::T::-Google-Drive-video": + "00000.MTS", + "TOC-::T::-Twitter-follow": "", + "TOC-Recent-Announcements": "", "TOC-An-Image": "isplay:block;text-align:left\">", "TOC-::T::-Image-web-url": "\n", "TOC-::T::-Horizontal-line": "\n\n", "TOC-Recently-updated-files": "\n::T:: Lists items", "TOC-::T::-Google-map": "@park西葛西駐車場@park西葛西駐車場", "TOC-::T::-Google-Calendar": "", "TOC-::T::-Google-presentation": "Uncanny Vision seminar 2014-07-24 FInalUncanny Vision seminar 2014-07-24 FInal::T:: Google chart\nGoogle Chartdocument.getElementById('form2085046611').submit();", "TOC-::T::-Text-item": "Benefits\n\n\n\n\n kkkk hello  \n    \n    \n     I am doing greate !!! Use seeting to write in thComputer Vision:::T:: HTML boxThis is my NEWsites.caja.run(\"{___.loadModule({\\'instantiate\\':function(___,IMPORTS___){return},\\'cajolerName\\':\\'com.google.caja\\',\\'cajolerVersion\\':\\'v6007-es53-5-gdf6d231\\',\\'cajoledDate\\':1461495016926})}\", \"__cajaGadgetContainer__0\");", "TOC-::T::-Recent-posts": "", "TOC-::T::-Table-of-contents": "\nContents1 2 3 4 5 6 7 8 9 10 10.1 11 12 13 14 15 16 ", "TOC-::T::-Link-sites-page": "yyyy", "TOC-::T::-Subpage-listing": ""} \ No newline at end of file From af25037a78f1c3e3bd9a8abb0c24e1752fb736f4 Mon Sep 17 00:00:00 2001 From: Praveen Date: Sat, 2 Jul 2016 21:11:16 +0900 Subject: [PATCH 4/4] Shift to Thinkpad stage as changes were in local lenovo tablet --- samples/sites_api/__googleTemplates.py | 31 + samples/sites_api/_googleTemplates.py | 1729 ++++++++++++++++++++++++ samples/sites_api/googleTemplates.py | 1729 ++++++++++++++++++++++++ samples/sites_api/installPackages.py | 5 + samples/sites_api/plus.dat | 1 + samples/sites_api/siteTemplates.json | 1 + samples/sites_api/temp.py | 9 + 7 files changed, 3505 insertions(+) create mode 100644 samples/sites_api/__googleTemplates.py create mode 100644 samples/sites_api/_googleTemplates.py create mode 100644 samples/sites_api/googleTemplates.py create mode 100644 samples/sites_api/installPackages.py create mode 100644 samples/sites_api/plus.dat create mode 100644 samples/sites_api/siteTemplates.json create mode 100644 samples/sites_api/temp.py diff --git a/samples/sites_api/__googleTemplates.py b/samples/sites_api/__googleTemplates.py new file mode 100644 index 00000000000..4cb8d3f5e45 --- /dev/null +++ b/samples/sites_api/__googleTemplates.py @@ -0,0 +1,31 @@ +# This Python file uses the following encoding: utf-8 +param0 = { 'Google_Calendar_a_name': u'TOC-1', + 'Google_Calendar_img_class': u'igm', + 'Google_Calendar_img_data_igsrc': u'http://48.gmodules.com/ig/ifr?mid=48&synd=trogedit&url=http%3A%2F%2Fwww.google.com%2Fig%2Fmodules%2Fcalendar3.xml&up_calendarFeeds=&up_calendarColors=&up_showDatepicker=true&up_showEmptyDays=0&up_showExpiredEvents=1&h=447&w=100%25', + 'Google_Calendar_img_data_props': u'align:left;borderTitle:Google Calendar;height:447;igsrc:http#58//48.gmodules.com/ig/ifr?mid=48&synd=trogedit&url=http%3A%2F%2Fwww.google.com%2Fig%2Fmodules%2Fcalendar3.xml&up_calendarFeeds=&up_calendarColors=&up_showDatepicker=true&up_showEmptyDays=0&up_showExpiredEvents=1&h=447&w=100%25;mid:48;scrolling:auto;showBorder:true;showBorderTitle:true;spec:http#58//www.google.com/ig/modules/calendar3.xml;up_calendarColors:;up_calendarFeeds:;up_showDatepicker:true;up_showEmptyDays:0;up_showExpiredEvents:1;view:default;width:100%;', + 'Google_Calendar_img_data_type': u'ggs-gadget', + 'Google_Calendar_img_height': u'447', + 'Google_Calendar_img_src': u"http://www.google.com/chart?chc=sites&cht=d&chdp=sites&chl=%5B%5BGoogle+Gadget'%3D20'f%5Cv'a%5C%3D0'10'%3D499'0'dim'%5Cbox1'b%5CF6F6F6'fC%5CF6F6F6'eC%5C0'sk'%5C%5B%22Google+Calendar%22'%5D'a%5CV%5C%3D12'f%5C%5DV%5Cta%5C%3D10'%3D0'%3D500'%3D444'dim'%5C%3D10'%3D10'%3D500'%3D444'vdim'%5Cbox1'b%5Cva%5CF6F6F6'fC%5CC8C8C8'eC%5C'a%5C%5Do%5CLauto'f%5C&sig=yXjWfvYxwA5AfvxuSLcNGkzRVGY", + 'Google_Calendar_img_style': u'display:block;text-align:left;margin-right:auto;', + 'Google_Calendar_img_width': u'500'} + +_template0= ''' +'

' +''' + +template0= ''' +

+ + + +

+''' + +Template0= ''' +

+ + + +

+''' + diff --git a/samples/sites_api/_googleTemplates.py b/samples/sites_api/_googleTemplates.py new file mode 100644 index 00000000000..8b1ab1c960a --- /dev/null +++ b/samples/sites_api/_googleTemplates.py @@ -0,0 +1,1729 @@ +# This Python file uses the following encoding: utf-8 +param0 = { 'Google_Calendar_a_name': u'TOC-1', + 'Google_Calendar_img_class': u'igm', + 'Google_Calendar_img_data_igsrc': u'http://48.gmodules.com/ig/ifr?mid=48&synd=trogedit&url=http%3A%2F%2Fwww.google.com%2Fig%2Fmodules%2Fcalendar3.xml&up_calendarFeeds=&up_calendarColors=&up_showDatepicker=true&up_showEmptyDays=0&up_showExpiredEvents=1&h=447&w=100%25', + 'Google_Calendar_img_data_props': u'align:left;borderTitle:Google Calendar;height:447;igsrc:http#58//48.gmodules.com/ig/ifr?mid=48&synd=trogedit&url=http%3A%2F%2Fwww.google.com%2Fig%2Fmodules%2Fcalendar3.xml&up_calendarFeeds=&up_calendarColors=&up_showDatepicker=true&up_showEmptyDays=0&up_showExpiredEvents=1&h=447&w=100%25;mid:48;scrolling:auto;showBorder:true;showBorderTitle:true;spec:http#58//www.google.com/ig/modules/calendar3.xml;up_calendarColors:;up_calendarFeeds:;up_showDatepicker:true;up_showEmptyDays:0;up_showExpiredEvents:1;view:default;width:100%;', + 'Google_Calendar_img_data_type': u'ggs-gadget', + 'Google_Calendar_img_height': u'447', + 'Google_Calendar_img_src': u"http://www.google.com/chart?chc=sites&cht=d&chdp=sites&chl=%5B%5BGoogle+Gadget'%3D20'f%5Cv'a%5C%3D0'10'%3D499'0'dim'%5Cbox1'b%5CF6F6F6'fC%5CF6F6F6'eC%5C0'sk'%5C%5B%22Google+Calendar%22'%5D'a%5CV%5C%3D12'f%5C%5DV%5Cta%5C%3D10'%3D0'%3D500'%3D444'dim'%5C%3D10'%3D10'%3D500'%3D444'vdim'%5Cbox1'b%5Cva%5CF6F6F6'fC%5CC8C8C8'eC%5C'a%5C%5Do%5CLauto'f%5C&sig=yXjWfvYxwA5AfvxuSLcNGkzRVGY", + 'Google_Calendar_img_style': u'display:block;text-align:left;margin-right:auto;', + 'Google_Calendar_img_width': u'500'} + +_template0= ''' +'

' +''' + +template0= ''' +

+ + + +

+''' + +Template0= ''' +

+ + + +

+''' + +# This Python file uses the following encoding: utf-8 +param1 = { 'Google_Drive_video_div_class': u'sites-embed-align-left-wrapping-off', + 'Google_Drive_video_div_div_class': u'sites-embed-border-onsites-embed', + 'Google_Drive_video_div_div_div_class': u'sites-embed-contentsites-embed-type-docs-video', + 'Google_Drive_video_div_div_div_iframe_allowfullscreen': u'true', + 'Google_Drive_video_div_div_div_iframe_frameborder': u'0', + 'Google_Drive_video_div_div_div_iframe_height': u'265', + 'Google_Drive_video_div_div_div_iframe_src': u'https://docs.google.com/file/d/0B1jmzsgV7AJ7RUJ0Y1ZCYmozN0U/preview', + 'Google_Drive_video_div_div_div_iframe_width': u'425', + 'Google_Drive_video_div_div_h4_class': u'sites-embed-title', + 'Google_Drive_video_div_div_style': u'width:425px;'} + +_template1= ''' +'

00000.MTS

' +''' + +template1= ''' +
+
+
+

+ 00000.MTS +

+
+ +
+
+
+
+''' + +Template1= ''' +
+
+
+

+ 00000.MTS +

+
+ +
+
+
+
+''' + +# This Python file uses the following encoding: utf-8 +param2 = { 'Google_chart_div_class': u'sites-embed-align-left-wrapping-off', + 'Google_chart_div_div_class': u'sites-embed-border-onsites-embed', + 'Google_chart_div_div_div_class': u'sites-embed-contentsites-embed-type-gviz-chart', + 'Google_chart_div_div_div_div_class': u'sites-ritz-gviz-chart', + 'Google_chart_div_div_div_div_form_action': u'https://docs.google.com/a/sumpurn.com/spreadsheets/d/17faB_iTfqSfBncM9KJYNxSJ8bGV8vwBe7-K-MXPfC-c/gviz/chartiframe', + 'Google_chart_div_div_div_div_form_class': u'sites-iframe-gviz-form', + 'Google_chart_div_div_div_div_form_id': u'form1341490042', + 'Google_chart_div_div_div_div_form_input_name': u'spec', + 'Google_chart_div_div_div_div_form_input_type': u'hidden', + 'Google_chart_div_div_div_div_form_input_value': u'{"view":{"columns":[0,{"label":"","properties":{"role":"annotation"},"sourceColumn":1},{"label":"","properties":{"role":"annotationText"},"sourceColumn":2},{"label":"","properties":{"role":"annotationText"},"sourceColumn":3}]},"dataSourceUrl":"https://docs.google.com/a/sumpurn.com/spreadsheets/d/17faB_iTfqSfBncM9KJYNxSJ8bGV8vwBe7-K-MXPfC-c/edit?usp\\u003ddrive_web\\u0026headers\\u003d0","chartName":"Google Chart","options":{"hAxis":{"useFormatFromData":true,"minValue":null,"maxValue":null,"viewWindow":{"min":null,"max":null}},"vAxes":[{"useFormatFromData":true,"minValue":null,"maxValue":null,"viewWindow":{"min":null,"max":null}},{"useFormatFromData":true,"minValue":null,"maxValue":null,"viewWindow":{"min":null,"max":null}}],"width":"600","annotations":{"domain":{"style":"line"}},"booleanRole":"certainty","height":"371"},"chartType":"Table","state":{},"isDefaultVisualization":true}', + 'Google_chart_div_div_div_div_form_method': u'post', + 'Google_chart_div_div_div_div_form_target': u'iframe1341490042', + 'Google_chart_div_div_div_div_iframe_frameborder': u'0', + 'Google_chart_div_div_div_div_iframe_height': u'371', + 'Google_chart_div_div_div_div_iframe_id': u'iframe1341490042', + 'Google_chart_div_div_div_div_iframe_name': u'iframe1341490042', + 'Google_chart_div_div_div_div_iframe_scrolling': u'no', + 'Google_chart_div_div_div_div_iframe_src': u'javascript:void(0);', + 'Google_chart_div_div_div_div_iframe_title': u'Google Chart', + 'Google_chart_div_div_div_div_iframe_width': u'600', + 'Google_chart_div_div_div_div_script_type': u'text/javascript', + 'Google_chart_div_div_div_div_style': u'width:600px;height:371px;', + 'Google_chart_div_div_h4_class': u'sites-embed-title', + 'Google_chart_div_div_style': u'width:600px;'} + +_template2= ''' +'

Google Chart

' +''' + +template2= ''' +
+
+
+

+ Google Chart +

+
+
+ +
+ +
+ +
+
+
+
+
+''' + +Template2= ''' +
+
+
+

+ Google Chart +

+
+
+ +
+ +
+ +
+
+
+
+
+''' + +# This Python file uses the following encoding: utf-8 +param3 = { 'Google_map_div_class': u'sites-embed-align-left-wrapping-off', + 'Google_map_div_div_class': u'sites-embed-border-onsites-embedsites-embed-full-width', + 'Google_map_div_div_div_class': u'sites-embed-contentsites-embed-type-map', + 'Google_map_div_div_div_iframe_class': u'map_embed', + 'Google_map_div_div_div_iframe_frameborder': u'0', + 'Google_map_div_div_div_iframe_height': u'500', + 'Google_map_div_div_div_iframe_scrolling': u'no', + 'Google_map_div_div_div_iframe_src': u'//maps.google.com/?ll=35.66352%2C139.857672&spn=0.070291%2C0.240326&ie=UTF8&z=12&t=roadmap&sll=35.66352%2C139.857672&sspn=0.070291%2C0.240326&q=6%20Chome-9%20Nishikasai%2C%20Edogawa%2C%20Tokyo%20134-0088%2C%20Japan%20(%EF%BC%A0%EF%BD%90%EF%BD%81%EF%BD%92%EF%BD%8B%E8%A5%BF%E8%91%9B%E8%A5%BF%E9%A7%90%E8%BB%8A%E5%A0%B4)&output=embed', + 'Google_map_div_div_div_iframe_title': u'\uff20\uff50\uff41\uff52\uff4b\u897f\u845b\u897f\u99d0\u8eca\u5834', + 'Google_map_div_div_div_iframe_width': u'100%', + 'Google_map_div_div_div_style': u'display:none;', + 'Google_map_div_div_h4_class': u'sites-embed-title', + 'Google_map_div_div_style': u'width:100%;'} + +_template3= ''' +'

\xef\xbc\xa0\xef\xbd\x90\xef\xbd\x81\xef\xbd\x92\xef\xbd\x8b\xe8\xa5\xbf\xe8\x91\x9b\xe8\xa5\xbf\xe9\xa7\x90\xe8\xbb\x8a\xe5\xa0\xb4

' +''' + +template3= ''' +
+
+
+

+ @park西葛西駐車場 +

+ +
+ +
+
+
+
+''' + +Template3= ''' +
+
+
+

+ @park西葛西駐車場 +

+
+ @park西葛西駐車場 +
+
+ +
+
+
+
+''' + +# This Python file uses the following encoding: utf-8 +param4 = { 'Google_presentation_div_class': u'sites-embed-align-left-wrapping-off', + 'Google_presentation_div_div_class': u'sites-embed-border-onsites-embed', + 'Google_presentation_div_div_div_class': u'sites-embed-contentsites-embed-type-punch', + 'Google_presentation_div_div_div_iframe_allowfullscreen': u'true', + 'Google_presentation_div_div_div_iframe_frameborder': u'0', + 'Google_presentation_div_div_div_iframe_height': u'337', + 'Google_presentation_div_div_div_iframe_id': u'1927136250', + 'Google_presentation_div_div_div_iframe_mozallowfullscreen': u'true', + 'Google_presentation_div_div_div_iframe_src': u'http://docs.google.com/presentation/d/1SkGawfOQirgNHc70-cvZibi-Gm97e0qXvbF9I06TCrY/embed?hl=en&size=s', + 'Google_presentation_div_div_div_iframe_title': u'Uncanny Vision seminar 2014-07-24 FInal', + 'Google_presentation_div_div_div_iframe_webkitallowfullscreen': u'true', + 'Google_presentation_div_div_div_iframe_width': u'410', + 'Google_presentation_div_div_div_style': u'display:none;', + 'Google_presentation_div_div_h4_class': u'sites-embed-title', + 'Google_presentation_div_div_style': u'width:410px;'} + +_template4= ''' +'

Uncanny Vision seminar 2014-07-24 FInal

' +''' + +template4= ''' +
+
+
+

+ Uncanny Vision seminar 2014-07-24 FInal +

+ +
+ +
+
+
+
+''' + +Template4= ''' +
+
+
+

+ Uncanny Vision seminar 2014-07-24 FInal +

+
+ Uncanny Vision seminar 2014-07-24 FInal +
+
+ +
+
+
+
+''' + +# This Python file uses the following encoding: utf-8 +param5 = { } + +_template5= ''' +'
\n
' +''' + +template5= ''' +
+
+
+''' + +Template5= ''' +
+
+
+''' + +# This Python file uses the following encoding: utf-8 +param6 = { 'Image_file_img_border': u'0', + 'Image_file_img_src': u'https://sites.google.com/a/sumpurn.com/test1/_/rsrc/1459582458255/home/guitar.png', + 'Image_file_img_style': u'width:100%'} + +_template6= ''' +'' +''' + +template6= ''' + + + +''' + +Template6= ''' + + + +''' + +# This Python file uses the following encoding: utf-8 +param7 = { 'Image_web_url_a_href': u'https://edspace.american.edu/perf683/wp-content/uploads/sites/392/2015/10/robot.png', + 'Image_web_url_a_imageanchor': u'1', + 'Image_web_url_a_img_border': u'0', + 'Image_web_url_a_img_src': u'https://edspace.american.edu/perf683/wp-content/uploads/sites/392/2015/10/robot.png', + 'Image_web_url_a_img_style': u'width:100%', + 'Image_web_url_a_rel': u'nofollow'} + +_template7= ''' +'
' +''' + +template7= ''' + +''' + +Template7= ''' + +''' + +# This Python file uses the following encoding: utf-8 +param8 = { } + +_template8= ''' +'yyyy' +''' + +template8= ''' + + yyyy + +''' + +Template8= ''' + + yyyy + +''' + +# This Python file uses the following encoding: utf-8 +param9 = { } + +_template9= ''' +'' +''' + +template9= ''' + + +''' + +Template9= ''' + + +''' + +# This Python file uses the following encoding: utf-8 +param10 = { 'Recently_updated_files_div_div_div_class': u'sites-embed-align-left-wrapping-off', + 'Recently_updated_files_div_div_div_div_class': u'sites-embed-align-left-wrapping-off', + 'Recently_updated_files_div_div_div_div_div_class': u'sites-embed-border-onsites-embed', + 'Recently_updated_files_div_div_div_div_div_div_class': u'sites-embed-contentsites-embed-type-youtube', + 'Recently_updated_files_div_div_div_div_div_div_div_dir': u'ltr', + 'Recently_updated_files_div_div_div_div_div_div_div_div_font_color': u'#ff0000', + 'Recently_updated_files_div_div_div_div_div_div_div_div_font_size': u'6', + 'Recently_updated_files_div_div_div_div_div_div_div_ol_li_b_i_font_color': u'#ff0000', + 'Recently_updated_files_div_div_div_div_div_div_div_ol_li_b_i_font_table_border': u'1', + 'Recently_updated_files_div_div_div_div_div_div_div_ol_li_b_i_font_table_bordercolor': u'#888', + 'Recently_updated_files_div_div_div_div_div_div_div_ol_li_b_i_font_table_cellspacing': u'0', + 'Recently_updated_files_div_div_div_div_div_div_div_ol_li_b_i_font_table_style': u'border-collapse:collapse;border-color:rgb(136,136,136);border-width:1px', + 'Recently_updated_files_div_div_div_div_div_div_div_ol_li_b_i_font_table_tbody_tr_td_span_style': u'background-color:rgb(255,0,0)', + 'Recently_updated_files_div_div_div_div_div_div_div_ol_li_b_i_font_table_tbody_tr_td_style': u'width:60px', + 'Recently_updated_files_div_div_div_div_div_div_div_ol_li_span_style': u'background-color:rgb(255,255,0)', + 'Recently_updated_files_div_div_div_div_div_div_div_ol_li_style': u'font-weight:bold', + 'Recently_updated_files_div_div_div_div_div_div_form_action': u'https://docs.google.com/a/sumpurn.com/spreadsheets/d/17faB_iTfqSfBncM9KJYNxSJ8bGV8vwBe7-K-MXPfC-c/gviz/chartiframe', + 'Recently_updated_files_div_div_div_div_div_div_form_class': u'sites-iframe-gviz-form', + 'Recently_updated_files_div_div_div_div_div_div_form_id': u'form1341490042', + 'Recently_updated_files_div_div_div_div_div_div_form_input_name': u'spec', + 'Recently_updated_files_div_div_div_div_div_div_form_input_type': u'hidden', + 'Recently_updated_files_div_div_div_div_div_div_form_input_value': u'{"view":{"columns":[0,{"label":"","properties":{"role":"annotation"},"sourceColumn":1},{"label":"","properties":{"role":"annotationText"},"sourceColumn":2},{"label":"","properties":{"role":"annotationText"},"sourceColumn":3}]},"dataSourceUrl":"https://docs.google.com/a/sumpurn.com/spreadsheets/d/17faB_iTfqSfBncM9KJYNxSJ8bGV8vwBe7-K-MXPfC-c/edit?usp\\u003ddrive_web\\u0026headers\\u003d0","chartName":"Google Chart","options":{"hAxis":{"useFormatFromData":true,"minValue":null,"maxValue":null,"viewWindow":{"min":null,"max":null}},"vAxes":[{"useFormatFromData":true,"minValue":null,"maxValue":null,"viewWindow":{"min":null,"max":null}},{"useFormatFromData":true,"minValue":null,"maxValue":null,"viewWindow":{"min":null,"max":null}}],"width":"600","annotations":{"domain":{"style":"line"}},"booleanRole":"certainty","height":"371"},"chartType":"Table","state":{},"isDefaultVisualization":true}', + 'Recently_updated_files_div_div_div_div_div_div_form_method': u'post', + 'Recently_updated_files_div_div_div_div_div_div_form_target': u'iframe1341490042', + 'Recently_updated_files_div_div_div_div_div_div_iframe_allowfullscreen': u'true', + 'Recently_updated_files_div_div_div_div_div_div_iframe_class': u'youtube-player', + 'Recently_updated_files_div_div_div_div_div_div_iframe_frameborder': u'0', + 'Recently_updated_files_div_div_div_div_div_div_iframe_height': u'270', + 'Recently_updated_files_div_div_div_div_div_div_iframe_id': u'iframe1341490042', + 'Recently_updated_files_div_div_div_div_div_div_iframe_name': u'iframe1341490042', + 'Recently_updated_files_div_div_div_div_div_div_iframe_scrolling': u'no', + 'Recently_updated_files_div_div_div_div_div_div_iframe_src': u'//www.youtube.com/embed/9bZkp7q19f0?rel=0&wmode=opaque', + 'Recently_updated_files_div_div_div_div_div_div_iframe_title': u'YouTube video player', + 'Recently_updated_files_div_div_div_div_div_div_iframe_type': u'text/html', + 'Recently_updated_files_div_div_div_div_div_div_iframe_width': u'480', + 'Recently_updated_files_div_div_div_div_div_div_script_type': u'text/javascript', + 'Recently_updated_files_div_div_div_div_div_div_style': u'width:600px;height:371px;', + 'Recently_updated_files_div_div_div_div_div_h4_class': u'sites-embed-title', + 'Recently_updated_files_div_div_div_div_div_iframe_allowfullscreen': u'true', + 'Recently_updated_files_div_div_div_div_div_iframe_class': u'map_embed', + 'Recently_updated_files_div_div_div_div_div_iframe_frameborder': u'0', + 'Recently_updated_files_div_div_div_div_div_iframe_height': u'500', + 'Recently_updated_files_div_div_div_div_div_iframe_id': u'1927136250', + 'Recently_updated_files_div_div_div_div_div_iframe_mozallowfullscreen': u'true', + 'Recently_updated_files_div_div_div_div_div_iframe_scrolling': u'no', + 'Recently_updated_files_div_div_div_div_div_iframe_src': u'//maps.google.com/?ll=35.66352%2C139.857672&spn=0.070291%2C0.240326&ie=UTF8&z=12&t=roadmap&sll=35.66352%2C139.857672&sspn=0.070291%2C0.240326&q=6%20Chome-9%20Nishikasai%2C%20Edogawa%2C%20Tokyo%20134-0088%2C%20Japan%20(%EF%BC%A0%EF%BD%90%EF%BD%81%EF%BD%92%EF%BD%8B%E8%A5%BF%E8%91%9B%E8%A5%BF%E9%A7%90%E8%BB%8A%E5%A0%B4)&output=embed', + 'Recently_updated_files_div_div_div_div_div_iframe_title': u'\uff20\uff50\uff41\uff52\uff4b\u897f\u845b\u897f\u99d0\u8eca\u5834', + 'Recently_updated_files_div_div_div_div_div_iframe_webkitallowfullscreen': u'true', + 'Recently_updated_files_div_div_div_div_div_iframe_width': u'100%', + 'Recently_updated_files_div_div_div_div_div_style': u'width:480px;', + 'Recently_updated_files_div_div_div_div_h4_class': u'sites-embed-title', + 'Recently_updated_files_div_div_div_div_style': u'width:100%;', + 'Recently_updated_files_div_div_div_id': u'__cajaGadgetContainer__0', + 'Recently_updated_files_div_div_div_style': u'display:block;float:left;', + 'Recently_updated_files_div_div_h2_a_name': u'TOC-::T::-Text-item', + 'Recently_updated_files_div_div_span_style': u'font-size:1.6em;line-height:1.6;background-color:transparent', + 'Recently_updated_files_div_h2_a_name': u'TOC-::T::-You-Tube', + 'Recently_updated_files_div_h4_a_name': u'TOC-2', + 'Recently_updated_files_div_h4_img_class': u'igm', + 'Recently_updated_files_div_h4_img_data_igsrc': u'http://171.gmodules.com/ig/ifr?mid=171&synd=trogedit&url=http%3A%2F%2Fhosting.gmodules.com%2Fig%2Fgadgets%2Ffile%2F110509162544058635853%2Fsteegle-google-sites-twitter-follow-button.xml&up_screenname=prvn&up_dataShowCount=true&up_dataButton=blue&up_dataTextColor=&up_dataLinkColor=&up_dataLang=en&h=20&w=300', + 'Recently_updated_files_div_h4_img_data_props': u'align:left;borderTitle:Steegle.com - Google Sites Twitter Follow Button;height:20;igsrc:http#58//171.gmodules.com/ig/ifr?mid=171&synd=trogedit&url=http%3A%2F%2Fhosting.gmodules.com%2Fig%2Fgadgets%2Ffile%2F110509162544058635853%2Fsteegle-google-sites-twitter-follow-button.xml&up_screenname=prvn&up_dataShowCount=true&up_dataButton=blue&up_dataTextColor=&up_dataLinkColor=&up_dataLang=en&h=20&w=300;mid:171;scrolling:no;showBorder:true;showBorderTitle:true;spec:http#58//hosting.gmodules.com/ig/gadgets/file/110509162544058635853/steegle-google-sites-twitter-follow-button.xml;up_dataButton:blue;up_dataLang:en;up_dataLinkColor:;up_dataShowCount:true;up_dataTextColor:;up_screenname:prvn;width:300;', + 'Recently_updated_files_div_h4_img_data_type': u'ggs-gadget', + 'Recently_updated_files_div_h4_img_height': u'20', + 'Recently_updated_files_div_h4_img_src': u"http://www.google.com/chart?chc=sites&cht=d&chdp=sites&chl=%5B%5BGoogle+Gadget'%3D20'f%5Cv'a%5C%3D0'10'%3D299'0'dim'%5Cbox1'b%5CF6F6F6'fC%5CF6F6F6'eC%5C0'sk'%5C%5B%22Steegle.com+-+Google+Sites+Twitter+Follow+Button%22'%5D'a%5CV%5C%3D12'f%5C%5DV%5Cta%5C%3D10'%3D0'%3D300'%3D17'dim'%5C%3D10'%3D10'%3D300'%3D17'vdim'%5Cbox1'b%5Cva%5CF6F6F6'fC%5CC8C8C8'eC%5C'a%5C%5Do%5CLauto'f%5C&sig=QcD9HQzuxnEABODtEDR_jh-8Ehg", + 'Recently_updated_files_div_h4_img_style': u'display:block;text-align:left;margin-right:auto;', + 'Recently_updated_files_div_h4_img_width': u'300', + 'Recently_updated_files_div_img_data_props': u'align:left;borderTitle:Recent List Items;displayColumns:7270057318238947,047969470090741595,1591085761210842,20609850256126205;num:5;showBorder:true;showBorderTitle:true;sortedBy:time;sortedByAsc:true;sortedByAsc1:true;sortedByAsc2:true;sortedByDesc:false;sortedByDesc1:false;sortedByDesc2:false;srcPage:351b7d43441f6874;', + 'Recently_updated_files_div_img_data_type': u'recent-list-items', + 'Recently_updated_files_div_img_height': u'300', + 'Recently_updated_files_div_img_src': u"http://www.google.com/chart?chc=sites&cht=d&chdp=sites&chl=%5B%5BRecent+list+items'%3D20'f%5Cv'a%5C%3D0'10'%3D399'0'dim'%5Cbox1'b%5CF6F6F6'fC%5CF6F6F6'eC%5C0'sk'%5C%5B%22Recent+List+Items%22'%5D'a%5CV%5C%3D12'f%5C%5DV%5Cta%5C%3D10'%3D0'%3D400'%3D297'dim'%5C%3D10'%3D10'%3D400'%3D297'vdim'%5Cbox1'b%5Cva%5CF6F6F6'fC%5CC8C8C8'eC%5C'a%5C%5Do%5CLauto'f%5C&sig=ZUUPefebsDJwKf0joQgJhq5gIO0", + 'Recently_updated_files_div_img_style': u'display:block;text-align:left;margin-right:auto;', + 'Recently_updated_files_div_img_width': u'400', + 'Recently_updated_files_div_span_style': u'font-size:1.6em;line-height:1.6;background-color:transparent'} + +_template10= ''' +'
\n
::T:: Lists items
\n
\n

Benefits

\n
  1. \n\n\n\n\n\n\n
    \xc2\xa0kkkk\xc2\xa0hello\xc2\xa0\xc2\xa0
    \xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0
    \xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0
    \xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0
    \xc2\xa0
  2. I am doing greate !!!\xc2\xa0
  3. Use seeting to write in th
Computer Vision:


::T:: HTML box


This is my NEW
























Uncanny Vision seminar 2014-07-24 FInal

Google Chart

00000.MTS

\xef\xbc\xa0\xef\xbd\x90\xef\xbd\x81\xef\xbd\x92\xef\xbd\x8b\xe8\xa5\xbf\xe8\x91\x9b\xe8\xa5\xbf\xe9\xa7\x90\xe8\xbb\x8a\xe5\xa0\xb4

\n

YouTube Video

' +''' + +template10= ''' +
+
+ +
+
+ + ::T:: Lists items + +
+
+ +
+
+
+

+ + +

+
+
+

+ Benefits +

+
+
+
+
    +
  1. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + kkkk + + + hello + + + + + + + +
    + + + +
    + + + +
    + + + +
    +
    +
    +
    + + +
  2. +
  3. + + + I am doing greate !!! + + +
  4. +
  5. + + + Use seeting to write in th + + +
  6. +
+
+ + + + + Computer Vision: + + + + +
+
    +
  1. +
    +
  2. +
+
+
+
+
+
+
+
+ + ::T:: HTML box + +
+
+
+
+
+
+ + + + + + This is my + + NEW + + + + +
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+ + +

+

+ + + +

+

+ + +

+

+ + + +

+

+ + +

+
+
+
+

+ Uncanny Vision seminar 2014-07-24 FInal +

+ +
+ +
+
+
+
+

+ + +

+
+
+
+

+ Google Chart +

+
+
+ +
+ +
+ +
+
+
+
+
+

+ + +

+
+
+
+

+ 00000.MTS +

+
+ +
+
+
+
+

+ + +

+
+
+
+

+ @park西葛西駐車場 +

+ +
+ +
+
+
+
+

+ + +

+
+
+
+
+

+ YouTube Video +

+
+ +
+
+
+
+
+
+
+''' + +Template10= ''' +
+
+ +
+
+ + ::T:: Lists items + +
+
+ +
+
+
+

+ + +

+
+
+

+ Benefits +

+
+
+
+
    +
  1. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + kkkk + + + hello + + + + + + + +
    + + + +
    + + + +
    + + + +
    +
    +
    +
    + + +
  2. +
  3. + + + I am doing greate !!! + + +
  4. +
  5. + + + Use seeting to write in th + + +
  6. +
+
+ + + + + Computer Vision: + + + + +
+
    +
  1. +
    +
  2. +
+
+
+
+
+
+
+
+ + ::T:: HTML box + +
+
+
+
+
+
+ + + + + + This is my + + NEW + + + + +
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+ + +

+

+ + + +

+

+ + +

+

+ + + +

+

+ + +

+
+
+
+

+ Uncanny Vision seminar 2014-07-24 FInal +

+
+ Uncanny Vision seminar 2014-07-24 FInal +
+
+ +
+
+
+
+

+ + +

+
+
+
+

+ Google Chart +

+
+
+ +
+ +
+ +
+
+
+
+
+

+ + +

+
+
+
+

+ 00000.MTS +

+
+ +
+
+
+
+

+ + +

+
+
+
+

+ @park西葛西駐車場 +

+
+ @park西葛西駐車場 +
+
+ +
+
+
+
+

+ + +

+
+
+
+
+

+ YouTube Video +

+
+ +
+
+
+
+
+
+
+''' + +# This Python file uses the following encoding: utf-8 +param11 = { } + +_template11= ''' +'' +''' + +template11= ''' + + +''' + +Template11= ''' + + +''' + +# This Python file uses the following encoding: utf-8 +param12 = { 'Table_of_contents_div_div_class': u'sites-embed-align-left-wrapping-off', + 'Table_of_contents_div_div_div_class': u'sites-embed-border-offsites-embed', + 'Table_of_contents_div_div_div_div_class': u'sites-embed-contentsites-embed-type-toc', + 'Table_of_contents_div_div_div_div_div_class': u'goog-tocsites-embed-toc-maxdepth-6', + 'Table_of_contents_div_div_div_div_div_ol_class': u'goog-toc', + 'Table_of_contents_div_div_div_div_div_ol_li_a_href': u'#TOC-::T::-You-Tube', + 'Table_of_contents_div_div_div_div_div_ol_li_class': u'goog-toc', + 'Table_of_contents_div_div_div_style': u'width:250px;', + 'Table_of_contents_h2_a_name': u'TOC-::T::-Subpage-listing', + 'Table_of_contents_img_data_props': u'align:left;borderTitle:Subpage Listing;displayAs:TOC;maxDepth:6;width:250;', + 'Table_of_contents_img_data_type': u'subpages', + 'Table_of_contents_img_height': u'300', + 'Table_of_contents_img_src': u"http://www.google.com/chart?chc=sites&cht=d&chdp=sites&chl=%5B%5BPage+listing'%3D20'f%5Cv'a%5C%3D0'10'%3D249'0'dim'%5Cbox1'b%5CF6F6F6'fC%5CF6F6F6'eC%5C0'sk'%5C%5B%22Subpage+Listing%22'%5D'a%5CV%5C%3D12'f%5C%5DV%5Cta%5C%3D10'%3D0'%3D250'%3D297'dim'%5C%3D10'%3D10'%3D250'%3D297'vdim'%5Cbox1'b%5Cva%5CF6F6F6'fC%5CC8C8C8'eC%5C'a%5C%5Do%5CLauto'f%5C&sig=4Bm9qaJUdSqYajg2_Fmi3qRL9R0", + 'Table_of_contents_img_style': u'display:block;text-align:left;margin-right:auto;', + 'Table_of_contents_img_width': u'250'} + +_template12= ''' +'' +''' + +template12= ''' +
+ +
+
+
+

+ + +

+ +
+''' + +Template12= ''' +
+ +
+
+
+

+ + +

+ +
+''' + +# This Python file uses the following encoding: utf-8 +param13 = { 'Text_item_div_class': u'sites-embed-border-onsites-embedsites-embed-full-width', + 'Text_item_div_div_class': u'sites-embed-contentsites-embed-type-text', + 'Text_item_div_div_div_class': u'sites-embed-content-textbox', + 'Text_item_div_div_div_div_dir': u'ltr', + 'Text_item_div_div_div_div_div_font_color': u'#ff0000', + 'Text_item_div_div_div_div_div_font_size': u'6', + 'Text_item_div_div_div_div_ol_li_b_i_font_color': u'#ff0000', + 'Text_item_div_div_div_div_ol_li_b_i_font_table_border': u'1', + 'Text_item_div_div_div_div_ol_li_b_i_font_table_bordercolor': u'#888', + 'Text_item_div_div_div_div_ol_li_b_i_font_table_cellspacing': u'0', + 'Text_item_div_div_div_div_ol_li_b_i_font_table_style': u'border-collapse:collapse;border-color:rgb(136,136,136);border-width:1px', + 'Text_item_div_div_div_div_ol_li_b_i_font_table_tbody_tr_td_span_style': u'background-color:rgb(255,0,0)', + 'Text_item_div_div_div_div_ol_li_b_i_font_table_tbody_tr_td_style': u'width:60px', + 'Text_item_div_div_div_div_ol_li_span_style': u'background-color:rgb(255,255,0)', + 'Text_item_div_div_div_div_ol_li_style': u'font-weight:bold', + 'Text_item_div_h4_class': u'sites-embed-title', + 'Text_item_div_style': u'width:100%;'} + +_template13= ''' +'

Benefits

\n
  1. \n\n\n\n\n\n\n
    \xc2\xa0kkkk\xc2\xa0hello\xc2\xa0\xc2\xa0
    \xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0
    \xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0
    \xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0
    \xc2\xa0
  2. I am doing greate !!!\xc2\xa0
  3. Use seeting to write in th
Computer Vision:


' +''' + +template13= ''' +
+
+

+ Benefits +

+
+
+
+
    +
  1. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + kkkk + + + hello + + + + + + + +
    + + + +
    + + + +
    + + + +
    +
    +
    +
    + + +
  2. +
  3. + + + I am doing greate !!! + + +
  4. +
  5. + + + Use seeting to write in th + + +
  6. +
+
+ + + + + Computer Vision: + + + + +
+
    +
  1. +
    +
  2. +
+
+
+
+
+
+''' + +Template13= ''' +
+
+

+ Benefits +

+
+
+
+
    +
  1. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + kkkk + + + hello + + + + + + + +
    + + + +
    + + + +
    + + + +
    +
    +
    +
    + + +
  2. +
  3. + + + I am doing greate !!! + + +
  4. +
  5. + + + Use seeting to write in th + + +
  6. +
+
+ + + + + Computer Vision: + + + + +
+
    +
  1. +
    +
  2. +
+
+
+
+
+
+''' + +# This Python file uses the following encoding: utf-8 +param14 = { 'Twitter_follow_a_name': u'TOC-2', + 'Twitter_follow_img_class': u'igm', + 'Twitter_follow_img_data_igsrc': u'http://171.gmodules.com/ig/ifr?mid=171&synd=trogedit&url=http%3A%2F%2Fhosting.gmodules.com%2Fig%2Fgadgets%2Ffile%2F110509162544058635853%2Fsteegle-google-sites-twitter-follow-button.xml&up_screenname=prvn&up_dataShowCount=true&up_dataButton=blue&up_dataTextColor=&up_dataLinkColor=&up_dataLang=en&h=20&w=300', + 'Twitter_follow_img_data_props': u'align:left;borderTitle:Steegle.com - Google Sites Twitter Follow Button;height:20;igsrc:http#58//171.gmodules.com/ig/ifr?mid=171&synd=trogedit&url=http%3A%2F%2Fhosting.gmodules.com%2Fig%2Fgadgets%2Ffile%2F110509162544058635853%2Fsteegle-google-sites-twitter-follow-button.xml&up_screenname=prvn&up_dataShowCount=true&up_dataButton=blue&up_dataTextColor=&up_dataLinkColor=&up_dataLang=en&h=20&w=300;mid:171;scrolling:no;showBorder:true;showBorderTitle:true;spec:http#58//hosting.gmodules.com/ig/gadgets/file/110509162544058635853/steegle-google-sites-twitter-follow-button.xml;up_dataButton:blue;up_dataLang:en;up_dataLinkColor:;up_dataShowCount:true;up_dataTextColor:;up_screenname:prvn;width:300;', + 'Twitter_follow_img_data_type': u'ggs-gadget', + 'Twitter_follow_img_height': u'20', + 'Twitter_follow_img_src': u"http://www.google.com/chart?chc=sites&cht=d&chdp=sites&chl=%5B%5BGoogle+Gadget'%3D20'f%5Cv'a%5C%3D0'10'%3D299'0'dim'%5Cbox1'b%5CF6F6F6'fC%5CF6F6F6'eC%5C0'sk'%5C%5B%22Steegle.com+-+Google+Sites+Twitter+Follow+Button%22'%5D'a%5CV%5C%3D12'f%5C%5DV%5Cta%5C%3D10'%3D0'%3D300'%3D17'dim'%5C%3D10'%3D10'%3D300'%3D17'vdim'%5Cbox1'b%5Cva%5CF6F6F6'fC%5CC8C8C8'eC%5C'a%5C%5Do%5CLauto'f%5C&sig=QcD9HQzuxnEABODtEDR_jh-8Ehg", + 'Twitter_follow_img_style': u'display:block;text-align:left;margin-right:auto;', + 'Twitter_follow_img_width': u'300'} + +_template14= ''' +'

' +''' + +template14= ''' +

+ + + +

+''' + +Template14= ''' +

+ + + +

+''' + +# This Python file uses the following encoding: utf-8 +param15 = { 'You_Tube_div_div_class': u'sites-embed-align-left-wrapping-off', + 'You_Tube_div_div_div_class': u'sites-embed-border-onsites-embed', + 'You_Tube_div_div_div_div_class': u'sites-embed-contentsites-embed-type-youtube', + 'You_Tube_div_div_div_div_iframe_allowfullscreen': u'true', + 'You_Tube_div_div_div_div_iframe_class': u'youtube-player', + 'You_Tube_div_div_div_div_iframe_frameborder': u'0', + 'You_Tube_div_div_div_div_iframe_height': u'270', + 'You_Tube_div_div_div_div_iframe_src': u'//www.youtube.com/embed/9bZkp7q19f0?rel=0&wmode=opaque', + 'You_Tube_div_div_div_div_iframe_title': u'YouTube video player', + 'You_Tube_div_div_div_div_iframe_type': u'text/html', + 'You_Tube_div_div_div_div_iframe_width': u'480', + 'You_Tube_div_div_div_h4_class': u'sites-embed-title', + 'You_Tube_div_div_div_style': u'width:480px;'} + +_template15= ''' +'
\n

YouTube Video

' +''' + +template15= ''' +
+
+
+
+

+ YouTube Video +

+
+ +
+
+
+
+
+''' + +Template15= ''' +
+
+
+
+

+ YouTube Video +

+
+ +
+
+
+
+
+''' + diff --git a/samples/sites_api/googleTemplates.py b/samples/sites_api/googleTemplates.py new file mode 100644 index 00000000000..496ae24e503 --- /dev/null +++ b/samples/sites_api/googleTemplates.py @@ -0,0 +1,1729 @@ +# This Python file uses the following encoding: utf-8 +param0 = { 'Google_Calendar_a_name': u'TOC-1', + 'Google_Calendar_img_class': u'igm', + 'Google_Calendar_img_data_igsrc': u'http://48.gmodules.com/ig/ifr?mid=48&synd=trogedit&url=http%3A%2F%2Fwww.google.com%2Fig%2Fmodules%2Fcalendar3.xml&up_calendarFeeds=&up_calendarColors=&up_showDatepicker=true&up_showEmptyDays=0&up_showExpiredEvents=1&h=447&w=100%25', + 'Google_Calendar_img_data_props': u'align:left;borderTitle:Google Calendar;height:447;igsrc:http#58//48.gmodules.com/ig/ifr?mid=48&synd=trogedit&url=http%3A%2F%2Fwww.google.com%2Fig%2Fmodules%2Fcalendar3.xml&up_calendarFeeds=&up_calendarColors=&up_showDatepicker=true&up_showEmptyDays=0&up_showExpiredEvents=1&h=447&w=100%25;mid:48;scrolling:auto;showBorder:true;showBorderTitle:true;spec:http#58//www.google.com/ig/modules/calendar3.xml;up_calendarColors:;up_calendarFeeds:;up_showDatepicker:true;up_showEmptyDays:0;up_showExpiredEvents:1;view:default;width:100%;', + 'Google_Calendar_img_data_type': u'ggs-gadget', + 'Google_Calendar_img_height': u'447', + 'Google_Calendar_img_src': u"http://www.google.com/chart?chc=sites&cht=d&chdp=sites&chl=%5B%5BGoogle+Gadget'%3D20'f%5Cv'a%5C%3D0'10'%3D499'0'dim'%5Cbox1'b%5CF6F6F6'fC%5CF6F6F6'eC%5C0'sk'%5C%5B%22Google+Calendar%22'%5D'a%5CV%5C%3D12'f%5C%5DV%5Cta%5C%3D10'%3D0'%3D500'%3D444'dim'%5C%3D10'%3D10'%3D500'%3D444'vdim'%5Cbox1'b%5Cva%5CF6F6F6'fC%5CC8C8C8'eC%5C'a%5C%5Do%5CLauto'f%5C&sig=yXjWfvYxwA5AfvxuSLcNGkzRVGY", + 'Google_Calendar_img_style': u'display:block;text-align:left;margin-right:auto;', + 'Google_Calendar_img_width': u'500'} + +_template0= ''' +'

' +''' + +template0= ''' +

+ + + +

+''' + +Template0= ''' +

+ + + +

+''' + +# This Python file uses the following encoding: utf-8 +param1 = { 'Google_Drive_video_div_class': u'sites-embed-align-left-wrapping-off', + 'Google_Drive_video_div_div_class': u'sites-embed-border-onsites-embed', + 'Google_Drive_video_div_div_div_class': u'sites-embed-contentsites-embed-type-docs-video', + 'Google_Drive_video_div_div_div_iframe_allowfullscreen': u'true', + 'Google_Drive_video_div_div_div_iframe_frameborder': u'0', + 'Google_Drive_video_div_div_div_iframe_height': u'265', + 'Google_Drive_video_div_div_div_iframe_src': u'https://docs.google.com/file/d/0B1jmzsgV7AJ7RUJ0Y1ZCYmozN0U/preview', + 'Google_Drive_video_div_div_div_iframe_width': u'425', + 'Google_Drive_video_div_div_h4_class': u'sites-embed-title', + 'Google_Drive_video_div_div_style': u'width:425px;'} + +_template1= ''' +'

00000.MTS

' +''' + +template1= ''' +
+
+
+

+ 00000.MTS +

+
+ +
+
+
+
+''' + +Template1= ''' +
+
+
+

+ 00000.MTS +

+
+ +
+
+
+
+''' + +# This Python file uses the following encoding: utf-8 +param2 = { 'Google_chart_div_class': u'sites-embed-align-left-wrapping-off', + 'Google_chart_div_div_class': u'sites-embed-border-onsites-embed', + 'Google_chart_div_div_div_class': u'sites-embed-contentsites-embed-type-gviz-chart', + 'Google_chart_div_div_div_div_class': u'sites-ritz-gviz-chart', + 'Google_chart_div_div_div_div_form_action': u'https://docs.google.com/a/sumpurn.com/spreadsheets/d/17faB_iTfqSfBncM9KJYNxSJ8bGV8vwBe7-K-MXPfC-c/gviz/chartiframe', + 'Google_chart_div_div_div_div_form_class': u'sites-iframe-gviz-form', + 'Google_chart_div_div_div_div_form_id': u'form2011397615', + 'Google_chart_div_div_div_div_form_input_name': u'spec', + 'Google_chart_div_div_div_div_form_input_type': u'hidden', + 'Google_chart_div_div_div_div_form_input_value': u'{"view":{"columns":[0,{"label":"","properties":{"role":"annotation"},"sourceColumn":1},{"label":"","properties":{"role":"annotationText"},"sourceColumn":2},{"label":"","properties":{"role":"annotationText"},"sourceColumn":3}]},"dataSourceUrl":"https://docs.google.com/a/sumpurn.com/spreadsheets/d/17faB_iTfqSfBncM9KJYNxSJ8bGV8vwBe7-K-MXPfC-c/edit?usp\\u003ddrive_web\\u0026headers\\u003d0","chartName":"Google Chart","options":{"hAxis":{"useFormatFromData":true,"minValue":null,"maxValue":null,"viewWindow":{"min":null,"max":null}},"vAxes":[{"useFormatFromData":true,"minValue":null,"maxValue":null,"viewWindow":{"min":null,"max":null}},{"useFormatFromData":true,"minValue":null,"maxValue":null,"viewWindow":{"min":null,"max":null}}],"width":"600","annotations":{"domain":{"style":"line"}},"booleanRole":"certainty","height":"371"},"chartType":"Table","state":{},"isDefaultVisualization":true}', + 'Google_chart_div_div_div_div_form_method': u'post', + 'Google_chart_div_div_div_div_form_target': u'iframe2011397615', + 'Google_chart_div_div_div_div_iframe_frameborder': u'0', + 'Google_chart_div_div_div_div_iframe_height': u'371', + 'Google_chart_div_div_div_div_iframe_id': u'iframe2011397615', + 'Google_chart_div_div_div_div_iframe_name': u'iframe2011397615', + 'Google_chart_div_div_div_div_iframe_scrolling': u'no', + 'Google_chart_div_div_div_div_iframe_src': u'javascript:void(0);', + 'Google_chart_div_div_div_div_iframe_title': u'Google Chart', + 'Google_chart_div_div_div_div_iframe_width': u'600', + 'Google_chart_div_div_div_div_script_type': u'text/javascript', + 'Google_chart_div_div_div_div_style': u'width:600px;height:371px;', + 'Google_chart_div_div_h4_class': u'sites-embed-title', + 'Google_chart_div_div_style': u'width:600px;'} + +_template2= ''' +'

Google Chart

' +''' + +template2= ''' +
+
+
+

+ Google Chart +

+
+
+ +
+ +
+ +
+
+
+
+
+''' + +Template2= ''' +
+
+
+

+ Google Chart +

+
+
+ +
+ +
+ +
+
+
+
+
+''' + +# This Python file uses the following encoding: utf-8 +param3 = { 'Google_map_div_class': u'sites-embed-align-left-wrapping-off', + 'Google_map_div_div_class': u'sites-embed-border-onsites-embedsites-embed-full-width', + 'Google_map_div_div_div_class': u'sites-embed-contentsites-embed-type-map', + 'Google_map_div_div_div_iframe_class': u'map_embed', + 'Google_map_div_div_div_iframe_frameborder': u'0', + 'Google_map_div_div_div_iframe_height': u'500', + 'Google_map_div_div_div_iframe_scrolling': u'no', + 'Google_map_div_div_div_iframe_src': u'//maps.google.com/?ll=35.66352%2C139.857672&spn=0.070291%2C0.240326&ie=UTF8&z=12&t=roadmap&sll=35.66352%2C139.857672&sspn=0.070291%2C0.240326&q=6%20Chome-9%20Nishikasai%2C%20Edogawa%2C%20Tokyo%20134-0088%2C%20Japan%20(%EF%BC%A0%EF%BD%90%EF%BD%81%EF%BD%92%EF%BD%8B%E8%A5%BF%E8%91%9B%E8%A5%BF%E9%A7%90%E8%BB%8A%E5%A0%B4)&output=embed', + 'Google_map_div_div_div_iframe_title': u'\uff20\uff50\uff41\uff52\uff4b\u897f\u845b\u897f\u99d0\u8eca\u5834', + 'Google_map_div_div_div_iframe_width': u'100%', + 'Google_map_div_div_div_style': u'display:none;', + 'Google_map_div_div_h4_class': u'sites-embed-title', + 'Google_map_div_div_style': u'width:100%;'} + +_template3= ''' +'

\xef\xbc\xa0\xef\xbd\x90\xef\xbd\x81\xef\xbd\x92\xef\xbd\x8b\xe8\xa5\xbf\xe8\x91\x9b\xe8\xa5\xbf\xe9\xa7\x90\xe8\xbb\x8a\xe5\xa0\xb4

' +''' + +template3= ''' +
+
+
+

+ @park西葛西駐車場 +

+ +
+ +
+
+
+
+''' + +Template3= ''' +
+
+
+

+ @park西葛西駐車場 +

+
+ @park西葛西駐車場 +
+
+ +
+
+
+
+''' + +# This Python file uses the following encoding: utf-8 +param4 = { 'Google_presentation_div_class': u'sites-embed-align-left-wrapping-off', + 'Google_presentation_div_div_class': u'sites-embed-border-onsites-embed', + 'Google_presentation_div_div_div_class': u'sites-embed-contentsites-embed-type-punch', + 'Google_presentation_div_div_div_iframe_allowfullscreen': u'true', + 'Google_presentation_div_div_div_iframe_frameborder': u'0', + 'Google_presentation_div_div_div_iframe_height': u'337', + 'Google_presentation_div_div_div_iframe_id': u'989977115', + 'Google_presentation_div_div_div_iframe_mozallowfullscreen': u'true', + 'Google_presentation_div_div_div_iframe_src': u'http://docs.google.com/presentation/d/1SkGawfOQirgNHc70-cvZibi-Gm97e0qXvbF9I06TCrY/embed?hl=en&size=s', + 'Google_presentation_div_div_div_iframe_title': u'Uncanny Vision seminar 2014-07-24 FInal', + 'Google_presentation_div_div_div_iframe_webkitallowfullscreen': u'true', + 'Google_presentation_div_div_div_iframe_width': u'410', + 'Google_presentation_div_div_div_style': u'display:none;', + 'Google_presentation_div_div_h4_class': u'sites-embed-title', + 'Google_presentation_div_div_style': u'width:410px;'} + +_template4= ''' +'

Uncanny Vision seminar 2014-07-24 FInal

' +''' + +template4= ''' +
+
+
+

+ Uncanny Vision seminar 2014-07-24 FInal +

+ +
+ +
+
+
+
+''' + +Template4= ''' +
+
+
+

+ Uncanny Vision seminar 2014-07-24 FInal +

+
+ Uncanny Vision seminar 2014-07-24 FInal +
+
+ +
+
+
+
+''' + +# This Python file uses the following encoding: utf-8 +param5 = { } + +_template5= ''' +'
\n
' +''' + +template5= ''' +
+
+
+''' + +Template5= ''' +
+
+
+''' + +# This Python file uses the following encoding: utf-8 +param6 = { 'Image_file_img_border': u'0', + 'Image_file_img_src': u'https://sites.google.com/a/sumpurn.com/test1/_/rsrc/1459582458255/home/guitar.png', + 'Image_file_img_style': u'width:100%'} + +_template6= ''' +'' +''' + +template6= ''' + + + +''' + +Template6= ''' + + + +''' + +# This Python file uses the following encoding: utf-8 +param7 = { 'Image_web_url_a_href': u'https://edspace.american.edu/perf683/wp-content/uploads/sites/392/2015/10/robot.png', + 'Image_web_url_a_imageanchor': u'1', + 'Image_web_url_a_img_border': u'0', + 'Image_web_url_a_img_src': u'https://edspace.american.edu/perf683/wp-content/uploads/sites/392/2015/10/robot.png', + 'Image_web_url_a_img_style': u'width:100%', + 'Image_web_url_a_rel': u'nofollow'} + +_template7= ''' +'
' +''' + +template7= ''' + +''' + +Template7= ''' + +''' + +# This Python file uses the following encoding: utf-8 +param8 = { } + +_template8= ''' +'yyyy' +''' + +template8= ''' + + yyyy + +''' + +Template8= ''' + + yyyy + +''' + +# This Python file uses the following encoding: utf-8 +param9 = { } + +_template9= ''' +'' +''' + +template9= ''' + + +''' + +Template9= ''' + + +''' + +# This Python file uses the following encoding: utf-8 +param10 = { 'Recently_updated_files_div_div_div_class': u'sites-embed-align-left-wrapping-off', + 'Recently_updated_files_div_div_div_div_class': u'sites-embed-align-left-wrapping-off', + 'Recently_updated_files_div_div_div_div_div_class': u'sites-embed-border-onsites-embed', + 'Recently_updated_files_div_div_div_div_div_div_class': u'sites-embed-contentsites-embed-type-youtube', + 'Recently_updated_files_div_div_div_div_div_div_div_dir': u'ltr', + 'Recently_updated_files_div_div_div_div_div_div_div_div_font_color': u'#ff0000', + 'Recently_updated_files_div_div_div_div_div_div_div_div_font_size': u'6', + 'Recently_updated_files_div_div_div_div_div_div_div_ol_li_b_i_font_color': u'#ff0000', + 'Recently_updated_files_div_div_div_div_div_div_div_ol_li_b_i_font_table_border': u'1', + 'Recently_updated_files_div_div_div_div_div_div_div_ol_li_b_i_font_table_bordercolor': u'#888', + 'Recently_updated_files_div_div_div_div_div_div_div_ol_li_b_i_font_table_cellspacing': u'0', + 'Recently_updated_files_div_div_div_div_div_div_div_ol_li_b_i_font_table_style': u'border-collapse:collapse;border-color:rgb(136,136,136);border-width:1px', + 'Recently_updated_files_div_div_div_div_div_div_div_ol_li_b_i_font_table_tbody_tr_td_span_style': u'background-color:rgb(255,0,0)', + 'Recently_updated_files_div_div_div_div_div_div_div_ol_li_b_i_font_table_tbody_tr_td_style': u'width:60px', + 'Recently_updated_files_div_div_div_div_div_div_div_ol_li_span_style': u'background-color:rgb(255,255,0)', + 'Recently_updated_files_div_div_div_div_div_div_div_ol_li_style': u'font-weight:bold', + 'Recently_updated_files_div_div_div_div_div_div_form_action': u'https://docs.google.com/a/sumpurn.com/spreadsheets/d/17faB_iTfqSfBncM9KJYNxSJ8bGV8vwBe7-K-MXPfC-c/gviz/chartiframe', + 'Recently_updated_files_div_div_div_div_div_div_form_class': u'sites-iframe-gviz-form', + 'Recently_updated_files_div_div_div_div_div_div_form_id': u'form2011397615', + 'Recently_updated_files_div_div_div_div_div_div_form_input_name': u'spec', + 'Recently_updated_files_div_div_div_div_div_div_form_input_type': u'hidden', + 'Recently_updated_files_div_div_div_div_div_div_form_input_value': u'{"view":{"columns":[0,{"label":"","properties":{"role":"annotation"},"sourceColumn":1},{"label":"","properties":{"role":"annotationText"},"sourceColumn":2},{"label":"","properties":{"role":"annotationText"},"sourceColumn":3}]},"dataSourceUrl":"https://docs.google.com/a/sumpurn.com/spreadsheets/d/17faB_iTfqSfBncM9KJYNxSJ8bGV8vwBe7-K-MXPfC-c/edit?usp\\u003ddrive_web\\u0026headers\\u003d0","chartName":"Google Chart","options":{"hAxis":{"useFormatFromData":true,"minValue":null,"maxValue":null,"viewWindow":{"min":null,"max":null}},"vAxes":[{"useFormatFromData":true,"minValue":null,"maxValue":null,"viewWindow":{"min":null,"max":null}},{"useFormatFromData":true,"minValue":null,"maxValue":null,"viewWindow":{"min":null,"max":null}}],"width":"600","annotations":{"domain":{"style":"line"}},"booleanRole":"certainty","height":"371"},"chartType":"Table","state":{},"isDefaultVisualization":true}', + 'Recently_updated_files_div_div_div_div_div_div_form_method': u'post', + 'Recently_updated_files_div_div_div_div_div_div_form_target': u'iframe2011397615', + 'Recently_updated_files_div_div_div_div_div_div_iframe_allowfullscreen': u'true', + 'Recently_updated_files_div_div_div_div_div_div_iframe_class': u'youtube-player', + 'Recently_updated_files_div_div_div_div_div_div_iframe_frameborder': u'0', + 'Recently_updated_files_div_div_div_div_div_div_iframe_height': u'270', + 'Recently_updated_files_div_div_div_div_div_div_iframe_id': u'iframe2011397615', + 'Recently_updated_files_div_div_div_div_div_div_iframe_name': u'iframe2011397615', + 'Recently_updated_files_div_div_div_div_div_div_iframe_scrolling': u'no', + 'Recently_updated_files_div_div_div_div_div_div_iframe_src': u'//www.youtube.com/embed/9bZkp7q19f0?rel=0&wmode=opaque', + 'Recently_updated_files_div_div_div_div_div_div_iframe_title': u'YouTube video player', + 'Recently_updated_files_div_div_div_div_div_div_iframe_type': u'text/html', + 'Recently_updated_files_div_div_div_div_div_div_iframe_width': u'480', + 'Recently_updated_files_div_div_div_div_div_div_script_type': u'text/javascript', + 'Recently_updated_files_div_div_div_div_div_div_style': u'width:600px;height:371px;', + 'Recently_updated_files_div_div_div_div_div_h4_class': u'sites-embed-title', + 'Recently_updated_files_div_div_div_div_div_iframe_allowfullscreen': u'true', + 'Recently_updated_files_div_div_div_div_div_iframe_class': u'map_embed', + 'Recently_updated_files_div_div_div_div_div_iframe_frameborder': u'0', + 'Recently_updated_files_div_div_div_div_div_iframe_height': u'500', + 'Recently_updated_files_div_div_div_div_div_iframe_id': u'989977115', + 'Recently_updated_files_div_div_div_div_div_iframe_mozallowfullscreen': u'true', + 'Recently_updated_files_div_div_div_div_div_iframe_scrolling': u'no', + 'Recently_updated_files_div_div_div_div_div_iframe_src': u'//maps.google.com/?ll=35.66352%2C139.857672&spn=0.070291%2C0.240326&ie=UTF8&z=12&t=roadmap&sll=35.66352%2C139.857672&sspn=0.070291%2C0.240326&q=6%20Chome-9%20Nishikasai%2C%20Edogawa%2C%20Tokyo%20134-0088%2C%20Japan%20(%EF%BC%A0%EF%BD%90%EF%BD%81%EF%BD%92%EF%BD%8B%E8%A5%BF%E8%91%9B%E8%A5%BF%E9%A7%90%E8%BB%8A%E5%A0%B4)&output=embed', + 'Recently_updated_files_div_div_div_div_div_iframe_title': u'\uff20\uff50\uff41\uff52\uff4b\u897f\u845b\u897f\u99d0\u8eca\u5834', + 'Recently_updated_files_div_div_div_div_div_iframe_webkitallowfullscreen': u'true', + 'Recently_updated_files_div_div_div_div_div_iframe_width': u'100%', + 'Recently_updated_files_div_div_div_div_div_style': u'width:480px;', + 'Recently_updated_files_div_div_div_div_h4_class': u'sites-embed-title', + 'Recently_updated_files_div_div_div_div_style': u'width:100%;', + 'Recently_updated_files_div_div_div_id': u'__cajaGadgetContainer__0', + 'Recently_updated_files_div_div_div_style': u'display:block;float:left;', + 'Recently_updated_files_div_div_h2_a_name': u'TOC-::T::-Text-item', + 'Recently_updated_files_div_div_span_style': u'font-size:1.6em;line-height:1.6;background-color:transparent', + 'Recently_updated_files_div_h2_a_name': u'TOC-::T::-You-Tube', + 'Recently_updated_files_div_h4_a_name': u'TOC-2', + 'Recently_updated_files_div_h4_img_class': u'igm', + 'Recently_updated_files_div_h4_img_data_igsrc': u'http://171.gmodules.com/ig/ifr?mid=171&synd=trogedit&url=http%3A%2F%2Fhosting.gmodules.com%2Fig%2Fgadgets%2Ffile%2F110509162544058635853%2Fsteegle-google-sites-twitter-follow-button.xml&up_screenname=prvn&up_dataShowCount=true&up_dataButton=blue&up_dataTextColor=&up_dataLinkColor=&up_dataLang=en&h=20&w=300', + 'Recently_updated_files_div_h4_img_data_props': u'align:left;borderTitle:Steegle.com - Google Sites Twitter Follow Button;height:20;igsrc:http#58//171.gmodules.com/ig/ifr?mid=171&synd=trogedit&url=http%3A%2F%2Fhosting.gmodules.com%2Fig%2Fgadgets%2Ffile%2F110509162544058635853%2Fsteegle-google-sites-twitter-follow-button.xml&up_screenname=prvn&up_dataShowCount=true&up_dataButton=blue&up_dataTextColor=&up_dataLinkColor=&up_dataLang=en&h=20&w=300;mid:171;scrolling:no;showBorder:true;showBorderTitle:true;spec:http#58//hosting.gmodules.com/ig/gadgets/file/110509162544058635853/steegle-google-sites-twitter-follow-button.xml;up_dataButton:blue;up_dataLang:en;up_dataLinkColor:;up_dataShowCount:true;up_dataTextColor:;up_screenname:prvn;width:300;', + 'Recently_updated_files_div_h4_img_data_type': u'ggs-gadget', + 'Recently_updated_files_div_h4_img_height': u'20', + 'Recently_updated_files_div_h4_img_src': u"http://www.google.com/chart?chc=sites&cht=d&chdp=sites&chl=%5B%5BGoogle+Gadget'%3D20'f%5Cv'a%5C%3D0'10'%3D299'0'dim'%5Cbox1'b%5CF6F6F6'fC%5CF6F6F6'eC%5C0'sk'%5C%5B%22Steegle.com+-+Google+Sites+Twitter+Follow+Button%22'%5D'a%5CV%5C%3D12'f%5C%5DV%5Cta%5C%3D10'%3D0'%3D300'%3D17'dim'%5C%3D10'%3D10'%3D300'%3D17'vdim'%5Cbox1'b%5Cva%5CF6F6F6'fC%5CC8C8C8'eC%5C'a%5C%5Do%5CLauto'f%5C&sig=QcD9HQzuxnEABODtEDR_jh-8Ehg", + 'Recently_updated_files_div_h4_img_style': u'display:block;text-align:left;margin-right:auto;', + 'Recently_updated_files_div_h4_img_width': u'300', + 'Recently_updated_files_div_img_data_props': u'align:left;borderTitle:Recent List Items;displayColumns:7270057318238947,047969470090741595,1591085761210842,20609850256126205;num:5;showBorder:true;showBorderTitle:true;sortedBy:time;sortedByAsc:true;sortedByAsc1:true;sortedByAsc2:true;sortedByDesc:false;sortedByDesc1:false;sortedByDesc2:false;srcPage:351b7d43441f6874;', + 'Recently_updated_files_div_img_data_type': u'recent-list-items', + 'Recently_updated_files_div_img_height': u'300', + 'Recently_updated_files_div_img_src': u"http://www.google.com/chart?chc=sites&cht=d&chdp=sites&chl=%5B%5BRecent+list+items'%3D20'f%5Cv'a%5C%3D0'10'%3D399'0'dim'%5Cbox1'b%5CF6F6F6'fC%5CF6F6F6'eC%5C0'sk'%5C%5B%22Recent+List+Items%22'%5D'a%5CV%5C%3D12'f%5C%5DV%5Cta%5C%3D10'%3D0'%3D400'%3D297'dim'%5C%3D10'%3D10'%3D400'%3D297'vdim'%5Cbox1'b%5Cva%5CF6F6F6'fC%5CC8C8C8'eC%5C'a%5C%5Do%5CLauto'f%5C&sig=ZUUPefebsDJwKf0joQgJhq5gIO0", + 'Recently_updated_files_div_img_style': u'display:block;text-align:left;margin-right:auto;', + 'Recently_updated_files_div_img_width': u'400', + 'Recently_updated_files_div_span_style': u'font-size:1.6em;line-height:1.6;background-color:transparent'} + +_template10= ''' +'
\n
::T:: Lists items
\n
\n

Benefits

\n
  1. \n\n\n\n\n\n\n
    \xc2\xa0kkkk\xc2\xa0hello\xc2\xa0\xc2\xa0
    \xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0
    \xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0
    \xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0
    \xc2\xa0
  2. I am doing greate !!!\xc2\xa0
  3. Use seeting to write in th
Computer Vision:


::T:: HTML box


This is my NEW
























Uncanny Vision seminar 2014-07-24 FInal

Google Chart

00000.MTS

\xef\xbc\xa0\xef\xbd\x90\xef\xbd\x81\xef\xbd\x92\xef\xbd\x8b\xe8\xa5\xbf\xe8\x91\x9b\xe8\xa5\xbf\xe9\xa7\x90\xe8\xbb\x8a\xe5\xa0\xb4

\n

YouTube Video

' +''' + +template10= ''' +
+
+ +
+
+ + ::T:: Lists items + +
+
+ +
+
+
+

+ + +

+
+
+

+ Benefits +

+
+
+
+
    +
  1. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + kkkk + + + hello + + + + + + + +
    + + + +
    + + + +
    + + + +
    +
    +
    +
    + + +
  2. +
  3. + + + I am doing greate !!! + + +
  4. +
  5. + + + Use seeting to write in th + + +
  6. +
+
+ + + + + Computer Vision: + + + + +
+
    +
  1. +
    +
  2. +
+
+
+
+
+
+
+
+ + ::T:: HTML box + +
+
+
+
+
+
+ + + + + + This is my + + NEW + + + + +
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+ + +

+

+ + + +

+

+ + +

+

+ + + +

+

+ + +

+
+
+
+

+ Uncanny Vision seminar 2014-07-24 FInal +

+ +
+ +
+
+
+
+

+ + +

+
+
+
+

+ Google Chart +

+
+
+ +
+ +
+ +
+
+
+
+
+

+ + +

+
+
+
+

+ 00000.MTS +

+
+ +
+
+
+
+

+ + +

+
+
+
+

+ @park西葛西駐車場 +

+ +
+ +
+
+
+
+

+ + +

+
+
+
+
+

+ YouTube Video +

+
+ +
+
+
+
+
+
+
+''' + +Template10= ''' +
+
+ +
+
+ + ::T:: Lists items + +
+
+ +
+
+
+

+ + +

+
+
+

+ Benefits +

+
+
+
+
    +
  1. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + kkkk + + + hello + + + + + + + +
    + + + +
    + + + +
    + + + +
    +
    +
    +
    + + +
  2. +
  3. + + + I am doing greate !!! + + +
  4. +
  5. + + + Use seeting to write in th + + +
  6. +
+
+ + + + + Computer Vision: + + + + +
+
    +
  1. +
    +
  2. +
+
+
+
+
+
+
+
+ + ::T:: HTML box + +
+
+
+
+
+
+ + + + + + This is my + + NEW + + + + +
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+ + +

+

+ + + +

+

+ + +

+

+ + + +

+

+ + +

+
+
+
+

+ Uncanny Vision seminar 2014-07-24 FInal +

+
+ Uncanny Vision seminar 2014-07-24 FInal +
+
+ +
+
+
+
+

+ + +

+
+
+
+

+ Google Chart +

+
+
+ +
+ +
+ +
+
+
+
+
+

+ + +

+
+
+
+

+ 00000.MTS +

+
+ +
+
+
+
+

+ + +

+
+
+
+

+ @park西葛西駐車場 +

+
+ @park西葛西駐車場 +
+
+ +
+
+
+
+

+ + +

+
+
+
+
+

+ YouTube Video +

+
+ +
+
+
+
+
+
+
+''' + +# This Python file uses the following encoding: utf-8 +param11 = { } + +_template11= ''' +'' +''' + +template11= ''' + + +''' + +Template11= ''' + + +''' + +# This Python file uses the following encoding: utf-8 +param12 = { 'Table_of_contents_div_div_class': u'sites-embed-align-left-wrapping-off', + 'Table_of_contents_div_div_div_class': u'sites-embed-border-offsites-embed', + 'Table_of_contents_div_div_div_div_class': u'sites-embed-contentsites-embed-type-toc', + 'Table_of_contents_div_div_div_div_div_class': u'goog-tocsites-embed-toc-maxdepth-6', + 'Table_of_contents_div_div_div_div_div_ol_class': u'goog-toc', + 'Table_of_contents_div_div_div_div_div_ol_li_a_href': u'#TOC-::T::-You-Tube', + 'Table_of_contents_div_div_div_div_div_ol_li_class': u'goog-toc', + 'Table_of_contents_div_div_div_style': u'width:250px;', + 'Table_of_contents_h2_a_name': u'TOC-::T::-Subpage-listing', + 'Table_of_contents_img_data_props': u'align:left;borderTitle:Subpage Listing;displayAs:TOC;maxDepth:6;width:250;', + 'Table_of_contents_img_data_type': u'subpages', + 'Table_of_contents_img_height': u'300', + 'Table_of_contents_img_src': u"http://www.google.com/chart?chc=sites&cht=d&chdp=sites&chl=%5B%5BPage+listing'%3D20'f%5Cv'a%5C%3D0'10'%3D249'0'dim'%5Cbox1'b%5CF6F6F6'fC%5CF6F6F6'eC%5C0'sk'%5C%5B%22Subpage+Listing%22'%5D'a%5CV%5C%3D12'f%5C%5DV%5Cta%5C%3D10'%3D0'%3D250'%3D297'dim'%5C%3D10'%3D10'%3D250'%3D297'vdim'%5Cbox1'b%5Cva%5CF6F6F6'fC%5CC8C8C8'eC%5C'a%5C%5Do%5CLauto'f%5C&sig=4Bm9qaJUdSqYajg2_Fmi3qRL9R0", + 'Table_of_contents_img_style': u'display:block;text-align:left;margin-right:auto;', + 'Table_of_contents_img_width': u'250'} + +_template12= ''' +'' +''' + +template12= ''' +
+ +
+
+
+

+ + +

+ +
+''' + +Template12= ''' +
+ +
+
+
+

+ + +

+ +
+''' + +# This Python file uses the following encoding: utf-8 +param13 = { 'Text_item_div_class': u'sites-embed-border-onsites-embedsites-embed-full-width', + 'Text_item_div_div_class': u'sites-embed-contentsites-embed-type-text', + 'Text_item_div_div_div_class': u'sites-embed-content-textbox', + 'Text_item_div_div_div_div_dir': u'ltr', + 'Text_item_div_div_div_div_div_font_color': u'#ff0000', + 'Text_item_div_div_div_div_div_font_size': u'6', + 'Text_item_div_div_div_div_ol_li_b_i_font_color': u'#ff0000', + 'Text_item_div_div_div_div_ol_li_b_i_font_table_border': u'1', + 'Text_item_div_div_div_div_ol_li_b_i_font_table_bordercolor': u'#888', + 'Text_item_div_div_div_div_ol_li_b_i_font_table_cellspacing': u'0', + 'Text_item_div_div_div_div_ol_li_b_i_font_table_style': u'border-collapse:collapse;border-color:rgb(136,136,136);border-width:1px', + 'Text_item_div_div_div_div_ol_li_b_i_font_table_tbody_tr_td_span_style': u'background-color:rgb(255,0,0)', + 'Text_item_div_div_div_div_ol_li_b_i_font_table_tbody_tr_td_style': u'width:60px', + 'Text_item_div_div_div_div_ol_li_span_style': u'background-color:rgb(255,255,0)', + 'Text_item_div_div_div_div_ol_li_style': u'font-weight:bold', + 'Text_item_div_h4_class': u'sites-embed-title', + 'Text_item_div_style': u'width:100%;'} + +_template13= ''' +'

Benefits

\n
  1. \n\n\n\n\n\n\n
    \xc2\xa0kkkk\xc2\xa0hello\xc2\xa0\xc2\xa0
    \xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0
    \xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0
    \xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0
    \xc2\xa0
  2. I am doing greate !!!\xc2\xa0
  3. Use seeting to write in th
Computer Vision:


' +''' + +template13= ''' +
+
+

+ Benefits +

+
+
+
+
    +
  1. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + kkkk + + + hello + + + + + + + +
    + + + +
    + + + +
    + + + +
    +
    +
    +
    + + +
  2. +
  3. + + + I am doing greate !!! + + +
  4. +
  5. + + + Use seeting to write in th + + +
  6. +
+
+ + + + + Computer Vision: + + + + +
+
    +
  1. +
    +
  2. +
+
+
+
+
+
+''' + +Template13= ''' +
+
+

+ Benefits +

+
+
+
+
    +
  1. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + kkkk + + + hello + + + + + + + +
    + + + +
    + + + +
    + + + +
    +
    +
    +
    + + +
  2. +
  3. + + + I am doing greate !!! + + +
  4. +
  5. + + + Use seeting to write in th + + +
  6. +
+
+ + + + + Computer Vision: + + + + +
+
    +
  1. +
    +
  2. +
+
+
+
+
+
+''' + +# This Python file uses the following encoding: utf-8 +param14 = { 'Twitter_follow_a_name': u'TOC-2', + 'Twitter_follow_img_class': u'igm', + 'Twitter_follow_img_data_igsrc': u'http://171.gmodules.com/ig/ifr?mid=171&synd=trogedit&url=http%3A%2F%2Fhosting.gmodules.com%2Fig%2Fgadgets%2Ffile%2F110509162544058635853%2Fsteegle-google-sites-twitter-follow-button.xml&up_screenname=prvn&up_dataShowCount=true&up_dataButton=blue&up_dataTextColor=&up_dataLinkColor=&up_dataLang=en&h=20&w=300', + 'Twitter_follow_img_data_props': u'align:left;borderTitle:Steegle.com - Google Sites Twitter Follow Button;height:20;igsrc:http#58//171.gmodules.com/ig/ifr?mid=171&synd=trogedit&url=http%3A%2F%2Fhosting.gmodules.com%2Fig%2Fgadgets%2Ffile%2F110509162544058635853%2Fsteegle-google-sites-twitter-follow-button.xml&up_screenname=prvn&up_dataShowCount=true&up_dataButton=blue&up_dataTextColor=&up_dataLinkColor=&up_dataLang=en&h=20&w=300;mid:171;scrolling:no;showBorder:true;showBorderTitle:true;spec:http#58//hosting.gmodules.com/ig/gadgets/file/110509162544058635853/steegle-google-sites-twitter-follow-button.xml;up_dataButton:blue;up_dataLang:en;up_dataLinkColor:;up_dataShowCount:true;up_dataTextColor:;up_screenname:prvn;width:300;', + 'Twitter_follow_img_data_type': u'ggs-gadget', + 'Twitter_follow_img_height': u'20', + 'Twitter_follow_img_src': u"http://www.google.com/chart?chc=sites&cht=d&chdp=sites&chl=%5B%5BGoogle+Gadget'%3D20'f%5Cv'a%5C%3D0'10'%3D299'0'dim'%5Cbox1'b%5CF6F6F6'fC%5CF6F6F6'eC%5C0'sk'%5C%5B%22Steegle.com+-+Google+Sites+Twitter+Follow+Button%22'%5D'a%5CV%5C%3D12'f%5C%5DV%5Cta%5C%3D10'%3D0'%3D300'%3D17'dim'%5C%3D10'%3D10'%3D300'%3D17'vdim'%5Cbox1'b%5Cva%5CF6F6F6'fC%5CC8C8C8'eC%5C'a%5C%5Do%5CLauto'f%5C&sig=QcD9HQzuxnEABODtEDR_jh-8Ehg", + 'Twitter_follow_img_style': u'display:block;text-align:left;margin-right:auto;', + 'Twitter_follow_img_width': u'300'} + +_template14= ''' +'

' +''' + +template14= ''' +

+ + + +

+''' + +Template14= ''' +

+ + + +

+''' + +# This Python file uses the following encoding: utf-8 +param15 = { 'You_Tube_div_div_class': u'sites-embed-align-left-wrapping-off', + 'You_Tube_div_div_div_class': u'sites-embed-border-onsites-embed', + 'You_Tube_div_div_div_div_class': u'sites-embed-contentsites-embed-type-youtube', + 'You_Tube_div_div_div_div_iframe_allowfullscreen': u'true', + 'You_Tube_div_div_div_div_iframe_class': u'youtube-player', + 'You_Tube_div_div_div_div_iframe_frameborder': u'0', + 'You_Tube_div_div_div_div_iframe_height': u'270', + 'You_Tube_div_div_div_div_iframe_src': u'//www.youtube.com/embed/9bZkp7q19f0?rel=0&wmode=opaque', + 'You_Tube_div_div_div_div_iframe_title': u'YouTube video player', + 'You_Tube_div_div_div_div_iframe_type': u'text/html', + 'You_Tube_div_div_div_div_iframe_width': u'480', + 'You_Tube_div_div_div_h4_class': u'sites-embed-title', + 'You_Tube_div_div_div_style': u'width:480px;'} + +_template15= ''' +'
\n

YouTube Video

' +''' + +template15= ''' +
+
+
+
+

+ YouTube Video +

+
+ +
+
+
+
+
+''' + +Template15= ''' +
+
+
+
+

+ YouTube Video +

+
+ +
+
+
+
+
+''' + diff --git a/samples/sites_api/installPackages.py b/samples/sites_api/installPackages.py new file mode 100644 index 00000000000..7f74687413e --- /dev/null +++ b/samples/sites_api/installPackages.py @@ -0,0 +1,5 @@ +import pip + +xx = sorted(["%s==%s" % (i.key, i.version) for i in pip.get_installed_distributions()]) + +print xx \ No newline at end of file diff --git a/samples/sites_api/plus.dat b/samples/sites_api/plus.dat new file mode 100644 index 00000000000..71658432dd0 --- /dev/null +++ b/samples/sites_api/plus.dat @@ -0,0 +1 @@ +{"_module": "oauth2client.client", "scopes": ["https://sites.google.com/feeds/"], "token_expiry": "2016-04-04T11:09:11Z", "id_token": null, "access_token": "ya29..ugImk65KdZ29gI7OB4iqhBicXOuMWCCu8EOBk4tkl7ksi0qiBbYn3KbSC8OapQj74A", "token_uri": "https://accounts.google.com/o/oauth2/token", "invalid": false, "token_response": {"access_token": "ya29..ugImk65KdZ29gI7OB4iqhBicXOuMWCCu8EOBk4tkl7ksi0qiBbYn3KbSC8OapQj74A", "token_type": "Bearer", "expires_in": 3600, "refresh_token": "1/vREQRrTCn_9GgzT9Bx5DKD6nsE549CNTfozdNC9I0NYMEudVrK5jSpoR30zcRFq6"}, "client_id": "107361144193-daphid996reudj3una7d52q8dov9u1s6.apps.googleusercontent.com", "token_info_uri": "https://www.googleapis.com/oauth2/v3/tokeninfo", "client_secret": "QJqfjEPNnMRIAHMwjtJMc-2_", "revoke_uri": "https://accounts.google.com/o/oauth2/revoke", "_class": "OAuth2Credentials", "refresh_token": "1/vREQRrTCn_9GgzT9Bx5DKD6nsE549CNTfozdNC9I0NYMEudVrK5jSpoR30zcRFq6", "user_agent": null} \ No newline at end of file diff --git a/samples/sites_api/siteTemplates.json b/samples/sites_api/siteTemplates.json new file mode 100644 index 00000000000..32ffc695e6c --- /dev/null +++ b/samples/sites_api/siteTemplates.json @@ -0,0 +1 @@ +{"TOC-::T::-Image-file": "", "TOC-::T::-Google-Drive-video": "00000.MTS
", "TOC-::T::-Twitter-follow": "", "TOC-Recent-Announcements": "", "TOC-An-Image": "isplay:block;text-align:left\">", "TOC-::T::-Image-web-url": "\n", "TOC-::T::-Horizontal-line": "\n\n", "TOC-Recently-updated-files": "\n::T:: Lists items", "TOC-::T::-Google-map": "@park西葛西駐車場@park西葛西駐車場", "TOC-::T::-Google-Calendar": "", "TOC-::T::-Google-presentation": "Uncanny Vision seminar 2014-07-24 FInalUncanny Vision seminar 2014-07-24 FInal::T:: Google chart\nGoogle Chartdocument.getElementById('form1878110280').submit();", "TOC-::T::-Text-item": "Benefits\n\n\n\n\n kkkk hello  \n    \n    \n     I am doing greate !!! Use seeting to write in thComputer Vision:::T:: HTML boxThis is my NEWsites.caja.run(null, \"{___.loadModule({\\'instantiate\\':function(___,IMPORTS___){return},\\'cajolerName\\':\\'com.google.caja\\',\\'cajolerVersion\\':\\'v6007-es53-5-gdf6d231\\',\\'cajoledDate\\':1462016574362})}\", \"__cajaGadgetContainer__0\", false);", "TOC-::T::-Recent-posts": "", "TOC-::T::-Table-of-contents": "\nContents1 2 3 4 5 6 7 8 9 10 10.1 11 12 13 14 15 16 ", "TOC-::T::-Link-sites-page": "yyyy", "TOC-::T::-Subpage-listing": ""} \ No newline at end of file diff --git a/samples/sites_api/temp.py b/samples/sites_api/temp.py new file mode 100644 index 00000000000..415cf35afee --- /dev/null +++ b/samples/sites_api/temp.py @@ -0,0 +1,9 @@ +
+ + + + + +
+
+
\ No newline at end of file